weightpaint_envelope_assign - was making an error checking a null vgroup

API_intro - changed URL from elysuin
others - added __copy__() docs.
This commit is contained in:
2007-01-02 13:12:23 +00:00
parent 4f90a3a627
commit 426cc6dca3
12 changed files with 68 additions and 8 deletions

View File

@@ -141,7 +141,7 @@ def env_from_group(ob_act, grp, PREF_UPDATE_ACT=True):
if PREF_UPDATE_ACT:
act_group = me.activeGroup
if act_group == 'None':
if act_group == None:
Draw.PupMenu('Error%t|No active vertex group.')
return