Changeset View
Changeset View
Standalone View
Standalone View
source/blender/makesrna/intern/rna_scene.c
- This file is larger than 256 KB, so syntax highlighting is disabled by default.
| Show First 20 Lines • Show All 2,678 Lines • ▼ Show 20 Lines | |||||
| } | } | ||||
| static void rna_def_tool_settings(BlenderRNA *brna) | static void rna_def_tool_settings(BlenderRNA *brna) | ||||
| { | { | ||||
| StructRNA *srna; | StructRNA *srna; | ||||
| PropertyRNA *prop; | PropertyRNA *prop; | ||||
| /* the construction of this enum is quite special - everything is stored as bitflags, | /* the construction of this enum is quite special - everything is stored as bitflags, | ||||
| * with 1st position only for for on/off (and exposed as boolean), while others are mutually | * with 1st position only for on/off (and exposed as boolean), while others are mutually | ||||
| * exclusive options but which will only have any effect when autokey is enabled | * exclusive options but which will only have any effect when autokey is enabled | ||||
| */ | */ | ||||
| static const EnumPropertyItem auto_key_items[] = { | static const EnumPropertyItem auto_key_items[] = { | ||||
| {AUTOKEY_MODE_NORMAL & ~AUTOKEY_ON, "ADD_REPLACE_KEYS", 0, "Add & Replace", ""}, | {AUTOKEY_MODE_NORMAL & ~AUTOKEY_ON, "ADD_REPLACE_KEYS", 0, "Add & Replace", ""}, | ||||
| {AUTOKEY_MODE_EDITKEYS & ~AUTOKEY_ON, "REPLACE_KEYS", 0, "Replace", ""}, | {AUTOKEY_MODE_EDITKEYS & ~AUTOKEY_ON, "REPLACE_KEYS", 0, "Replace", ""}, | ||||
| {0, NULL, 0, NULL, NULL}, | {0, NULL, 0, NULL, NULL}, | ||||
| }; | }; | ||||
| ▲ Show 20 Lines • Show All 4,812 Lines • Show Last 20 Lines | |||||