diff options
author | Antony Riakiotakis <kalast@gmail.com> | 2013-03-06 23:54:43 +0400 |
---|---|---|
committer | Antony Riakiotakis <kalast@gmail.com> | 2013-03-06 23:54:43 +0400 |
commit | 8676530b7d035d9ecb4e518d084790a4d305ec35 (patch) | |
tree | 1ebb9b884a75096c52876cf705800c3ce8bea55b /release | |
parent | c75065136c03a4cb65709c87b66579190c6bdeee (diff) |
Texture paint refactoring commit
Adding new file paint_image_proj.c which includes the projective texture painting part of texture
painting, using the stroke system. To access the new code path use Shift-LClick.
The new code path still is problematic with tablet pressure and I will be looking
into ways to unify this across paint systems next.
The old code is still present and can be accessed by regular Lclick as usual.
Also removed 3D (non-projective) painting from 3D viewport.
TODO:
* Add pressure influence code to stroke, remove from every other paint
system code, including texpaint.
* Put UnifiedPaintSettings update in PaintStroke code.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/space_view3d_toolbar.py | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/release/scripts/startup/bl_ui/space_view3d_toolbar.py b/release/scripts/startup/bl_ui/space_view3d_toolbar.py index 05c1793b29f..91a55892370 100644 --- a/release/scripts/startup/bl_ui/space_view3d_toolbar.py +++ b/release/scripts/startup/bl_ui/space_view3d_toolbar.py @@ -1114,11 +1114,6 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): brush = context.tool_settings.image_paint.brush return (brush is not None) - def draw_header(self, context): - ipaint = context.tool_settings.image_paint - - self.layout.prop(ipaint, "use_projection", text="") - def draw(self, context): layout = self.layout @@ -1127,15 +1122,12 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): toolsettings = context.tool_settings ipaint = toolsettings.image_paint settings = toolsettings.image_paint - use_projection = ipaint.use_projection col = layout.column() - col.active = use_projection col.prop(ipaint, "use_occlude") col.prop(ipaint, "use_backface_culling") row = layout.row() - row.active = (use_projection) row.prop(ipaint, "use_normal_falloff") sub = row.row() @@ -1144,7 +1136,6 @@ class VIEW3D_PT_tools_projectpaint(View3DPanel, Panel): split = layout.split() - split.active = (use_projection) split.prop(ipaint, "use_stencil_layer", text="Stencil") row = split.row() |