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.
This commit is contained in:
Campbell Barton
2009-05-03 09:21:58 +00:00
parent b0ec497f39
commit 22b501c791
6 changed files with 16 additions and 7 deletions

View File

@@ -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()