Update StarHumanoid.cpp
i am rather sleepy today
This commit is contained in:
parent
8cbb262c24
commit
80109a8181
@ -1387,7 +1387,7 @@ pair<Vec2F, Directives> Humanoid::extractScaleFromDirectives(Directives const& d
|
|||||||
if (!directives)
|
if (!directives)
|
||||||
return make_pair(Vec2F::filled(1.f), Directives());
|
return make_pair(Vec2F::filled(1.f), Directives());
|
||||||
|
|
||||||
List<Directives::Entry*> entries;
|
List<Directives::Entry const*> entries;
|
||||||
size_t toReserve = 0;
|
size_t toReserve = 0;
|
||||||
Maybe<Vec2F> scale;
|
Maybe<Vec2F> scale;
|
||||||
|
|
||||||
@ -1400,7 +1400,7 @@ pair<Vec2F, Directives> Humanoid::extractScaleFromDirectives(Directives const& d
|
|||||||
if (op)
|
if (op)
|
||||||
scale = scale.value(Vec2F::filled(1.f)).piecewiseMultiply(op->scale);
|
scale = scale.value(Vec2F::filled(1.f)).piecewiseMultiply(op->scale);
|
||||||
else {
|
else {
|
||||||
entries.emplace_back(entry);
|
entries.emplace_back(&entry);
|
||||||
toReserve += string.utf8Size() + 1;
|
toReserve += string.utf8Size() + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user