9087cb91d4
quiet compiler warnings for BLI_array defines, split BLI_array_append into BLI_array_append / BLI_array_append_r, the latter returning the new array location.
2011-11-16 17:09:41 +00:00
2266c7fc1c
Add CD_POLYINDEX layer to reduce need for retesselations
2011-11-13 15:13:59 +00:00
7508540c53
svn merge -r41575:41602 ^/trunk/blender
2011-11-07 07:01:24 +00:00
bb8fe0bf4a
minor edits
...
- remove unneeded type check from convert grease pencil operator.
- correct some error prints & use __func__.
- make copy_libblock take an ID* argument rather than void*.
2011-11-07 04:36:37 +00:00
9aa901cccc
svn merge -r41422:41431 ^/trunk/blender
2011-11-01 09:05:38 +00:00
e3f03d72b6
added path traversal flag - BPATH_TRAVERSE_SKIP_MULTIFILE,
...
so path manipulation functions dont run multiple times on the same path in the case of sequence strips where the one directory is used as the base for many images.
2011-11-01 06:26:55 +00:00
e08c4a00d2
svn merge -r41371:41420 ^/trunk/blender
2011-11-01 02:01:09 +00:00
9c5a620e4d
Fix problems with setting (and respecting) correct visibility of rim faces created by solidify modifier
2011-10-31 00:34:19 +00:00
a8df5cbc76
move make_uv_vert_map() to bmesh - use MLoopUV's rather than MTFace's.
...
also some formatting on BLI_array
2011-10-30 09:19:07 +00:00
c4fa7bf286
make_uv_vert_map() was looping over the texture face for not reason.
2011-10-30 06:53:25 +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
f7d5cea669
use path remapping for all make local functions, patch from Alex Fraser with changes.
2011-10-27 05:34:39 +00:00
a267f9ba4e
edits ontop of Alex's patch from r41292.
...
pass main rather than use G.main when naming from -> to relative paths.
2011-10-26 21:22:35 +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
4e118bb22f
svn merge ^/trunk/blender -r40890:40950
2011-10-14 01:35:20 +00:00
7eadd540d4
svn merge ^/trunk/blender -r40872:40890
2011-10-13 22:50:01 +00:00
bc40f11093
header cleanup (no functional changes)
2011-10-10 09:38:02 +00:00
5e300f40f0
Fix for 28859 (found and reported with fix by nico_ga from #blendercoders)
2011-10-09 21:59:29 +00:00
7306eb84f0
move NavMesh draw code out of being a modifier and into DerivedMesh drawing hack (which IMHO is less bad then mis-using a modifier only to override drawing calls).
2011-10-09 21:11:51 +00:00
4c3a817f60
More normal fixes, this time for object mode calculation of vertex normals
2011-09-30 05:27:44 +00:00
91587ed302
svn merge ^/trunk/blender -r40381:40382
2011-09-23 06:35:49 +00:00
13dfd82997
changes for materials to treat them as shorts not int/chars (since they are stored as shorts intermally)
...
- converting nurbs to mesh was casting the material to unsigned char.
- subsurf was casting to char, then int -> short in a loop.
- have material functions take & return shorts.
2011-09-20 06:25:15 +00:00
8c43e785d9
revert own commit r40051, mesh and object pointers are needed for undo, this commit caused bug [ #28625 ] Separate crash bug.
...
also added a safety check for the crash, even though reverting fixes.
bmesh_to_mesh_exec() could set me->mface array to NULL but leave me->totface when notellelation=1, which is likely to give trouble elsewhere.
2011-09-12 02:23:30 +00:00
3f91c0ab5d
correct edit some comments
2011-09-09 14:51:30 +00:00
0727893231
remove mesh and object arguments from bmesh operators, these are stored within the BMesh its self.
2011-09-09 02:21:57 +00:00
21bb71eaa9
fix for bug converting text/surface/curve displists to mesh only getting the first face, also wasnt copying smooth flag.
2011-08-17 05:42:23 +00:00
59e95fa0ff
=bmesh: bridge edge loop tool=
...
rough version of a new bridge tool.
ctrl-e -> bridge (two) edge loops
2011-08-15 23:38:51 +00:00
aaa72c575a
revert unneeded eekadoodle fix
2011-08-10 10:32:23 +00:00
cbb2e58b68
fix mirror when have dup faces; prevent eekadoodle on tess recalculation
2011-08-08 17:30:19 +00:00
Dalai Felinto
432bd158fb
bugfix [ #28111 ] material.pop breaks mt->mat_nr
...
create a new parameter for materials.pop() to not remove material slot.
this way the mat_nr is still the old one.
for the default behaviour we now have material remapping (i.e. data_delete_material_index_id(id, index)).
This new function is brought from the material_slot remove function.
2011-07-31 11:12:38 +00:00
142d87f154
=bmesh= committing not-quite-functional edge split modifier code before replacing it with a bmesh version, taking too much time to debug right now.
2011-06-01 19:30:19 +00:00
068c627013
remove unused vars
2011-05-13 13:17:30 +00:00
cd55aeaf6d
set many vars & functions as static,
...
also commented invalid pin theme alpha assignment so bmesh branch builds with -Werror
2011-05-11 02:14:43 +00:00
5ba0c2c049
tag unused arguments, quiet some warnings
2011-05-09 14:32:55 +00:00
b93594bf30
quiet more compiler warnings, also found a bug using printf rather then fprintf.
2011-05-09 05:09:07 +00:00
5a2a3d7d82
more syncing with trunk, also cleared many warnings with gcc4.6
2011-05-09 04:06:48 +00:00
6ef77cf95a
=bmesh= merge from trunk at r36529
2011-05-08 23:43:18 +00:00
e0c83f2de9
=bmesh= made connected PET work better
2011-04-29 17:32:42 +00:00
e4cc1c3f2c
fix [ #27178 ] Material links lost when making mesh data local
...
- making local object data - Curve/Mesh/MBall lost references to linked materials.
- joining a linked mesh object into a local one lost the link.
As well as these reported bugs, checked all local functions for consistency/correctness and found other cases which would also fail.
- making local metaball didn't ensure unique ID name.
- make_local_armature() was missing check for object users - main body of code would never run.
- local particles didn't set the dupli-group or textures to extern.
checked all local functions for consistency/correctness.
2011-04-26 07:17:21 +00:00
b85935cbbc
=bmesh= fixed material deletion
2011-04-24 08:11:44 +00:00
84afe5f3c9
=bmesh= fixed a tesselation bug, and smooth shaded operator in object mode
2011-04-24 08:06:26 +00:00
210ee1ade4
whitespace only, no functional change mixed tabs/spaces --> tabs.
2011-04-21 13:11:51 +00:00
62a02764ab
fix [ #27096 ] Segmentation Fault trying to export DirectX with specific model
...
copying a mesh in editmode didnt NULL the edit_mesh pointer.
2011-04-21 09:03:04 +00:00
2a24370bab
=bmesh= fixed a shapekey issue with undo
2011-04-17 05:08:03 +00:00
489eaaa46d
=bmesh= build modifier works now, also made scanfill thread-safe
2011-04-16 23:58:49 +00:00
798e0b02c0
=bmesh= modifiers can now be applied with shapekeys
2011-04-15 05:20:18 +00:00
c785b06cc4
fixed a bug with normals
2011-04-15 02:18:24 +00:00
c98148a963
=bmesh= merge from trunk at r36153
2011-04-15 01:19:13 +00:00
d3e4c2243d
correct typo
2011-04-14 22:15:43 +00:00