Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_main_api.c
| Context not available. | |||||
| func = RNA_def_function(srna, "new_from_object", "rna_Main_meshes_new_from_object"); | func = RNA_def_function(srna, "new_from_object", "rna_Main_meshes_new_from_object"); | ||||
| RNA_def_function_ui_description(func, "Add a new mesh created from object with modifiers applied"); | RNA_def_function_ui_description(func, "Add a new mesh created from object with modifiers applied"); | ||||
| RNA_def_function_flag(func, FUNC_USE_REPORTS); | RNA_def_function_flag(func, FUNC_USE_REPORTS); | ||||
| parm = RNA_def_pointer(func, "depsgraph", "Depsgraph", "Dependency Graph", "Evaluated dependency graph within wich to evaluate modifiers"); | parm = RNA_def_pointer(func, "depsgraph", "Depsgraph", "Dependency Graph", "Evaluated dependency graph within which to evaluate modifiers"); | ||||
| RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED); | RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED); | ||||
| parm = RNA_def_pointer(func, "object", "Object", "", "Object to create mesh from"); | parm = RNA_def_pointer(func, "object", "Object", "", "Object to create mesh from"); | ||||
| RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED); | RNA_def_parameter_flags(parm, PROP_NEVER_NULL, PARM_REQUIRED); | ||||
| Context not available. | |||||