1
1
mirror of https://github.com/exyte/Macaw.git synced 2024-09-11 13:15:35 +03:00

Animation transform order fix

This commit is contained in:
Victor Sukochev 2016-09-08 16:26:54 +06:00
parent f9995a4266
commit 3cb8b0a4d5

View File

@ -10,7 +10,7 @@ class AnimationUtils {
var transform = pos
var parent = nodesMap.parents(node).first
while parent != .None {
transform = GeomUtils.concat(t1: transform, t2: parent!.place)
transform = GeomUtils.concat(t1: parent!.place, t2: transform)
parent = nodesMap.parents(parent!).first
}