Blender Git Commit Log

Git Commits -> Revision c409976

Revision c409976 by Willian Padovani Germano (master)
April 30, 2007, 19:20 (GMT)
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 :).

Commit Details:

Full Hash: c40997656e5808ff20d6befb184fd78fb630170c
SVN Revision: 10624
Parent Commit: 469208a
Lines Changed: +24, -22

4 Modified Paths:

/source/blender/blenkernel/intern/modifier.c (+12, -12) (Diff)
/source/blender/makesdna/DNA_modifier_types.h (+8, -8) (Diff)
/source/blender/python/api2_2x/doc/API_intro.py (+1, -1) (Diff)
/source/blender/python/api2_2x/doc/Modifier.py (+3, -1) (Diff)
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021