Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_ui.c
| Context not available. | |||||
| RNA_def_property_flag(prop, PROP_REGISTER_OPTIONAL); | RNA_def_property_flag(prop, PROP_REGISTER_OPTIONAL); | ||||
| RNA_define_verify_sdna(TRUE); | RNA_define_verify_sdna(TRUE); | ||||
| prop = RNA_def_property(srna, "bl_category", PROP_STRING, PROP_NONE); | |||||
| RNA_def_property_string_sdna(prop, NULL, "type->category"); | |||||
| RNA_def_property_string_default(prop, BLF_I18NCONTEXT_DEFAULT_BPYRNA); | |||||
| RNA_def_property_flag(prop, PROP_REGISTER_OPTIONAL); | |||||
| RNA_define_verify_sdna(TRUE); | |||||
campbellbarton: this line should be removed. | |||||
| prop = RNA_def_property(srna, "bl_space_type", PROP_ENUM, PROP_NONE); | prop = RNA_def_property(srna, "bl_space_type", PROP_ENUM, PROP_NONE); | ||||
| RNA_def_property_enum_sdna(prop, NULL, "type->space_type"); | RNA_def_property_enum_sdna(prop, NULL, "type->space_type"); | ||||
| RNA_def_property_enum_items(prop, space_type_items); | RNA_def_property_enum_items(prop, space_type_items); | ||||
| Context not available. | |||||
Not Done Inline ActionsDid you intend to fix these XXX's still? brecht: Did you intend to fix these XXX's still? | |||||
Not Done Inline ActionsThis one is harmless but overkill, I dont see a simple way to fix as long as RNA is used, I guess we could search for this panel in all the screens areas, but its overkill. I moved PNL_PIN to DNA so the flag didnt need to be redefined. campbellbarton: This one is harmless but overkill, I dont see a simple way to fix as long as RNA is used, I… | |||||
this line should be removed.