Skip to content

Commit a957c89

Browse files
committed
revert: fix element attribute update exception #1968
1 parent ffe2611 commit a957c89

1 file changed

Lines changed: 1 addition & 7 deletions

File tree

packages/g-lite/src/services/SceneGraphService.ts

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -938,13 +938,7 @@ export class DefaultSceneGraphService implements SceneGraphService {
938938
element.ownerDocument?.defaultView?.getConfig()?.future
939939
?.experimentalAttributeUpdateOptimization === true;
940940

941-
while (
942-
p &&
943-
!(
944-
(p as Element).renderable?.dirty &&
945-
(p as Element).renderable?.boundsDirty
946-
)
947-
) {
941+
while (p) {
948942
(p as Element).dirty?.(true, true);
949943

950944
if (enableAttributeUpdateOptimization) {

0 commit comments

Comments
 (0)