[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [21913] branches/blender2.5/blender: * projection paint options in the toolbar
Campbell Barton
ideasman42 at gmail.com
Sun Jul 26 05:54:19 CEST 2009
Revision: 21913
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=21913
Author: campbellbarton
Date: 2009-07-26 05:54:17 +0200 (Sun, 26 Jul 2009)
Log Message:
-----------
* projection paint options in the toolbar
* renamed __no_header__ -> __show_header__
Modified Paths:
--------------
branches/blender2.5/blender/release/ui/buttons_data_armature.py
branches/blender2.5/blender/release/ui/buttons_data_bone.py
branches/blender2.5/blender/release/ui/buttons_data_camera.py
branches/blender2.5/blender/release/ui/buttons_data_curve.py
branches/blender2.5/blender/release/ui/buttons_data_lamp.py
branches/blender2.5/blender/release/ui/buttons_data_lattice.py
branches/blender2.5/blender/release/ui/buttons_data_mesh.py
branches/blender2.5/blender/release/ui/buttons_data_text.py
branches/blender2.5/blender/release/ui/buttons_game.py
branches/blender2.5/blender/release/ui/buttons_material.py
branches/blender2.5/blender/release/ui/buttons_object.py
branches/blender2.5/blender/release/ui/buttons_particle.py
branches/blender2.5/blender/release/ui/buttons_texture.py
branches/blender2.5/blender/release/ui/buttons_world.py
branches/blender2.5/blender/release/ui/space_info.py
branches/blender2.5/blender/release/ui/space_view3d_toolbar.py
branches/blender2.5/blender/source/blender/makesrna/intern/rna_sculpt_paint.c
branches/blender2.5/blender/source/blender/makesrna/intern/rna_ui.c
Modified: branches/blender2.5/blender/release/ui/buttons_data_armature.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_armature.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_armature.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -11,7 +11,7 @@
class DATA_PT_context_arm(DataButtonsPanel):
__idname__ = "DATA_PT_context_arm"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_data_bone.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_bone.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_bone.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -11,7 +11,7 @@
class BONE_PT_context_bone(BoneButtonsPanel):
__idname__ = "BONE_PT_context_bone"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_data_camera.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_camera.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_camera.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -11,7 +11,7 @@
class DATA_PT_context_camera(DataButtonsPanel):
__idname__ = "DATA_PT_context_camera"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_data_curve.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_curve.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_curve.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -11,7 +11,7 @@
class DATA_PT_context_curve(DataButtonsPanel):
__idname__ = "DATA_PT_context_curve"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_data_lamp.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_lamp.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -21,7 +21,7 @@
class DATA_PT_context_lamp(DataButtonsPanel):
__idname__ = "DATA_PT_context_lamp"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_data_lattice.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_lattice.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_lattice.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -11,7 +11,7 @@
class DATA_PT_context_lattice(DataButtonsPanel):
__idname__ = "DATA_PT_context_lattice"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_data_mesh.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_mesh.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_mesh.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -11,7 +11,7 @@
class DATA_PT_context_mesh(DataButtonsPanel):
__idname__ = "DATA_PT_context_mesh"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_data_text.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_data_text.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_data_text.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -11,7 +11,7 @@
class DATA_PT_context_text(DataButtonsPanel):
__idname__ = "DATA_PT_context_text"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_game.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_game.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_game.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -205,7 +205,7 @@
return (rd.engine == 'BLENDER_GAME')
class WORLD_PT_game_context_world(WorldButtonsPanel):
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
rd = context.scene.render_data
Modified: branches/blender2.5/blender/release/ui/buttons_material.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_material.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_material.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -21,7 +21,7 @@
class MATERIAL_PT_context_material(MaterialButtonsPanel):
__idname__= "MATERIAL_PT_context_material"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
return (context.object)
Modified: branches/blender2.5/blender/release/ui/buttons_object.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_object.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_object.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -8,7 +8,7 @@
class OBJECT_PT_context_object(ObjectButtonsPanel):
__idname__ = "OBJECT_PT_context_object"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/buttons_particle.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_particle.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_particle.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -20,7 +20,7 @@
class PARTICLE_PT_particles(ParticleButtonsPanel):
__idname__= "PARTICLE_PT_particles"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
return (context.particle_system or context.object)
Modified: branches/blender2.5/blender/release/ui/buttons_texture.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_texture.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_texture.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -34,7 +34,7 @@
class TEXTURE_PT_context_texture(TextureButtonsPanel):
__idname__= "TEXTURE_PT_context_texture"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
return (context.material or context.world or context.lamp or context.brush or context.texture)
Modified: branches/blender2.5/blender/release/ui/buttons_world.py
===================================================================
--- branches/blender2.5/blender/release/ui/buttons_world.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/buttons_world.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -20,7 +20,7 @@
layout.template_preview(world)
class WORLD_PT_context_world(WorldButtonsPanel):
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
rd = context.scene.render_data
Modified: branches/blender2.5/blender/release/ui/space_info.py
===================================================================
--- branches/blender2.5/blender/release/ui/space_info.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/space_info.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -171,7 +171,7 @@
class INFO_PT_tabs(bpy.types.Panel):
__space_type__ = "USER_PREFERENCES"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
@@ -182,7 +182,7 @@
class INFO_PT_view(bpy.types.Panel):
__space_type__ = "USER_PREFERENCES"
__label__ = "View"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
userpref = context.user_preferences
@@ -287,7 +287,7 @@
class INFO_PT_edit(bpy.types.Panel):
__space_type__ = "USER_PREFERENCES"
__label__ = "Edit"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
userpref = context.user_preferences
@@ -385,7 +385,7 @@
class INFO_PT_system(bpy.types.Panel):
__space_type__ = "USER_PREFERENCES"
__label__ = "System"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
userpref = context.user_preferences
@@ -451,7 +451,7 @@
class INFO_PT_filepaths(bpy.types.Panel):
__space_type__ = "USER_PREFERENCES"
__label__ = "File Paths"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
userpref = context.user_preferences
@@ -510,7 +510,7 @@
class INFO_PT_language(bpy.types.Panel):
__space_type__ = "USER_PREFERENCES"
__label__ = "Language"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
userpref = context.user_preferences
@@ -533,7 +533,7 @@
class INFO_PT_bottombar(bpy.types.Panel):
__space_type__ = "USER_PREFERENCES"
__label__ = " "
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
Modified: branches/blender2.5/blender/release/ui/space_view3d_toolbar.py
===================================================================
--- branches/blender2.5/blender/release/ui/space_view3d_toolbar.py 2009-07-26 03:22:24 UTC (rev 21912)
+++ branches/blender2.5/blender/release/ui/space_view3d_toolbar.py 2009-07-26 03:54:17 UTC (rev 21913)
@@ -486,9 +486,20 @@
def draw(self, context):
layout = self.layout
-
- layout.itemL(text="Nothing yet")
+ ipaint = context.tool_settings.image_paint
+ col = layout.column()
+ col.itemR(ipaint, "use_projection")
+ col.itemR(ipaint, "use_occlude")
+ col.itemR(ipaint, "use_backface_cull")
+ col.itemR(ipaint, "use_normal_falloff")
+ col.itemR(ipaint, "invert_stencil")
@@ Diff output truncated at 10240 characters. @@
More information about the Bf-blender-cvs
mailing list