Joseph Eagar
56d37e80a3
some bugfixes, merge to cursor didn't work
2009-09-12 04:03:26 +00:00
Joseph Eagar
db017a3b42
rewrote edge split modifier to be simpler and hopefully faster. and of course it handles ngons properly now.
2009-09-11 10:21:54 +00:00
Joseph Eagar
f81606b4bf
fixed some memory leaks, and made fkey only do one thing at a time.
2009-09-10 11:50:50 +00:00
Joseph Eagar
3ba1ac13d0
coded implemented for create faces from edgenet. note this is automatically executed from fkey now where appropriate, without popping up an annoying menu. also forgot to commit some ui scripts related to the pinning commit.
2009-09-10 11:23:34 +00:00
Joseph Eagar
4652d66c0a
editmode undo stores data as mesh dna now, instead of bmesh copies. also fixed a bug related to vpaint and hide flags.
2009-09-10 06:08:52 +00:00
Joseph Eagar
4c072f85d9
commit of transform pinning patch by Fabian Fricke (frigi). wip hotkey is enter/alt-enter to pin/unpin verts. pinned verts aren't affected by transform, e.g. grab, rotate, etc. this could probably work nicer for proportional editing, but that can be done later. also the UI for this probably needs reviewing and feedback. still, very nice patch by Fabian, something I for one will probably find very useful :)
2009-09-10 03:59:12 +00:00
Joseph Eagar
b0a1904d33
another optimization pass. biggest change is MDeformGroup->dw is now allocated via a somewhat simplistic, if effective allocator. This needs a little bit more work; I'd really prefer building this into guardedalloc, but the method requires mempools, which currently live in blenlib. and I'm not sure if we can have guardedalloc linking with blenlib? anyway, current allocator code is more of a temporary fix until I figure that out.
2009-09-10 01:46:52 +00:00
Joseph Eagar
ae446d79e0
gcc compile tweak
2009-09-09 08:29:38 +00:00
Joseph Eagar
d79a976058
gcc compile tweak
2009-09-09 08:25:39 +00:00
Joseph Eagar
e297d7afb0
gcc compile fix
2009-09-09 07:05:04 +00:00
Joseph Eagar
e0a014a45f
finished removedoubles, and inlined a bunch of functions.
2009-09-09 06:28:58 +00:00
Joseph Eagar
287cc0fad8
miscelleneous bug fixes and mem leak fixes
2009-09-06 06:47:59 +00:00
Joseph Eagar
67c64cf82b
more optimization stuff. transformed a few functions into macro that profiling showed were taking a bunch of time. also have some work-in-progress (if disabled) stuff related to inlining, which I'm trying to get working but may be too much trouble.
2009-09-06 02:43:36 +00:00
Joseph Eagar
971155b373
part one of profiling/optimizing. made cddm not update tesselations itself in cddm_from_mesh. also made BMO_Test/Set/ClearFlag into macros, and tweaked the way normals are calculated.
2009-09-05 06:10:30 +00:00
Joseph Eagar
bc0a071c29
draw face normals option doesn't crash anymore
2009-09-04 02:16:08 +00:00
Joseph Eagar
dae0b7a4a2
fix merge bug, this should fix this issue for now, but might need further work later.
2009-09-04 01:28:06 +00:00
Joseph Eagar
9bb0b42b9b
made editmesh<->bmesh conversion work again, hopefully (bleh). also made BLI_edgehash use mempools for allocating the bucket entries, for speed.
2009-09-03 05:52:05 +00:00
Joseph Eagar
c753b259db
compile fix
2009-09-02 20:40:17 +00:00
Joseph Eagar
564b9eabf6
compile fix
2009-09-02 20:36:48 +00:00
Joseph Eagar
cdce0f03c8
commit of patch 19268, rotate uvs by wael oraiby
2009-09-02 20:26:12 +00:00
Joseph Eagar
bb28b5d1fe
some merge, vpaint and wpaint bugfixes
2009-09-01 16:05:33 +00:00
Joseph Eagar
c91e8e6ca1
finished bmeshafying merge, though probably needs further testing and debugging. also fixed nasty bug in DM_to_mesh.
2009-08-31 23:07:05 +00:00
Joseph Eagar
9a5ffc8c38
brought weight paint back.
2009-08-31 15:57:13 +00:00
Joseph Eagar
63051a87a3
nasty bug with BMINDEX_***, reminds me of why those two macros are two-edged sword in the first place; they weren't supposed to be in the api at all, but various porting needs unfortunately demanded them
2009-08-31 01:39:03 +00:00
Joseph Eagar
2d9cee71a6
more subsurf stuff
2009-08-30 21:52:13 +00:00
Joseph Eagar
dc7ab9aa4e
subsurf normals fix
2009-08-30 21:36:16 +00:00
Joseph Eagar
8823761534
vpaint works with the new face structures, yay, though it probably still has issues, needs more testing. also hopefully fixed subsurf crash everyone but me was getting, what I found should have caused crashes even for me, no idea why it did not. also got face flags to work with subsurf, and partially got materials, though theres still a problem there.
2009-08-30 21:30:07 +00:00
Joseph Eagar
8408a72d16
cddm's recalc tesselation function works, and some memory leak fixes
2009-08-29 23:55:35 +00:00
Joseph Eagar
89f0284982
Shift-G (select similar) is now bmeshafied for vert select mode.
...
The patch was by Wael El Oraiby.
2009-08-28 10:59:16 +00:00
Joseph Eagar
771a4dee0b
commit of framework for uv/vcol rotate/mirror
2009-08-28 10:17:31 +00:00
Joseph Eagar
989dde4707
Shift-G (select similar) is now bmeshafied for edge select mode.
...
The patch was by Wael El Oraiby. Commit of patch #19257 .
2009-08-28 09:36:31 +00:00
Joseph Eagar
6dd345a323
forgot to bmeshafy the stats code the info window uses after the merge
2009-08-27 08:54:33 +00:00
Joseph Eagar
2abb982099
compile-fix
2009-08-27 07:07:41 +00:00
Joseph Eagar
de7f08cc41
merge with 2.5 at r22793
2009-08-26 10:27:04 +00:00
Joseph Eagar
a34ffefa00
fix for having a modifier following subsurf
2009-08-26 05:59:12 +00:00
Martin Poirier
d893b0f9ff
Clear transform flag on all bones that are not transformed.
2009-08-26 02:18:47 +00:00
Martin Poirier
833afdd9e7
Map manipulator to leftmouse, not actionmouse.
...
We don't want this to flip around when people change left or right mouse select.
2009-08-26 01:49:57 +00:00
Joshua Leung
4893cdc338
2.5 - Warning cleanups (for mingw+scons)
...
Also, made the Outliner's horizontal scrollbar work better for keymaps view. It's still using an approximation of the width, but at least you can scroll now.
2009-08-26 00:38:43 +00:00
Daniel Genrich
3f5a2a1194
Smoke:
...
*Bugfix for crash on using a plane as smoke domain (reported by DingTo)
* Bringing slowly high res back, not yet working
2009-08-25 23:39:49 +00:00
Guillermo S. Romero
c4a1c8fbeb
Unconditionally define WITH_OPENEXR.
...
Compiling openexr_api.cpp requires WITH_OPENEXR, to get the right part of the
openexr_multi.h file. Broken since r22739.
2009-08-25 22:56:08 +00:00
Campbell Barton
0a23895f95
remove all python api functions deprecated in 2.49
2009-08-25 22:51:18 +00:00
Daniel Genrich
6a5773d4a8
Smoke:
...
* Deleting high res modifier again
* fixing smoke + continue physics drawing
* fixing cache reset when changing dissolve
2009-08-25 21:53:52 +00:00
Diego Borghetti
cfcd355c27
Update Makefile and missing include on voxeldata.c
...
Note that With libsndfile also need libflac and libogg here (Linux), right
now I just add this two librarys to the NAN_SNDFILELIBS, but maybe
it's better split this ? (NAN_FLAC/NAN_OGG)
2009-08-25 21:25:41 +00:00
Daniel Genrich
37144b8178
Smoke:
...
* reset cache when changing heat or gravity
2009-08-25 20:22:40 +00:00
Daniel Genrich
0e9f7757b9
Pointcache:
...
*forgot 1 rename
2009-08-25 19:58:42 +00:00
Nicholas Bishop
fad1c3fb58
BMesh/CMake:
...
* Updated/added cmake configuration for building bmesh
2009-08-25 19:50:33 +00:00
Daniel Genrich
e2d91a5e5f
Pointcache:
...
* change function names
2009-08-25 18:53:20 +00:00
Daniel Genrich
1d1e8595f2
Pointcache:
...
*introducing unique ID's following brechts hint from ML
Enhancements resulting from this:
* multiple caches per modifier stack position
2009-08-25 18:41:36 +00:00
Arystanbek Dyussenov
706a4c22b5
Implemented dynamic and multidimensional array support in RNA.
...
Example code: http://www.pasteall.org/7332/c .
New API functions: http://www.pasteall.org/7330/c .
Maximum number of dimensions is currently limited to 3, but can be increased arbitrarily if needed.
What this means for ID property access:
* MeshFace.verts - dynamic array, size 3 or 4 depending on MFace.v4
* MeshTextureFace.uv - dynamic, 2-dimensional array, size depends on MFace.v4
* Object.matrix - 2-dimensional array
What this means for functions:
* more intuitive API possibility, for example:
Mesh.add_vertices([(x, y, z), (x, y, z), ...])
Mesh.add_faces([(1, 2, 3), (4, 5, 6), ...])
Python part is not complete yet, e.g. it is possible to:
MeshFace.verts = (1, 2, 3) # even if Mesh.verts is (1, 2, 3, 4) and vice-versa
MeshTextureFace.uv = [(0.0, 0.0)] * 4 # only if a corresponding MFace is a quad
but the following won't work:
MeshTextureFace.uv[3] = (0.0, 0.0) # setting uv[3] modifies MTFace.uv[1][0] instead of MTFace.uv[3]
2009-08-25 17:06:36 +00:00
Joerg Mueller
4ba6dbce76
Replaced G.sce by Main.name in sound.c.
...
I hoped for it to resolve the bug of loading sounds with relative paths didn't work, but Main.name isn't set before the sounds are loaded, so the bug resists!
Someone who is into file loading should please fix this!
2009-08-25 15:30:04 +00:00