diff options
author | Ton Roosendaal <ton@blender.org> | 2012-11-07 20:18:20 +0400 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2012-11-07 20:18:20 +0400 |
commit | 043efbc464017c8ff20cf09fe7d08cdc50a04aba (patch) | |
tree | ee8ce6e455c457d1abffeb7da6a3be40f5bf7fc1 /source/blender/makesrna | |
parent | 01200ca2acfd00289d558969a7a03bdf9589a911 (diff) |
Bugfix #32806
Two fixes for NDOF device:
- RNA item for setting turntable or trackball for ndof was using wrong variable
- Some moment the option "rotate around selection" stopped to work for ndof.
Note: the latter option doesn't do dolly in, use shift+ndof for that.
Diffstat (limited to 'source/blender/makesrna')
-rw-r--r-- | source/blender/makesrna/intern/rna_userdef.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/makesrna/intern/rna_userdef.c b/source/blender/makesrna/intern/rna_userdef.c index 415d5308d85..fe179d8486d 100644 --- a/source/blender/makesrna/intern/rna_userdef.c +++ b/source/blender/makesrna/intern/rna_userdef.c @@ -3424,7 +3424,7 @@ static void rna_def_userdef_input(BlenderRNA *brna) /* 3D view */ prop = RNA_def_property(srna, "ndof_view_rotate_method", PROP_ENUM, PROP_NONE); - RNA_def_property_enum_bitflag_sdna(prop, NULL, "flag"); + RNA_def_property_enum_bitflag_sdna(prop, NULL, "ndof_flag"); RNA_def_property_enum_items(prop, ndof_view_rotation_items); RNA_def_property_ui_text(prop, "NDOF View Rotation", "Rotation style in the viewport"); |