Bookmarks : Ignore bookmarks from read-only boxes in general#4320
Bookmarks : Ignore bookmarks from read-only boxes in general#4320johnhaddon merged 3 commits intoGafferHQ:0.60_maintenancefrom
Conversation
d1f22c5 to
dceeb6d
Compare
dceeb6d to
d6a023c
Compare
|
Thanks Ivan! There was a conflict in the Changes.md file, so I've pushed a fix for that, and also taken the liberty of moving a couple of things into anonymous namespaces in the |
Well, this is a mess I hadn't anticipated. It turns out that making a static metadata registration can cause havoc with
I'm not sure where to go from here. It's definitely possible to improve this situation in RunTimeTyped, because we know that if we don't reach RunTimeTyped when compiling baseTypeIds, that it's incomplete. But you might prefer not to wait for a Cortex patch, in which case the simplest short term fix is probably to move the metadata registration into |
This is more generic than specifically checking for References.
Otherwise the flag is not properly set if we don't load GafferUI.
If the file is exported with childNodesAreReadOnly metadata set to True, we need to reset it to the proper value when loading it as a Reference.
d6a023c to
7d226af
Compare
|
Updated with the |
This PR changes the bookmark setting code so that bookmarks are ignored not only if they are inside a
Reference, but also if they are inside a read-only box (like theDynamicBoxesused at IE).