Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_userdef.c
| Context not available. | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_LOCK_CURSOR_ADJUST); | RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_LOCK_CURSOR_ADJUST); | ||||
| RNA_def_property_ui_text(prop, "Cursor Lock Adjust", | RNA_def_property_ui_text(prop, "Cursor Lock Adjust", | ||||
| "Place the cursor without 'jumping' to the new location (when lock-to-cursor is used)"); | "Place the cursor without 'jumping' to the new location (when lock-to-cursor is used)"); | ||||
| prop = RNA_def_property(srna, "use_mouse_depth_cursor", PROP_BOOLEAN, PROP_NONE); | |||||
| RNA_def_property_boolean_sdna(prop, NULL, "uiflag", USER_DEPTH_CURSOR); | |||||
| RNA_def_property_ui_text(prop, "Cursor Surface Project", | |||||
| "Use the surface depth for cursor placement"); | |||||
| } | } | ||||
| static void rna_def_userdef_system(BlenderRNA *brna) | static void rna_def_userdef_system(BlenderRNA *brna) | ||||
| Context not available. | |||||