Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2009-07-26 07:54:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2009-07-26 07:54:17 +0400
commit117fdd8072fb6b8390d85498d8185c55a81f40e8 (patch)
treeba6cc1d7722460f116eee9ac4310cad04c6c15fd /release
parentf4d70c98125034808745886873a6d3e7e60527cb (diff)
* projection paint options in the toolbar
* renamed __no_header__ -> __show_header__
Diffstat (limited to 'release')
-rw-r--r--release/ui/buttons_data_armature.py2
-rw-r--r--release/ui/buttons_data_bone.py2
-rw-r--r--release/ui/buttons_data_camera.py2
-rw-r--r--release/ui/buttons_data_curve.py2
-rw-r--r--release/ui/buttons_data_lamp.py2
-rw-r--r--release/ui/buttons_data_lattice.py2
-rw-r--r--release/ui/buttons_data_mesh.py2
-rw-r--r--release/ui/buttons_data_text.py2
-rw-r--r--release/ui/buttons_game.py2
-rw-r--r--release/ui/buttons_material.py2
-rw-r--r--release/ui/buttons_object.py2
-rw-r--r--release/ui/buttons_particle.py2
-rw-r--r--release/ui/buttons_texture.py2
-rw-r--r--release/ui/buttons_world.py2
-rw-r--r--release/ui/space_info.py14
-rw-r--r--release/ui/space_view3d_toolbar.py15
16 files changed, 34 insertions, 23 deletions
diff --git a/release/ui/buttons_data_armature.py b/release/ui/buttons_data_armature.py
index ad34d867350..b2c135e4a9b 100644
--- a/release/ui/buttons_data_armature.py
+++ b/release/ui/buttons_data_armature.py
@@ -11,7 +11,7 @@ class DataButtonsPanel(bpy.types.Panel):
class DATA_PT_context_arm(DataButtonsPanel):
__idname__ = "DATA_PT_context_arm"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_data_bone.py b/release/ui/buttons_data_bone.py
index b31cac15425..4458f8d2d94 100644
--- a/release/ui/buttons_data_bone.py
+++ b/release/ui/buttons_data_bone.py
@@ -11,7 +11,7 @@ class BoneButtonsPanel(bpy.types.Panel):
class BONE_PT_context_bone(BoneButtonsPanel):
__idname__ = "BONE_PT_context_bone"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_data_camera.py b/release/ui/buttons_data_camera.py
index 7ca70029e49..9f7a11a980c 100644
--- a/release/ui/buttons_data_camera.py
+++ b/release/ui/buttons_data_camera.py
@@ -11,7 +11,7 @@ class DataButtonsPanel(bpy.types.Panel):
class DATA_PT_context_camera(DataButtonsPanel):
__idname__ = "DATA_PT_context_camera"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_data_curve.py b/release/ui/buttons_data_curve.py
index 04c4cd6d01e..caaab7b21fc 100644
--- a/release/ui/buttons_data_curve.py
+++ b/release/ui/buttons_data_curve.py
@@ -11,7 +11,7 @@ class DataButtonsPanel(bpy.types.Panel):
class DATA_PT_context_curve(DataButtonsPanel):
__idname__ = "DATA_PT_context_curve"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_data_lamp.py b/release/ui/buttons_data_lamp.py
index 018650cf8bf..aa84c5c471d 100644
--- a/release/ui/buttons_data_lamp.py
+++ b/release/ui/buttons_data_lamp.py
@@ -21,7 +21,7 @@ class DATA_PT_preview(DataButtonsPanel):
class DATA_PT_context_lamp(DataButtonsPanel):
__idname__ = "DATA_PT_context_lamp"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_data_lattice.py b/release/ui/buttons_data_lattice.py
index 1bcaa342c67..57713749b0c 100644
--- a/release/ui/buttons_data_lattice.py
+++ b/release/ui/buttons_data_lattice.py
@@ -11,7 +11,7 @@ class DataButtonsPanel(bpy.types.Panel):
class DATA_PT_context_lattice(DataButtonsPanel):
__idname__ = "DATA_PT_context_lattice"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_data_mesh.py b/release/ui/buttons_data_mesh.py
index d4bf9698a89..ed4c50aaf1a 100644
--- a/release/ui/buttons_data_mesh.py
+++ b/release/ui/buttons_data_mesh.py
@@ -11,7 +11,7 @@ class DataButtonsPanel(bpy.types.Panel):
class DATA_PT_context_mesh(DataButtonsPanel):
__idname__ = "DATA_PT_context_mesh"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_data_text.py b/release/ui/buttons_data_text.py
index 81d54af0ef7..84abe554f5c 100644
--- a/release/ui/buttons_data_text.py
+++ b/release/ui/buttons_data_text.py
@@ -11,7 +11,7 @@ class DataButtonsPanel(bpy.types.Panel):
class DATA_PT_context_text(DataButtonsPanel):
__idname__ = "DATA_PT_context_text"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_game.py b/release/ui/buttons_game.py
index 1a0f6666a47..c2bba62fc27 100644
--- a/release/ui/buttons_game.py
+++ b/release/ui/buttons_game.py
@@ -205,7 +205,7 @@ class WorldButtonsPanel(bpy.types.Panel):
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
diff --git a/release/ui/buttons_material.py b/release/ui/buttons_material.py
index 9a28a74d0f7..30f7f7122dc 100644
--- a/release/ui/buttons_material.py
+++ b/release/ui/buttons_material.py
@@ -21,7 +21,7 @@ class MATERIAL_PT_preview(MaterialButtonsPanel):
class MATERIAL_PT_context_material(MaterialButtonsPanel):
__idname__= "MATERIAL_PT_context_material"
- __no_header__ = True
+ __show_header__ = False
def poll(self, context):
return (context.object)
diff --git a/release/ui/buttons_object.py b/release/ui/buttons_object.py
index 8caeaacf5c1..9ab28241e5d 100644
--- a/release/ui/buttons_object.py
+++ b/release/ui/buttons_object.py
@@ -8,7 +8,7 @@ class ObjectButtonsPanel(bpy.types.Panel):
class OBJECT_PT_context_object(ObjectButtonsPanel):
__idname__ = "OBJECT_PT_context_object"
- __no_header__ = True
+ __show_header__ = False
def draw(self, context):
layout = self.layout
diff --git a/release/ui/buttons_particle.py b/release/ui/buttons_particle.py
index f74dfa06427..46d7a7999f4 100644
--- a/release/ui/buttons_particle.py
+++ b/release/ui/buttons_particle.py
@@ -20,7 +20,7 @@ class ParticleButtonsPanel(bpy.types.Panel):
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)
diff --git a/release/ui/buttons_texture.py b/release/ui/buttons_texture.py
index 80ae503ee6a..df409d3c524 100644
--- a/release/ui/buttons_texture.py
+++ b/release/ui/buttons_texture.py
@@ -34,7 +34,7 @@ class TEXTURE_PT_preview(TextureButtonsPanel):
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)
diff --git a/release/ui/buttons_world.py b/release/ui/buttons_world.py
index e0305bbaf04..67cf5cc2e89 100644
--- a/release/ui/buttons_world.py
+++ b/release/ui/buttons_world.py
@@ -20,7 +20,7 @@ class WORLD_PT_preview(WorldButtonsPanel):
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
diff --git a/release/ui/space_info.py b/release/ui/space_info.py
index 9d72aa7c5e9..365bcada6b9 100644
--- a/release/ui/space_info.py
+++ b/release/ui/space_info.py
@@ -171,7 +171,7 @@ class INFO_MT_help(bpy.types.Menu):
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_tabs(bpy.types.Panel):
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_view(bpy.types.Panel):
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_edit(bpy.types.Panel):
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_system(bpy.types.Panel):
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_filepaths(bpy.types.Panel):
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_language(bpy.types.Panel):
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
diff --git a/release/ui/space_view3d_toolbar.py b/release/ui/space_view3d_toolbar.py
index af298e6e27b..acc2590132e 100644
--- a/release/ui/space_view3d_toolbar.py
+++ b/release/ui/space_view3d_toolbar.py
@@ -486,8 +486,19 @@ class VIEW3D_PT_tools_texture_paint(View3DPanel):
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")
+ col.itemR(ipaint, "use_clone_layer")
+ col.itemR(ipaint, "use_stencil_layer")
+
+ col.itemR(ipaint, "seam_bleed")
+ col.itemR(ipaint, "normal_angle")
# ********** default tools for particle mode ****************