Liboverride: Add more missing ID RNA pointers as overridable.
This commit is contained in:
parent
207f2137dd
commit
14c4a217eb
|
@ -1450,6 +1450,7 @@ static void rna_def_ID(BlenderRNA *brna)
|
|||
"Actual data-block from .blend file (Main database) that generated that evaluated one");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_ID_original_get", NULL, NULL, NULL);
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE | PROP_PTR_NO_OWNERSHIP);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
|
||||
prop = RNA_def_property(srna, "users", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_int_sdna(prop, NULL, "us");
|
||||
|
@ -1478,6 +1479,7 @@ static void rna_def_ID(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "library", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "lib");
|
||||
RNA_def_property_clear_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_ui_text(prop, "Library", "Library file the data-block is linked from");
|
||||
|
||||
prop = RNA_def_pointer(
|
||||
|
@ -1602,6 +1604,7 @@ static void rna_def_library(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "parent", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "Library");
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_ui_text(prop, "Parent", "");
|
||||
|
||||
prop = RNA_def_property(srna, "packed_file", PROP_POINTER, PROP_NONE);
|
||||
|
|
|
@ -203,12 +203,14 @@ static void rna_def_camera_background_image(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "ima");
|
||||
RNA_def_property_ui_text(prop, "Image", "Image displayed and edited in this space");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "clip", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "clip");
|
||||
RNA_def_property_ui_text(prop, "MovieClip", "Movie clip displayed and edited in this space");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, NC_SPACE | ND_SPACE_VIEW3D, NULL);
|
||||
|
||||
prop = RNA_def_property(srna, "image_user", PROP_POINTER, PROP_NONE);
|
||||
|
@ -428,6 +430,7 @@ static void rna_def_camera_dof_settings_data(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "focus_object");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Focus Object", "Use this object to define the depth of field focal point");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Camera_dependency_update");
|
||||
|
|
|
@ -891,6 +891,7 @@ static void rna_def_cloth_collision_settings(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "collection", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "group");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Collision Collection", "Limit colliders to this Collection");
|
||||
RNA_def_property_update(prop, 0, "rna_cloth_dependency_update");
|
||||
|
||||
|
|
|
@ -1229,6 +1229,7 @@ static void rna_def_font(BlenderRNA *UNUSED(brna), StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "textoncurve");
|
||||
RNA_def_property_pointer_funcs(prop, NULL, NULL, NULL, "rna_Curve_otherObject_poll");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Text on Curve", "Curve deforming text object");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_deps");
|
||||
|
||||
|
@ -1236,24 +1237,28 @@ static void rna_def_font(BlenderRNA *UNUSED(brna), StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "vfont");
|
||||
RNA_def_property_ui_text(prop, "Font", "");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop = RNA_def_property(srna, "font_bold", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "vfontb");
|
||||
RNA_def_property_ui_text(prop, "Font Bold", "");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop = RNA_def_property(srna, "font_italic", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "vfonti");
|
||||
RNA_def_property_ui_text(prop, "Font Italic", "");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop = RNA_def_property(srna, "font_bold_italic", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "vfontbi");
|
||||
RNA_def_property_ui_text(prop, "Font Bold Italic", "");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_data");
|
||||
|
||||
prop = RNA_def_property(srna, "edit_format", PROP_POINTER, PROP_NONE);
|
||||
|
@ -1646,6 +1651,7 @@ static void rna_def_curve(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "bevobj");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Bevel Object", "Curve object name that defines the bevel shape");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_deps");
|
||||
RNA_def_property_pointer_funcs(prop,
|
||||
|
@ -1658,6 +1664,7 @@ static void rna_def_curve(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "taperobj");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Taper Object", "Curve object name that defines the taper (width)");
|
||||
RNA_def_property_update(prop, 0, "rna_Curve_update_deps");
|
||||
|
|
|
@ -1175,6 +1175,7 @@ static void rna_def_modifier_gpencilinstance(BlenderRNA *brna)
|
|||
"Use the location and rotation of another object to determine the distance and "
|
||||
"rotational change between arrayed items");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_SELF_CHECK);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_GpencilModifier_dependency_update");
|
||||
|
||||
prop = RNA_def_property(srna, "offset", PROP_FLOAT, PROP_TRANSLATION);
|
||||
|
|
|
@ -1034,6 +1034,7 @@ static void rna_def_key(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "user", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_NEVER_NULL);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "from");
|
||||
RNA_def_property_ui_text(prop, "User", "Data-block using these shape keys");
|
||||
|
||||
|
|
|
@ -212,6 +212,7 @@ static void rna_def_lightprobe(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Collection");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "visibility_grp");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Visibility Collection", "Restrict objects visible for this probe");
|
||||
RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING, "rna_LightProbe_recalc");
|
||||
|
|
|
@ -661,6 +661,7 @@ static void rna_def_material_greasepencil(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "sima");
|
||||
RNA_def_property_pointer_funcs(prop, NULL, "rna_GpencilColorData_stroke_image_set", NULL, NULL);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Image", "");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_SHADING, "rna_MaterialGpencil_update");
|
||||
|
||||
|
@ -683,6 +684,7 @@ static void rna_def_material_greasepencil(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "ima");
|
||||
RNA_def_property_pointer_funcs(prop, NULL, "rna_GpencilColorData_fill_image_set", NULL, NULL);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Image", "");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_SHADING, "rna_MaterialGpencil_update");
|
||||
|
||||
|
|
|
@ -3054,6 +3054,7 @@ static void rna_def_mesh(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "texco_mesh", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "texcomesh");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Texture Space Mesh", "Derive texture coordinates from another mesh");
|
||||
|
||||
|
|
|
@ -1560,6 +1560,7 @@ static void rna_def_modifier_generic_map_info(StructRNA *srna)
|
|||
prop = RNA_def_property(srna, "texture", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Texture", "");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update");
|
||||
|
||||
prop = RNA_def_property(srna, "texture_coords", PROP_ENUM, PROP_NONE);
|
||||
|
@ -4276,6 +4277,7 @@ static void rna_def_modifier_uvwarp(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "object_src");
|
||||
RNA_def_property_ui_text(prop, "Object From", "Object defining offset");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update");
|
||||
|
||||
prop = RNA_def_property(srna, "bone_from", PROP_STRING, PROP_NONE);
|
||||
|
@ -4287,6 +4289,7 @@ static void rna_def_modifier_uvwarp(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "object_dst");
|
||||
RNA_def_property_ui_text(prop, "Object To", "Object defining offset");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update");
|
||||
|
||||
prop = RNA_def_property(srna, "bone_to", PROP_STRING, PROP_NONE);
|
||||
|
@ -4354,6 +4357,7 @@ static void rna_def_modifier_weightvg_mask(BlenderRNA *UNUSED(brna),
|
|||
prop = RNA_def_property(srna, "mask_texture", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_ui_text(prop, "Masking Tex", "Masking texture");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_update(prop, 0, "rna_Modifier_dependency_update");
|
||||
|
||||
prop = RNA_def_property(srna, "mask_tex_use_channel", PROP_ENUM, PROP_NONE);
|
||||
|
|
|
@ -3784,6 +3784,7 @@ static void def_group(StructRNA *srna)
|
|||
RNA_def_property_pointer_funcs(
|
||||
prop, NULL, "rna_NodeGroup_node_tree_set", NULL, "rna_NodeGroup_node_tree_poll");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Node Tree", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_NodeGroup_update");
|
||||
|
||||
|
@ -3958,6 +3959,7 @@ static void def_texture(StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "id");
|
||||
RNA_def_property_struct_type(prop, "Texture");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Texture", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
||||
|
@ -4156,6 +4158,7 @@ static void def_sh_tex_environment(StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "id");
|
||||
RNA_def_property_struct_type(prop, "Image");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Image", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_tex_image_update");
|
||||
|
||||
|
@ -4234,6 +4237,7 @@ static void def_sh_tex_image(StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "id");
|
||||
RNA_def_property_struct_type(prop, "Image");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Image", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_tex_image_update");
|
||||
|
||||
|
@ -4476,6 +4480,7 @@ static void def_sh_tex_coord(StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "id");
|
||||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Object", "Use coordinates from this object (for object texture coordinates output)");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update_relations");
|
||||
|
@ -4610,6 +4615,7 @@ static void def_sh_tex_pointdensity(StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "id");
|
||||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Object", "Object to take point data from");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
||||
|
@ -5463,6 +5469,7 @@ static void def_cmp_image(StructRNA *srna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "id");
|
||||
RNA_def_property_struct_type(prop, "Image");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Image", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Image_Node_update_id");
|
||||
|
||||
|
@ -5490,6 +5497,7 @@ static void def_cmp_render_layers(StructRNA *srna)
|
|||
RNA_def_property_pointer_funcs(prop, NULL, "rna_Node_scene_set", NULL, NULL);
|
||||
RNA_def_property_struct_type(prop, "Scene");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Scene", "");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_view_layer_update");
|
||||
|
||||
|
@ -6176,6 +6184,7 @@ static void def_cmp_defocus(StructRNA *srna)
|
|||
RNA_def_property_pointer_funcs(prop, NULL, "rna_Node_scene_set", NULL, NULL);
|
||||
RNA_def_property_struct_type(prop, "Scene");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Scene", "Scene from which to select the active camera (render scene if undefined)");
|
||||
RNA_def_property_update(prop, NC_NODE | NA_EDITED, "rna_Node_update");
|
||||
|
|
|
@ -2480,10 +2480,12 @@ static void rna_def_object(BlenderRNA *brna)
|
|||
|
||||
/* proxy */
|
||||
prop = RNA_def_property(srna, "proxy", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_ui_text(prop, "Proxy", "Library object this proxy object controls");
|
||||
|
||||
prop = RNA_def_property(srna, "proxy_collection", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "proxy_group");
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Proxy Collection", "Library collection duplicator object this proxy object controls");
|
||||
|
||||
|
@ -2954,6 +2956,7 @@ static void rna_def_object(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Collection");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "instance_collection");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_pointer_funcs(prop, NULL, "rna_Object_dup_collection_set", NULL, NULL);
|
||||
RNA_def_property_ui_text(prop, "Instance Collection", "Instance an existing collection");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_DRAW, "rna_Object_dependency_update");
|
||||
|
|
|
@ -2041,6 +2041,7 @@ static void rna_def_particle_settings_mtex(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "object");
|
||||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Object", "Object to use for mapping with Object texture coordinates");
|
||||
RNA_def_property_update(prop, 0, "rna_Particle_reset_dependency");
|
||||
|
@ -2986,6 +2987,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Collection");
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "collision_group");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Collision Collection", "Limit colliders to this collection");
|
||||
RNA_def_property_update(prop, 0, "rna_Particle_reset_dependency");
|
||||
|
||||
|
@ -3313,6 +3315,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "instance_collection");
|
||||
RNA_def_property_struct_type(prop, "Collection");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Dupli Collection", "Show Objects in this collection in place of particles");
|
||||
RNA_def_property_update(prop, 0, "rna_Particle_redo_count");
|
||||
|
@ -3338,6 +3341,7 @@ static void rna_def_particle_settings(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "instance_object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Instance Object", "Show this Object in place of particles");
|
||||
RNA_def_property_update(prop, 0, "rna_Particle_redo_dependency");
|
||||
|
||||
|
@ -3456,6 +3460,7 @@ static void rna_def_particle_target(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "ob");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop,
|
||||
"Target Object",
|
||||
|
@ -3570,6 +3575,7 @@ static void rna_def_particle_system(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "reactor_target_object", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "target_ob");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop,
|
||||
"Reactor Target Object",
|
||||
"For reactor systems, the object that has the target particle system "
|
||||
|
@ -3822,6 +3828,7 @@ static void rna_def_particle_system(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "parent", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "parent");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Parent", "Use this object's coordinate system instead of global coordinate system");
|
||||
RNA_def_property_update(prop, 0, "rna_Particle_redo");
|
||||
|
|
|
@ -1256,6 +1256,7 @@ static void rna_def_pose_channel(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "custom");
|
||||
RNA_def_property_struct_type(prop, "Object");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_NO_COMPARISON);
|
||||
RNA_def_property_pointer_funcs(prop, NULL, "rna_PoseChannel_bone_custom_set", NULL, NULL);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Custom Object", "Object that defines custom draw type for this bone");
|
||||
|
|
|
@ -1226,15 +1226,15 @@ static void rna_def_rigidbody_constraint(BlenderRNA *brna)
|
|||
prop = RNA_def_property(srna, "object1", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "ob1");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Object 1", "First Rigid Body Object to be constrained");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_POINTCACHE, "rna_RigidBodyOb_reset");
|
||||
|
||||
prop = RNA_def_property(srna, "object2", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_pointer_sdna(prop, NULL, "ob2");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Object 2", "Second Rigid Body Object to be constrained");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_POINTCACHE, "rna_RigidBodyOb_reset");
|
||||
|
||||
/* Breaking Threshold */
|
||||
|
|
|
@ -3705,6 +3705,7 @@ void rna_def_view_layer_common(StructRNA *srna, const bool scene)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "mat_override");
|
||||
RNA_def_property_struct_type(prop, "Material");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Material Override", "Material to override all other materials in this view layer");
|
||||
RNA_def_property_update(
|
||||
|
@ -7178,6 +7179,7 @@ void RNA_def_scene(BlenderRNA *brna)
|
|||
/* Global Settings */
|
||||
prop = RNA_def_property(srna, "camera", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_pointer_funcs(prop, NULL, NULL, NULL, "rna_Camera_object_poll");
|
||||
RNA_def_property_ui_text(prop, "Camera", "Active camera, used for rendering the scene");
|
||||
RNA_def_property_update(prop, NC_SCENE | NA_EDITED, "rna_Scene_camera_update");
|
||||
|
@ -7193,6 +7195,7 @@ void RNA_def_scene(BlenderRNA *brna)
|
|||
|
||||
prop = RNA_def_property(srna, "world", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "World", "World used for rendering the scene");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_WORLD, "rna_Scene_world_update");
|
||||
|
||||
|
@ -7553,6 +7556,7 @@ void RNA_def_scene(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_funcs(
|
||||
prop, NULL, NULL, NULL, "rna_GPencil_datablocks_annotations_poll");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_ID_REFCOUNT);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(
|
||||
prop, "Annotations", "Grease Pencil data-block used for annotations in the 3D view");
|
||||
RNA_def_property_update(prop, NC_GPENCIL | ND_DATA | NA_EDITED, NULL);
|
||||
|
|
|
@ -61,6 +61,7 @@ static void rna_def_speaker(BlenderRNA *brna)
|
|||
RNA_def_property_struct_type(prop, "Sound");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Sound", "Sound data-block used by this speaker");
|
||||
/* RNA_def_property_float_funcs(prop, NULL, "rna_Speaker_sound_set", NULL); */
|
||||
/* RNA_def_property_update(prop, 0, "rna_Speaker_update"); */
|
||||
|
|
|
@ -630,6 +630,7 @@ static void rna_def_mtex(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "tex");
|
||||
RNA_def_property_struct_type(prop, "Texture");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE | PROP_CONTEXT_UPDATE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Texture", "Texture data-block used by this texture slot");
|
||||
RNA_def_property_update(prop, NC_MATERIAL | ND_SHADING_LINKS, "rna_TextureSlot_update");
|
||||
|
||||
|
@ -1277,6 +1278,7 @@ static void rna_def_texture_image(BlenderRNA *brna)
|
|||
RNA_def_property_pointer_sdna(prop, NULL, "ima");
|
||||
RNA_def_property_struct_type(prop, "Image");
|
||||
RNA_def_property_flag(prop, PROP_EDITABLE);
|
||||
RNA_def_property_override_flag(prop, PROPOVERRIDE_OVERRIDABLE_LIBRARY);
|
||||
RNA_def_property_ui_text(prop, "Image", "");
|
||||
RNA_def_property_update(prop, 0, "rna_Texture_update");
|
||||
|
||||
|
|
Loading…
Reference in New Issue