Changeset View
Changeset View
Standalone View
Standalone View
release/scripts/startup/bl_ui/space_view3d_toolbar.py
| Context not available. | |||||
| def draw(self, context): | def draw(self, context): | ||||
| layout = self.layout | layout = self.layout | ||||
| view = context.space_data | |||||
| col = layout.column(align=True) | col = layout.column(align=True) | ||||
| col.label(text="Transform:") | col.label(text="Transform:") | ||||
| Context not available. | |||||
| draw_repeat_tools(context, layout) | draw_repeat_tools(context, layout) | ||||
| draw_gpencil_tools(context, layout) | if view.show_grease_pencil: | ||||
| draw_gpencil_tools(context, layout) | |||||
| class VIEW3D_PT_tools_rigidbody(View3DPanel, Panel): | class VIEW3D_PT_tools_rigidbody(View3DPanel, Panel): | ||||
| Context not available. | |||||