State:New|TargetRelease:No Target|icon_bug|database:public|icon_mari|Resolution:Fixed|BugID:349496|
Problem summary
Custom Metadata fields are hidden in the UI once a project is reopened after using the Force Update Shaders action
Customer reported version
n/a
Customer reported platform
n/a
Steps to reproduce
1) Open Example Head
2) Run the following script in the Python Console which triggers the creation of a new node with custom metadata
my_layer = mari.current.geo().currentChannel().createPaintableLayer("my_layer")
my_layer.layerNode().setMetadata("my_metadata", "hello")
my_layer.setMetadataFlags("my_metadata", my_layer.METADATA_VISIBLE | my_layer.METADATA_SAVED)
3) You should see that a new Layer exists as a merge node in the NodeGraph called 'my_layer'act=mari.actions.find("/Mari/Layers/Shaders/Force Update Shaders")
act.trigger()
print my_layer.hasMetadata("my_metadata")
6) Note that the custom metadata still exists in the Node Properties UIWe're sorry to hear that
Please tell us why