From 043efbc464017c8ff20cf09fe7d08cdc50a04aba Mon Sep 17 00:00:00 2001 From: Ton Roosendaal Date: Wed, 7 Nov 2012 16:18:20 +0000 Subject: 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. --- source/blender/makesrna/intern/rna_userdef.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source/blender/makesrna') 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"); -- cgit v1.2.3