diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-03-14 06:45:23 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-03-14 06:45:23 +0400 |
commit | 604c75bb80ef84ef705f9e26fbac01928f6c3e8e (patch) | |
tree | e8c18f260ddfbf04f3b7593ba8b9d9d6ffbc71c7 | |
parent | 0d70e8a4fd6a2d04f0bc37ad4d0eb6eea8d831ce (diff) |
Expose input stroke samples for image painting.
-rw-r--r-- | release/scripts/startup/bl_ui/space_image.py | 2 | ||||
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 6 |
2 files changed, 6 insertions, 2 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py index e935872e7e7..77e110deb71 100644 --- a/release/scripts/startup/bl_ui/space_image.py +++ b/release/scripts/startup/bl_ui/space_image.py @@ -757,6 +757,8 @@ class IMAGE_PT_paint_stroke(BrushButtonsPanel, Panel): toolsettings = context.tool_settings.image_paint brush = toolsettings.brush + + layout.prop(toolsettings, "input_samples") layout.prop(brush, "use_airbrush") row = layout.row() diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index dc18bd2544c..ec7e17be758 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1141,13 +1141,15 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): ipaint = toolsettings.image_paint settings = toolsettings.image_paint + layout.prop(ipaint, "input_samples") + col = layout.column() col.prop(ipaint, "use_occlude") col.prop(ipaint, "use_backface_culling") row = layout.row() row.prop(ipaint, "use_normal_falloff") - + sub = row.row() sub.active = (ipaint.use_normal_falloff) sub.prop(ipaint, "normal_angle", text="") @@ -1181,7 +1183,7 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): col.operator("paint.project_image", text="Apply Camera Image") col.operator("image.save_dirty", text="Save All Edited") - + class VIEW3D_PT_imagepaint_options(View3DPaintPanel): bl_label = "Options" |