Commit Graph

19162 Commits

Author SHA1 Message Date
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
4c849249bc forgot to commit this looong time ago 2009-08-31 21:19:30 +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
Joerg Mueller
91cd6fe2c4 libsndfile is not available yet for darwin, builders feel free to add the lib! 2009-08-25 20:42:21 +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
Andrea Weikert
0ff90bb258 blender 2.5 MSVC projectfiles
* update for bpy_array.c
2009-08-25 17:32:01 +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
Andrea Weikert
7288bacad9 blender 2.5 MSVC projectfiles
* update for volume rendering
* update for audaspace jack
* update for rna: animation_api.c, scene_api.c
2009-08-25 17:05:04 +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
Thomas Dinges
3d7215da58 2.5 Material Buttons:
* Fixed some poll checks, they showed empty panels when there was no active material.
* Some minor code/whitespace cleanup.
2009-08-25 14:26:27 +00:00
Campbell Barton
9521fa9456 remove gameOb.has_key(key) method from KX_GameObject and ListValue since python 3.x removes has_key from dictionaries.
Instead use __contains__, eg.
 if key in gameOb: ...
 
Mathutils returns from PyMath.cpp were incorrectly using wrapped Mathutils types. Wrapped types should only be used with a callback now.
2009-08-25 13:54:56 +00:00
Campbell Barton
855974dad9 patch from Mitchell Stokes adding dictionary like access to a scene. (like KX_GameObjects have)
val = scene["prop"]
scene["prop"] = newval
if "prop" in scene: ... 
val = scene.get("prop", fallback_val)
2009-08-25 13:43:21 +00:00
William Reynish
8aa6f672ba Moved the autokey mode menu from the timeline header into the timeline menus. Its previous prominent large size made it seem like this setting was very important, when in fact it's a setting you are almost never likely to touch. This helps clean up the main UI. 2009-08-25 12:31:35 +00:00
Nathan Letwory
4c8d32b4bf == SCons ==
* Add sndfile support (False by default).
  Note: for this to work, make sure that FFMPEG-support is disabled.
2009-08-25 10:56:01 +00:00
Joshua Leung
2d38d0d1e1 2.5 - Keying Sets Bugfix
Single-value properties in KeyingSets were not getting keyframed.
2009-08-25 10:32:53 +00:00
Joseph Eagar
0ea787041d subsurf works now! YES! take *that* subsurf_ccg.cscons/scons.py BF_QUICK=bf_python,bf_blenkernel,bf_blenlib,bf_blenloader,bf_editors_mesh,bf_bmesh,bf_editors_space_view3d,bf_editors_transform,bf_makesdna,bf_makesrna,bf_dna,bf_rn,bf_bmesh,bf_editors_object,editors_uvedit,editors_space_image,editors_screen,editors_space_screen,editors_space_api,bf_windowmanager,bf_wm still an issue with some modifier combinations though, and I think there's some memory corruption going on, need to valgrind it. 2009-08-25 10:21:10 +00:00
Nathan Letwory
01bd67bd1a * removed misleading comments. In short: NEVER EVER copy platform defaults in their entirety as your user-config.py.
I'm taking this commit log as an opportunity to also remind people of the existance of doc/blender-scons.txt .
  If you're a user reading these commit logs, and you haven't pre-ordered the Durian DVD yet, do so now: http://www.blender3d.org/e-shop/product_info_n.php?products_id=120
2009-08-25 09:47:14 +00:00
Matt Ebb
1441f337fb Small error detected by valgrind, thanks cam 2009-08-25 08:11:37 +00:00
Matt Ebb
a81b458dbd * Volume Rendering
Finally in 2.5 branch :)

Still things to do, but will continue working in here. I won't bother
repeating the commit messages from the last year or so, however I've 
written up some technical docs to help Ton/Brecht/etc review and find 
their way around the code:
http://wiki.blender.org/index.php/User:Broken/VolumeRenderingDev

That above page has some known issues and todos listed, but I'm still 
interested in bug reports.

Credits for this code:
* Matt Ebb 
(with thanks to Red Cartel/ProMotion Studios)
* Raul Fernandez Hernandez (Farsthary) for patches:
  o Light cache based multiple scattering approximation
  o Initial voxeldata texture code
  o Depth Cutoff threshold 
* Andre Susano Pinto for BVH range lookup addition
* Trilinear interpolation adapted from pbrt
* Tricubic interpolation from libtricubic
2009-08-25 06:30:09 +00:00