mirror of
https://github.com/cocos/cocos4.git
synced 2026-11-21 08:02:39 +08:00
fix native spine slot bug (#8859)
This commit is contained in:
@@ -589,7 +589,7 @@ const cacheManager = require('./jsb-cache-manager');
|
||||
let paramsBuffer = this._paramsBuffer;
|
||||
if (!paramsBuffer) return;
|
||||
|
||||
if (force || node.hasChangedFlags) {
|
||||
if (force || node.hasChangedFlags || node._dirtyFlags) {
|
||||
// sync node world matrix to native
|
||||
node.updateWorldTransform();
|
||||
let worldMat = node._mat;
|
||||
|
||||
@@ -413,7 +413,7 @@ const cacheManager = require('./jsb-cache-manager');
|
||||
let paramsBuffer = this._paramsBuffer;
|
||||
if (!paramsBuffer) return;
|
||||
|
||||
if (force || node.hasChangedFlags) {
|
||||
if (force || node.hasChangedFlags || node._dirtyFlags) {
|
||||
// sync node world matrix to native
|
||||
node.updateWorldTransform();
|
||||
let worldMat = node._mat;
|
||||
|
||||
Reference in New Issue
Block a user