Fix T78718: Crash when deleting particle system modifier with the X Shortcut.
Again those backward pointers not properly flagged in RNA, hence generating infinite loops.
This commit is contained in:
parent
f4a39cafa1
commit
e4926c167b
Notes:
blender-bot
2023-02-14 02:13:08 +01:00
Referenced by issue #78718, Crash when deleting particle system modifier with the X Shortcut Referenced by issue #78589, Library Override crashes: saving a scene / editing the override / switching scenes
|
@ -8361,6 +8361,8 @@ static void rna_def_node_socket(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_funcs(prop, "rna_NodeSocket_node_get", NULL, NULL, NULL);
|
||||
RNA_def_property_struct_type(prop, "Node");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_flag(prop, PROP_PTR_NO_OWNERSHIP);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_ui_text(prop, "Node", "Node owning this socket");
|
||||
|
||||
/* NB: the type property is used by standard sockets.
|
||||
|
|
Loading…
Reference in New Issue