File tree Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Expand file tree Collapse file tree 1 file changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -230,6 +230,10 @@ cc.Node.RenderCmd.prototype = {
230230 }
231231 }
232232
233+ if ( node . _additionalTransformDirty ) {
234+ cc . affineTransformConcatIn ( t , node . _additionalTransform ) ;
235+ }
236+
233237 if ( pt ) {
234238 // cc.AffineTransformConcat is incorrect at get world transform
235239 wt . a = t . a * pt . a + t . b * pt . c ; //a
@@ -265,6 +269,10 @@ cc.Node.RenderCmd.prototype = {
265269 }
266270 }
267271
272+ if ( node . _additionalTransformDirty ) {
273+ cc . affineTransformConcatIn ( t , node . _additionalTransform ) ;
274+ }
275+
268276 if ( pt ) {
269277 wt . a = t . a * pt . a + t . b * pt . c ;
270278 wt . b = t . a * pt . b + t . b * pt . d ;
@@ -282,10 +290,6 @@ cc.Node.RenderCmd.prototype = {
282290 }
283291 }
284292
285- if ( node . _additionalTransformDirty ) {
286- cc . affineTransformConcatIn ( t , node . _additionalTransform ) ;
287- }
288-
289293 if ( this . _updateCurrentRegions ) {
290294 this . _updateCurrentRegions ( ) ;
291295 this . _notifyRegionStatus && this . _notifyRegionStatus ( cc . Node . CanvasRenderCmd . RegionStatus . DirtyDouble ) ;
You can’t perform that action at this time.
0 commit comments