Separate proportional edit setting between edit and object mode. They are now used...
[blender-staging.git] / source / blender / makesrna / intern / rna_scene.c
index a08e9e4252fb5e8d7b69ca4f804e14590f795358..966e7696ede391f54cab60d8a73516fdb54b1d62 100644 (file)
@@ -1009,6 +1009,12 @@ static void rna_def_tool_settings(BlenderRNA  *brna)
        RNA_def_property_ui_text(prop, "Proportional Editing", "Proportional editing mode");
        RNA_def_property_update(prop, NC_SCENE|ND_TOOLSETTINGS, NULL); /* header redraw */
 
+       prop= RNA_def_property(srna, "proportional_editing_objects", PROP_BOOLEAN, PROP_NONE);
+       RNA_def_property_boolean_sdna(prop, NULL, "proportional_objects", 0);
+       RNA_def_property_ui_text(prop, "Proportional Editing Objects", "Proportional editing object mode");
+       RNA_def_property_ui_icon(prop, ICON_PROP_OFF, 1);
+       RNA_def_property_update(prop, NC_SCENE|ND_TOOLSETTINGS, NULL); /* header redraw */
+
        prop= RNA_def_property(srna, "proportional_editing_falloff", PROP_ENUM, PROP_NONE);
        RNA_def_property_enum_sdna(prop, NULL, "prop_mode");
        RNA_def_property_enum_items(prop, proportional_falloff_items);