Transform: Allow navigation with "release_confirm"
This limitation was added to avoid conflicts with tools. But since we now have the "allow_navigation" option on transform operators, there is no real benefit to having this limitation.
This commit is contained in:
committed by
Germano Cavalcante
parent
251614c39c
commit
05b8cfec5e
@@ -1043,17 +1043,9 @@ class VIEW3D_MT_transform_base:
|
||||
"use_transform_navigation",
|
||||
False)
|
||||
|
||||
props = layout.operator("transform.translate")
|
||||
props.release_confirm = False
|
||||
props.allow_navigation = allow_navigation
|
||||
|
||||
props = layout.operator("transform.rotate")
|
||||
props.release_confirm = False
|
||||
props.allow_navigation = allow_navigation
|
||||
|
||||
props = layout.operator("transform.resize", text="Scale")
|
||||
props.release_confirm = False
|
||||
props.allow_navigation = allow_navigation
|
||||
layout.operator("transform.translate").allow_navigation = allow_navigation
|
||||
layout.operator("transform.rotate").allow_navigation = allow_navigation
|
||||
layout.operator("transform.resize", text="Scale").allow_navigation = allow_navigation
|
||||
|
||||
layout.separator()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user