[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [42757] trunk/blender/release/scripts/ startup/bl_ui: Cleaning up some issues that found their way into the python ui files with the first Cucumber merge .
Daniel Stokes
kupomail at gmail.com
Tue Dec 20 08:39:41 CET 2011
Revision: 42757
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=42757
Author: kupoman
Date: 2011-12-20 07:39:30 +0000 (Tue, 20 Dec 2011)
Log Message:
-----------
Cleaning up some issues that found their way into the python ui files with the first Cucumber merge.
Modified Paths:
--------------
trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
trunk/blender/release/scripts/startup/bl_ui/properties_scene.py
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_particle.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_particle.py 2011-12-20 07:11:12 UTC (rev 42756)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_particle.py 2011-12-20 07:39:30 UTC (rev 42757)
@@ -76,7 +76,7 @@
class PARTICLE_PT_context_particles(ParticleButtonsPanel, Panel):
bl_label = ""
bl_options = {'HIDE_HEADER'}
- COMPAT_ENGINES = {'BLENDER_RENDER'}
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
def poll(cls, context):
@@ -87,9 +87,7 @@
layout = self.layout
if context.scene.render.engine == "BLENDER_GAME":
- layout.label("The Blender particle system is")
- layout.label("not available for use in the")
- layout.label("Blender Game Engine")
+ layout.label("Not available in the Game Engine")
return
ob = context.object
Modified: trunk/blender/release/scripts/startup/bl_ui/properties_scene.py
===================================================================
--- trunk/blender/release/scripts/startup/bl_ui/properties_scene.py 2011-12-20 07:11:12 UTC (rev 42756)
+++ trunk/blender/release/scripts/startup/bl_ui/properties_scene.py 2011-12-20 07:39:30 UTC (rev 42757)
@@ -35,6 +35,7 @@
class SCENE_PT_scene(SceneButtonsPanel, Panel):
bl_label = "Scene"
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
layout = self.layout
@@ -75,6 +76,7 @@
class SCENE_PT_unit(SceneButtonsPanel, Panel):
bl_label = "Units"
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
layout = self.layout
@@ -92,6 +94,7 @@
class SCENE_PT_keying_sets(SceneButtonsPanel, Panel):
bl_label = "Keying Sets"
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
def draw(self, context):
layout = self.layout
@@ -124,6 +127,7 @@
class SCENE_PT_keying_set_paths(SceneButtonsPanel, Panel):
bl_label = "Active Keying Set"
+ COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
@classmethod
def poll(cls, context):
@@ -191,6 +195,7 @@
class SCENE_PT_simplify(SceneButtonsPanel, Panel):
bl_label = "Simplify"
+ COMPAT_ENGINES = {'BLENDER_RENDER'}
def draw_header(self, context):
rd = context.scene.render
More information about the Bf-blender-cvs
mailing list