[Bf-blender-cvs] CVS commit: blender/source/blender/blenkernel/intern modifier.c blender/source/blender/makesdna DNA_modifier_types.h blender/source/blender/python/api2_2x/doc API_intro.py Modifier.py
Willian Padovani Germano
wgermano at superig.com.br
Mon Apr 30 21:20:43 CEST 2007
ianwill (Willian Padovani Germano) 2007/04/30 21:20:43 CEST
Modified files:
blender/source/blender/blenkernel/intern modifier.c
blender/source/blender/makesdna DNA_modifier_types.h
blender/source/blender/python/api2_2x/doc API_intro.py
Modifier.py
Log:
Really minor updates related to code I wrote for the Cast modifier:
- modifier.c: moved a check out of a loop, removed an unneeded var, made a couple cosmetic changes.
- DNA_modifier_types.h: added parentheses to cast and smooth modifier defines that used bit-shifting (like 1<<1, etc.).
Note: realized they were needed when I tried to use "flag &= ~MOD_CAST_Z" in modifier.c. Since MOD_CAST_Z is #defined as 1<<3, ~MOD_CAST_Z ended up as ~1<<3 while I wanted ~(1<<3). There are other places in that header file and others in Blender where it'd be safer to add the parentheses...
- Updated the epydoc documentation for the features added by Ben Batt to the cast modifier; fixed small typo in API_intro.py.
BTW, thanks Ben Batt (artificer) for checking, improving with a couple features and committing these modifiers :).
Revision Changes Path
1.103 +13 -13 blender/source/blender/blenkernel/intern/modifier.c
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/blenkernel/intern/modifier.c.diff?r1=1.102&r2=1.103&cvsroot=bf-blender>
1.39 +9 -9 blender/source/blender/makesdna/DNA_modifier_types.h
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/makesdna/DNA_modifier_types.h.diff?r1=1.38&r2=1.39&cvsroot=bf-blender>
1.44 +1 -1 blender/source/blender/python/api2_2x/doc/API_intro.py
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/API_intro.py.diff?r1=1.43&r2=1.44&cvsroot=bf-blender>
1.17 +3 -1 blender/source/blender/python/api2_2x/doc/Modifier.py
<http://projects.blender.org/viewcvs/viewcvs.cgi/blender/source/blender/python/api2_2x/doc/Modifier.py.diff?r1=1.16&r2=1.17&cvsroot=bf-blender>
More information about the Bf-blender-cvs
mailing list