State:Closed|icon_bug|icon_katana|database:public|Resolution:Fixed|BugID:393301|TargetRelease:3.1v5|
Problem summary:
Loading a scene is taking longer in 3.1 than in 3.0. Reverting (File->Revert) a project takes even longer.
Adding a "disable" parameter to a node, synchronizing the value of this parameter with the node's bypass state. Loading a scene containing a few of these parameters on its nodes slows down the scene loading and reverting compared to 3.0
Steps to reproduce:
- Launch Katana 3.0
- Create a bunch of nodes with a "disable" parameter set to 1
- Save the Scene
- Change the scene somehow
- Revert - time how long it takes
- Repeat the same in 3.1 - it will be slower
An example script to create the test scene:
def createNodes(N): groupNode = NodegraphAPI.CreateNode('Group', NodegraphAPI.GetRootNode()) for i in range(N): newNode = NodegraphAPI.CreateNode('AttributeSet', groupNode) newNode.getParameters().createChildNumber('disable', 1)createNodes(5000) Expected behaviour:
Smooth opening of the scene
Actual behaviour:
The time will grow exponentially with the number of nodes. This becomes very noticeable when a few thousands of nodes (like, 5000) are used.
Workaround:
No known workaround.
Tested versions/platforms:
Customer version/platform:
Not supplied
We're sorry to hear that
Please tell us why