|
@@ -88,7 +88,7 @@ class Mesh(FCurveAnimatable):
|
|
|
self.scaling = Vector((1, 1, 1))
|
|
|
|
|
|
# ensure no unapplied rotation or scale, when there is an armature
|
|
|
- self.hasUnappliedTransforms = (scale.x != 1 or scale.y != 1 or scale.z != 1 or
|
|
|
+ self.hasUnappliedTransforms = (self.scaling.x != 1 or self.scaling.y != 1 or self.scaling.z != 1 or
|
|
|
(hasattr(self, 'rotation' ) and (self.rotation .x != 0 or self.rotation .y != 0 or self.rotation .z != 0)) or
|
|
|
(hasattr(self, 'rotationQuaternion') and (self.rotationQuaternion.x != 0 or self.rotationQuaternion.y != 0 or self.rotationQuaternion.z != 0 or self.rotationQuaternion.w != 1))
|
|
|
)
|