Problem summary The Scene Explorer tab does not update the SceneGraph location with a removal status when using an OpScript in deferred mode to prune the location while implicit resolvers active.
Customer reported version Katana.8.0v5
Customer reported platform alma9
Steps to reproduce
Create a primitive cube.
Create an AttributeSet under the cube, then set the path to the cube and give it the following attributeName "dl:visibility.camera" and change its type to integer.
Create the following OpScript :
local attr = Interface.GetGlobalAttr("dl:visibility.camera") if Interface.GetOpArg("user.pruneCamVisOffObjects"):getValue() ~= 0 then if attr then local val = attr:getValue() if val == 0 then Interface.DeleteSelf() end end end
Make the path of the OpScript point to the cube and change the execution mode to deferred
Activate Implicit resolvers in the SceneGrap
Expected behaviour When implicit resolvers are active, we should see the "deleted" status displayed in the Scene Explorer with deferred OpScript.
Actual behaviour Currently, it seems like the location does get deleted because if you select it in Scene Explorer and go to the attributes tab, it's completely empty. However the Scene Explorer itself still shows the location. If you also open a Scene Graph at the same time, you can indeed see the location was removed there.
Workaround Unknown.
Reproduced by support This bug has been reproduced in: Katana 8.0v5 - Windows 11, Rocky 9 Katana 7.5v5 - Windows 11, Rocky 9 Katana 7.0v8 - Windows 11, Rocky 9 Katana 6.5v8 - Windows 11, Rocky 9
Unable to reproduce bug in: Katana 6.0v6 - CentOs 7, Windows 11
Earliest version tested Katana 6.0v6 - CentOs 7, Windows 11 - This feature did not exist before this version