forked from bartvdbraak/blender
fix [#27659] Segfault when adding None to a group
This commit is contained in:
parent
214f4e8c03
commit
ce914e51ab
@ -347,7 +347,7 @@ Utility functions
|
||||
|
||||
Gets the estimated/average framerate for all the active scenes, not only the current scene.
|
||||
|
||||
:return: The estimed average framerate in frames per second
|
||||
:return: The estimated average framerate in frames per second
|
||||
:rtype: float
|
||||
|
||||
.. function:: getBlendFileList(path = "//")
|
||||
|
@ -95,7 +95,7 @@ static void rna_def_group_objects(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_function_ui_description(func, "Add this object to a group");
|
||||
/* object to add */
|
||||
parm= RNA_def_pointer(func, "object", "Object", "", "Object to add.");
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED);
|
||||
RNA_def_property_flag(parm, PROP_REQUIRED|PROP_NEVER_NULL);
|
||||
|
||||
/* remove object */
|
||||
func= RNA_def_function(srna, "unlink", "rna_Group_objects_unlink");
|
||||
|
Loading…
Reference in New Issue
Block a user