State:Closed|icon_bug|database:public|icon_mari|Resolution:Fixed|TargetRelease:4.6v4|BugID:437261|
Problem summary
The nodeCreated() signal is invoked for all nodes in the project every time.
Customer reported version
mari.4.6v3
Customer reported platform
Steps to reproduce
1) In Mari, open a project.
2) Open the Python console and run the following command:
def testSignal(node): print node.name() geo = mari.current.geo() graph = geo.nodeGraph()mari.utils.connect(mari.nodes.nodeCreated,testSignal) 3) Execute various import commands such as:
Expected behavior
Mari should only invoke the nodeCreated() signal for any new node in the project.
Actual behavior
Mari invokes the nodeCreated() signal for all nodes in the project, causing performance issues.
Workaround
There is no available workaround at this time.
Reproduced by Support in
Mari 4.6v3 - Windows 10
Mari 4.6v1 - Windows 10
Mari 4.5v1 - Windows 10
Mari 4.0v1 - Windows 10
Mari 3.0v1 - Windows 10
Earliest version tested
Mari 3.0v1 - The Node Graph feature did not exist before this version
We're sorry to hear that
Please tell us why