Changeset View
Changeset View
Standalone View
Standalone View
source/blender/editors/object/object_add.c
| Context not available. | |||||
| prop = RNA_def_boolean_layer_member(ot->srna, "layers", 20, NULL, "Layer", ""); | prop = RNA_def_boolean_layer_member(ot->srna, "layers", 20, NULL, "Layer", ""); | ||||
| RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | RNA_def_property_flag(prop, PROP_HIDDEN | PROP_SKIP_SAVE); | ||||
| prop = RNA_def_boolean(ot->srna, "calc_uvs", false, "Calculate UVs", ""); | |||||
campbellbarton: This could be optional, but instead, could probably add `ED_object_add_mesh_props` since this… | |||||
| RNA_def_property_flag(prop, PROP_SKIP_SAVE); | |||||
| } | } | ||||
Not Done Inline ActionsWhy Skip-Save? seems this is useful to remember. campbellbarton: Why Skip-Save? seems this is useful to remember. | |||||
| bool ED_object_add_generic_get_opts(bContext *C, wmOperator *op, const char view_align_axis, | bool ED_object_add_generic_get_opts(bContext *C, wmOperator *op, const char view_align_axis, | ||||
| Context not available. | |||||
This could be optional, but instead, could probably add ED_object_add_mesh_props since this only applies to meshes.