diff options
Diffstat (limited to 'source/game/scripting/StarLuaAnimationComponent.hpp')
-rw-r--r-- | source/game/scripting/StarLuaAnimationComponent.hpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/source/game/scripting/StarLuaAnimationComponent.hpp b/source/game/scripting/StarLuaAnimationComponent.hpp index 1ad99a4..0cbd280 100644 --- a/source/game/scripting/StarLuaAnimationComponent.hpp +++ b/source/game/scripting/StarLuaAnimationComponent.hpp @@ -66,6 +66,9 @@ LuaAnimationComponent<Base>::LuaAnimationComponent() { if (renderLayerName) renderLayer = parseRenderLayer(*renderLayerName); + if (auto image = drawable.part.ptr<Drawable::ImagePart>()) + image->transformation.scale(0.125f); + m_drawables.append({move(drawable), renderLayer}); }); animationCallbacks.registerCallback("clearLightSources", [this]() { |