2de2acc681
add CDDM_from_bmesh(), avoids using BMEditMesh in modifiers.
2012-10-24 07:24:11 +00:00
aaafa0c2fe
code cleanup: move file string defines into BLI_path_utils.h, BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-09-03 22:04:14 +00:00
5478b21b28
Fix: mirror modifier only mirrors first UV map (IRC report).
2012-05-15 15:02:02 +00:00
318b44fe5d
Refactor of modifiers' apply function: now use a single bit-flag parameter to pass options, instead of having one parameter per boolean flag (i.e. replaces current useRenderParams and isFinalCalc by a single ModifierApplyFlag flag. ModifierApplyFlag is an enum defined in BKE_modifier.h). This way we won't anymore have to edit all modifier files when e.g. adding a new control flag!
...
Should have no effect over modifier behavior.
2012-05-09 15:00:26 +00:00
3d8e58751c
style cleanup: modifiers
2012-05-06 13:38:33 +00:00
5da2135eef
code cleanup: double promotion & some style cleanup
2012-05-03 21:35:04 +00:00
ade7f59d0a
Fix #31190 : mirror modifier caused non-planar quads to be split differently on
...
the other side, now keep the first vertex of the polygon the same to avoid this.
2012-05-02 16:17:04 +00:00
5a90ea77bc
style cleanup: follow style guide for formatting of if/for/while loops, and else if's
2012-03-24 06:24:53 +00:00
f18dab65ad
Fix #30531 : mirror modifier with vertex groups did not add both the left and
...
right groups to merged vertices, only one. This made the result asymmetric,
now merged vertices will be part of both groups with half weight.
2012-03-19 21:09:16 +00:00
4f19c1a995
spelling cleanup
2012-03-18 07:38:51 +00:00
79d97ca509
style cleanup - spelling.
2012-03-08 04:12:11 +00:00
f5f529e740
Fix freeing of NULL pointer in array modifier.
2012-02-22 13:15:29 +00:00
1b0802265c
Fix [ #30281 ] Left/Right vertex weights flipped.
...
Mirror modifier was flipping vgroups on org vertices, not mirrored ones!
2012-02-21 14:45:18 +00:00
e236fb157a
fix leak in mirror modifier.
2012-01-24 00:26:12 +00:00
1b505e6d1b
replace CDDM_calc_normals_mapping with CDDM_calc_normals when used within modifiers.
...
this way modifiers wont be calculating tessface's which CDDM_calc_normals_mapping will do if not already calculated.
2012-01-20 13:25:54 +00:00
ded0af482b
rename CDDM_calc_normals() --> CDDM_calc_normals_mapping
2012-01-06 00:12:24 +00:00
7d02f986b6
remove re-tesselation after constrictive modifiers, this way we can avoid calculating tessfaces between multiple constructive modifiers to speedup the modifier stack.
2012-01-05 12:50:23 +00:00
0a1e48fa78
only run remove doubles if a double is found.
2012-01-03 14:02:51 +00:00
cadb813102
change to bmesh mirror modifier.
...
Rather then making a copy of the input when its not a CDDM type, use functions which read from any derived mesh type.
2012-01-03 13:57:31 +00:00
20b425e5d1
minor changes for mirror modifier, bigger changes coming.
2012-01-03 09:37:57 +00:00
ab5bef6fbb
bmesh mirror modifier cleanup
...
* vertex map was a dynamicly realloc'd array when the final size was known, use a fixed array instead.
* vertex map was being calculated even when not used.
* face tesselation was being called twice.
* an unused deform group array was being created.
2011-12-29 09:15:06 +00:00
eee1ad6e56
bmesh mirror modifier wasn't doing UV mirror at all.
2011-12-29 07:29:44 +00:00
6b587bc5a1
svn merge ^/trunk/blender -r42957:42967
2011-12-29 06:44:51 +00:00
f951cbb90c
remove unused initFlags option in mirror modifier
2011-12-29 06:32:50 +00:00
c058d252d1
minor edits to trunk mirror modifier, use unsigned ints since the vertex values are unsigned + minor formatting edits
2011-12-29 06:07:34 +00:00
b527e9f0ac
array had its own unused vertgroup_flip_name function. removed.
2011-12-29 04:07:57 +00:00
c174f5682c
syncing modifiers with trunk - only small changes
2011-12-29 04:04:27 +00:00
397d7d949f
remove unneeded casts from 'unsigned int' to 'int'
2011-12-27 03:54:23 +00:00
db6cb30941
svn merge ^/trunk/blender -r42669:42670
2011-12-16 23:50:55 +00:00
3311164b24
Math lib: matrix multiplication order fix for two functions that were
...
inconsistent with similar functions & math notation:
mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)
For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
22a1ad61f9
svn merge ^/trunk/blender -r42372:42416
2011-12-04 18:39:19 +00:00
cbd5b492b1
remove use of deprecated struct members
...
- editmesh smooth & subdivide were using old mirror axis flag still.
- removed colbits from outliner and object code.
- commented some other parts of the code which access deprecated members and aren't called anywhere.
2011-12-04 06:39:35 +00:00
e59ab6486f
svn merge -r41751:41779 ^/trunk/blender
2011-11-15 02:05:32 +00:00
2266c7fc1c
Add CD_POLYINDEX layer to reduce need for retesselations
2011-11-13 15:13:59 +00:00
e84c0980a3
correct indentation and some whitespace edits (no functional changes)
2011-11-11 13:09:14 +00:00
12ace958f5
Miscellaneous warning fixes (mostly unused local vars) and trivial cleanups
2011-10-31 00:44:12 +00:00
75e570b2b7
svn merge -r41287:41310 ^/trunk/blender note, mirror modifier had slow, per vertex name flipping, replaced with flip_map from trunk
2011-10-27 09:42:03 +00:00
99075b35ed
fix [ #29044 ] applying mirror modifier causes crash; something with vertex groups?
2011-10-27 07:54:32 +00:00
15e6d6cd75
svn merge ^/trunk/blender -r41226:41227 .
2011-10-24 12:43:08 +00:00
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
44b9dae85f
Fix mirror modifier for mirroring relative to another object
2011-09-16 04:14:46 +00:00
fa59b80189
move smallhash into its own C file, was inlineing fairly large functions.
2011-09-09 02:52:20 +00:00
55a560c0c4
svn merge -r39286:39385 https://svn.blender.org/svnroot/bf-blender/trunk/blender
2011-08-16 06:30:14 +00:00
c265a686d8
Modifiers: add callback to loop over each texture assigned to a modifier.
2011-08-12 18:11:22 +00:00
068c627013
remove unused vars
2011-05-13 13:17:30 +00:00
798e0b02c0
=bmesh= modifiers can now be applied with shapekeys
2011-04-15 05:20:18 +00:00
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
7d465aa82d
fixed indexing bug in mirror modifier
2011-03-31 00:06:19 +00:00
d88bb9115f
=bmesh=
...
Coded a new modifier, "Precision UV Interpolation",
that triangulates, subdivides, then uses brecht's mean
value interpolation to interpolate face data.
Textures on ngon faces get interpolated a bit nicer, in
other words (though concave cases, e.g. 'N', don't work very well).
2011-03-25 00:32:38 +00:00
c7fccc84bf
use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf & editors.
2011-03-05 10:29:10 +00:00