diff options
author | Campbell Barton <ideasman42@gmail.com> | 2009-05-03 13:21:58 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2009-05-03 13:21:58 +0400 |
commit | 22b501c7917e8e209aab2dee02101286b7ecc45f (patch) | |
tree | 832aae982e875475c2781bdf49b1cd8633194056 /release | |
parent | b0ec497f39cb7aa7df1f7936418b443aeefbaade (diff) |
fixes for bugs submitted by BGE users, fixes by myself and Mitchell Stokes
- when the attribute check function failed it didnt set an error raising a SystemError instead
- Rasterizer.getMaterialMode would never return KX_BLENDER_MULTITEX_MATERIAL
- PropertySensor value attribute checking function was always returning a fail.
- Vertex Self Shadow python script didnt update for meshes with modifiers.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/vertexpaint_selfshadow_ao.py | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/vertexpaint_selfshadow_ao.py b/release/scripts/vertexpaint_selfshadow_ao.py index 95ba7d2fb23..d641fd12111 100644 --- a/release/scripts/vertexpaint_selfshadow_ao.py +++ b/release/scripts/vertexpaint_selfshadow_ao.py @@ -180,6 +180,10 @@ def main(): t= sys.time() vertexFakeAO(me, PREF_BLUR_ITERATIONS, PREF_BLUR_RADIUS, PREF_MIN_EDLEN, PREF_CLAMP_CONCAVE, PREF_CLAMP_CONVEX, PREF_SHADOW_ONLY, PREF_SEL_ONLY) + + if ob.modifiers: + me.update() + print 'done in %.6f' % (sys.time()-t) if __name__=='__main__': main() |