UI: Do not put walk navigation settings inside an if statement

The issue here is that the preferences are still used because both can be accessed from the 3D View, view menu. In the future, it is likely that the old mode will be removed (maybe 2.8?) but for now we want to keep both operational.

Differential revision: https://developer.blender.org/D2320
This commit is contained in:
Aaron Carlisle
2017-04-10 17:44:03 -04:00
parent 2ad1124372
commit 8ac7510a4d

View File

@@ -1222,7 +1222,9 @@ class USERPREF_PT_input(Panel):
sub = col.column() sub = col.column()
sub.label(text="View Navigation:") sub.label(text="View Navigation:")
sub.row().prop(inputs, "navigation_mode", expand=True) sub.row().prop(inputs, "navigation_mode", expand=True)
if inputs.navigation_mode == 'WALK':
sub.label(text="Walk Navigation:")
walk = inputs.walk_navigation walk = inputs.walk_navigation
sub.prop(walk, "use_mouse_reverse") sub.prop(walk, "use_mouse_reverse")