forked from bartvdbraak/blender
Split off 3D Cursor settings from "View" panel in 3D View
This means that you don't need to have the view panel open all the time, reducing the amount of scrolling required just to be able to precisely position the 3D cursor at specific coordinates while changing some other settings. While most of the settings in the View panel are less likely to be frequently changed, the 3D cursor can in some workflows end up needing to be accessed quite frequently.
This commit is contained in:
parent
723484ec06
commit
b18e661ffc
@ -2063,7 +2063,22 @@ class VIEW3D_PT_view3d_properties(Panel):
|
|||||||
subcol.label(text="Local Camera:")
|
subcol.label(text="Local Camera:")
|
||||||
subcol.prop(view, "camera", text="")
|
subcol.prop(view, "camera", text="")
|
||||||
|
|
||||||
layout.column().prop(view, "cursor_location")
|
|
||||||
|
class VIEW3D_PT_view3d_cursor(Panel):
|
||||||
|
bl_space_type = 'VIEW_3D'
|
||||||
|
bl_region_type = 'UI'
|
||||||
|
bl_label = "3D Cursor"
|
||||||
|
|
||||||
|
@classmethod
|
||||||
|
def poll(cls, context):
|
||||||
|
view = context.space_data
|
||||||
|
return (view)
|
||||||
|
|
||||||
|
def draw(self, context):
|
||||||
|
layout = self.layout
|
||||||
|
|
||||||
|
view = context.space_data
|
||||||
|
layout.column().prop(view, "cursor_location", text="Location")
|
||||||
|
|
||||||
|
|
||||||
class VIEW3D_PT_view3d_name(Panel):
|
class VIEW3D_PT_view3d_name(Panel):
|
||||||
|
Loading…
Reference in New Issue
Block a user