e5209c2059
- vertex group modifiers isDisabled functions were incorrect, need to check if the string is set: == NULL will never be true.
...
- was doing NULL checks on freeing memory in cases where the values were already accessed (blender would have crashed anyway), so remove the NULL checks.
- use deform.c api weight functions to replace inline weight lookups in some cases.
- change if checks in weightvg_do_mask() so its more obvious whats going on.
2011-09-05 05:28:32 +00:00
5fd8ffd242
- mask_tex_map_obj --> mask_tex_map_object
...
- dont allow negative min distances
2011-09-05 03:26:49 +00:00
57411d1c5f
minor edits.
...
- init proximity to 1.0f
- min/max proximity dist were not being copied.
- minor edits to comments - use ascii chars in a few places.
2011-09-05 03:09:49 +00:00
cd6f93bdc9
vgroup_modifiers: Definitively removed addtionnal mapping/clamping options in WeightVGEdit mod, including from DNA struct.
2011-08-23 12:33:45 +00:00
58af2c36ac
vgroup_modifiers: Removed (commented out, for now) addtionnal mapping/clamping options in WeightVGEdit mod, leaving the only curve mapping stuff.
...
Also, updated all three modifiers with new foreachTexLink walking func.
2011-08-17 13:07:51 +00:00
a22f75606e
vgroup_modifiers: Fixed last problems with WP mode, plus a small fix in weightvg_util.c.
...
It seems WeightVG modifiers can’t enable the eModifierTypeFlag_SupportsMapping flag...
2011-07-29 13:25:58 +00:00
fb99e23205
minor cleanup of rna
...
- use an rna enum-set for proximity vert/edge/face options.
- rename some flags.
- better conform to rna naming conventions.
2011-07-28 01:38:48 +00:00
048eabf302
vgroup_modifiers: coded a way to test whether the dm needs to be copied (i.e. if the affected cdata layer is or not the original one).
...
However, as this piece of code tends to slow down things (see e.g. scene 5 of WeightVG test blend file), I deactivated it for now...
2011-07-27 18:48:23 +00:00
1e2e080853
Adding WeightVG modifiers code. Still some points to tweak, though.
...
NOTE : Haven’t yet tested build with scons, will do asap (unless someone else does :) ).
2011-07-25 15:27:01 +00:00