Get rid of the BRUSH_FIXED_TEX flag, use mapping modes instead. Version

patched all previous texture paint brushes to use tiled mapping since
mappping is now shared between 2d and 3d painting.
This commit is contained in:
Antony Riakiotakis
2013-01-16 14:36:13 +00:00
parent c997f69bf9
commit 1d45242208
9 changed files with 23 additions and 18 deletions

View File

@@ -20,7 +20,7 @@
import bpy
from bpy.types import Header, Menu, Panel
from bl_ui.properties_paint_common import UnifiedPaintPanel
from bl_ui.properties_paint_common import brush_texture_settings
class ImagePaintPanel(UnifiedPaintPanel):
bl_space_type = 'IMAGE_EDITOR'
@@ -722,7 +722,8 @@ class IMAGE_PT_tools_brush_texture(BrushButtonsPanel, Panel):
col = layout.column()
col.template_ID_preview(brush, "texture", new="texture.new", rows=3, cols=8)
col.prop(brush, "use_fixed_texture")
brush_texture_settings(col, brush, 0)
class IMAGE_PT_tools_brush_tool(BrushButtonsPanel, Panel):