Fix some RNA subtypes for collections' active/active_index props (some PROP_POINTER had PROP_UNSIGNED!). Harmless, but stupid ;)
This commit is contained in:
@@ -596,7 +596,7 @@ static void rna_def_action_pose_markers(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
"rna_Action_active_pose_marker_set", NULL, NULL);
|
||||
RNA_def_property_ui_text(prop, "Active Pose Marker", "Active pose marker for this action");
|
||||
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_int_sdna(prop, NULL, "active_marker");
|
||||
RNA_def_property_int_funcs(prop, "rna_Action_active_pose_marker_index_get",
|
||||
"rna_Action_active_pose_marker_index_set", "rna_Action_active_pose_marker_index_range");
|
||||
|
||||
@@ -2353,7 +2353,7 @@ static void rna_def_tessface_vertex_colors(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_flag(parm, PROP_RNAPTR);
|
||||
RNA_def_function_return(func, parm);
|
||||
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshColorLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_tessface_vertex_color_active_get",
|
||||
"rna_Mesh_tessface_vertex_color_active_set", NULL, NULL);
|
||||
@@ -2397,7 +2397,7 @@ static void rna_def_loop_colors(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_clear_flag(parm, PROP_THICK_WRAP);
|
||||
#endif
|
||||
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshLoopColorLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_vertex_color_active_get",
|
||||
"rna_Mesh_vertex_color_active_set", NULL, NULL);
|
||||
@@ -2425,7 +2425,7 @@ static void rna_def_uv_layers(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_struct_sdna(srna, "Mesh");
|
||||
RNA_def_struct_ui_text(srna, "UV Loop Layers", "Collection of uv loop layers");
|
||||
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshUVLoopLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_uv_layer_active_get",
|
||||
"rna_Mesh_uv_layer_active_set", NULL, NULL);
|
||||
@@ -2530,7 +2530,7 @@ static void rna_def_tessface_uv_textures(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_function_return(func, parm);
|
||||
|
||||
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshTextureFaceLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_tessface_uv_texture_active_get",
|
||||
"rna_Mesh_tessface_uv_texture_active_set", NULL, NULL);
|
||||
@@ -2575,7 +2575,7 @@ static void rna_def_uv_textures(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_clear_flag(parm, PROP_THICK_WRAP);
|
||||
#endif
|
||||
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshTexturePolyLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_uv_texture_active_get",
|
||||
"rna_Mesh_uv_texture_active_set", NULL, NULL);
|
||||
@@ -2693,7 +2693,7 @@ static void rna_def_mesh(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "UV Loop Layers", "All UV loop layers");
|
||||
rna_def_uv_layers(brna, prop);
|
||||
|
||||
prop = RNA_def_property(srna, "uv_layer_clone", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "uv_layer_clone", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshUVLoopLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_uv_layer_clone_get",
|
||||
"rna_Mesh_uv_layer_clone_set", NULL, NULL);
|
||||
@@ -2705,7 +2705,7 @@ static void rna_def_mesh(BlenderRNA *brna)
|
||||
"rna_Mesh_uv_layer_clone_index_set", "rna_Mesh_uv_layer_index_range");
|
||||
RNA_def_property_ui_text(prop, "Clone UV loop layer Index", "Clone UV loop layer index");
|
||||
|
||||
prop = RNA_def_property(srna, "uv_layer_stencil", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "uv_layer_stencil", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshUVLoopLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_uv_layer_stencil_get",
|
||||
"rna_Mesh_uv_layer_stencil_set", NULL, NULL);
|
||||
@@ -2736,7 +2736,7 @@ static void rna_def_mesh(BlenderRNA *brna)
|
||||
RNA_def_property_ui_text(prop, "UV Maps", "All UV maps");
|
||||
rna_def_uv_textures(brna, prop);
|
||||
|
||||
prop = RNA_def_property(srna, "uv_texture_clone", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "uv_texture_clone", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshTexturePolyLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_uv_texture_clone_get",
|
||||
"rna_Mesh_uv_texture_clone_set", NULL, NULL);
|
||||
@@ -2748,7 +2748,7 @@ static void rna_def_mesh(BlenderRNA *brna)
|
||||
"rna_Mesh_uv_texture_clone_index_set", "rna_Mesh_uv_texture_index_range");
|
||||
RNA_def_property_ui_text(prop, "Clone UV Map Index", "Clone UV map index");
|
||||
|
||||
prop = RNA_def_property(srna, "uv_texture_stencil", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "uv_texture_stencil", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "MeshTexturePolyLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_Mesh_uv_texture_stencil_get",
|
||||
"rna_Mesh_uv_texture_stencil_set", NULL, NULL);
|
||||
|
||||
@@ -1961,7 +1961,7 @@ static void rna_def_object_vertex_groups(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_ui_text(prop, "Active Vertex Group", "Vertex groups of the object");
|
||||
RNA_def_property_update(prop, NC_GEOM | ND_DATA, "rna_Object_internal_update_data");
|
||||
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_clear_flag(prop, PROP_ANIMATABLE);
|
||||
RNA_def_property_int_sdna(prop, NULL, "actdef");
|
||||
RNA_def_property_int_funcs(prop, "rna_Object_active_vertex_group_index_get",
|
||||
|
||||
@@ -1246,7 +1246,7 @@ static void rna_def_bone_groups(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_ui_text(prop, "Active Bone Group", "Active bone group for this pose");
|
||||
RNA_def_property_update(prop, NC_OBJECT | ND_POSE, "rna_Pose_update");
|
||||
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_int_sdna(prop, NULL, "active_group");
|
||||
RNA_def_property_int_funcs(prop, "rna_Pose_active_bone_group_index_get", "rna_Pose_active_bone_group_index_set",
|
||||
"rna_Pose_active_bone_group_index_range");
|
||||
|
||||
@@ -2812,7 +2812,7 @@ static void rna_def_render_layers(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_struct_sdna(srna, "RenderData");
|
||||
RNA_def_struct_ui_text(srna, "Render Layers", "Collection of render layers");
|
||||
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_NONE);
|
||||
prop = RNA_def_property(srna, "active_index", PROP_INT, PROP_UNSIGNED);
|
||||
RNA_def_property_int_sdna(prop, NULL, "actlay");
|
||||
RNA_def_property_int_funcs(prop, "rna_RenderSettings_active_layer_index_get",
|
||||
"rna_RenderSettings_active_layer_index_set",
|
||||
@@ -2820,7 +2820,7 @@ static void rna_def_render_layers(BlenderRNA *brna, PropertyRNA *cprop)
|
||||
RNA_def_property_ui_text(prop, "Active Layer Index", "Active index in render layer array");
|
||||
RNA_def_property_update(prop, NC_SCENE | ND_RENDER_OPTIONS, "rna_Scene_glsl_update");
|
||||
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_UNSIGNED);
|
||||
prop = RNA_def_property(srna, "active", PROP_POINTER, PROP_NONE);
|
||||
RNA_def_property_struct_type(prop, "SceneRenderLayer");
|
||||
RNA_def_property_pointer_funcs(prop, "rna_RenderSettings_active_layer_get",
|
||||
"rna_RenderSettings_active_layer_set", NULL, NULL);
|
||||
|
||||
Reference in New Issue
Block a user