[Bf-blender-cvs] SVN commit: /data/svn/bf-blender [23740] trunk/blender/release/scripts/ui/ buttons_physics_smoke.py: * Show Smoke Field Weights only for Domains.
Thomas Dinges
dingto at gmx.de
Fri Oct 9 15:56:36 CEST 2009
Revision: 23740
http://projects.blender.org/plugins/scmsvn/viewcvs.php?view=rev&root=bf-blender&revision=23740
Author: dingto
Date: 2009-10-09 15:56:35 +0200 (Fri, 09 Oct 2009)
Log Message:
-----------
* Show Smoke Field Weights only for Domains.
Modified Paths:
--------------
trunk/blender/release/scripts/ui/buttons_physics_smoke.py
Modified: trunk/blender/release/scripts/ui/buttons_physics_smoke.py
===================================================================
--- trunk/blender/release/scripts/ui/buttons_physics_smoke.py 2009-10-09 13:34:24 UTC (rev 23739)
+++ trunk/blender/release/scripts/ui/buttons_physics_smoke.py 2009-10-09 13:56:35 UTC (rev 23740)
@@ -178,7 +178,8 @@
__default_closed__ = True
def poll(self, context):
- return (context.smoke)
+ smoke = context.smoke
+ return (smoke and smoke.smoke_type == 'TYPE_DOMAIN')
def draw(self, context):
domain = context.smoke.domain_settings
More information about the Bf-blender-cvs
mailing list