Commit Graph

11497 Commits

Author SHA1 Message Date
Janne Karhu 695ea7230a Fix for bug #8245. 2008-02-12 00:34:53 +00:00
Martin Poirier 798d8ebf26 == Warning/Bug Fix ==
Bone extension string was not long enough for new extensions .bot and .top. This was surely causing some stack memory to be overwritten...

Warning reported by JMS on french newsgroup.
2008-02-11 22:18:41 +00:00
Daniel Genrich bb715a93b9 Cloth: 1. Speedup of collisions (up to 50%, see new dancing ballerina stats here: http://www.dldw.de/tmp/index.php?file=i_cloth-kdop-dancingb.jpg ; 2. changed vertex paint reset behaviour to only reset cloth if vertex group is really used 2008-02-11 20:40:22 +00:00
Campbell Barton 79c0360e88 IDP_CopyGroup wasn't copying the length, thanks Caedes for finding this one 2008-02-11 18:26:19 +00:00
Janne Karhu e706fc522b Fix for bug #8186. 2008-02-11 17:24:03 +00:00
Daniel Genrich 69e6a6cbc9 Pointcache: Fixed non-availability when blend file was loaded from command line and also another case where you startet from an unsaved blend and switched to a saved one; Cloth: Fixid mass init, little speedup for collisions; Collision Modifier: More generalized it 2008-02-11 13:30:52 +00:00
Campbell Barton f33faa8f5f python scriptlink for ObjectUpdate and ObDataUpdate, Redraw events are not practice in many real world cases, this can give more specific updates.
Discussed with Caedes, Brecht and Ton, can rework if needed.
2008-02-11 12:01:14 +00:00
Brecht Van Lommel db3f203cb9 Bugfix: on loading proxies, the pose is often wrong initially, which
only becomes correct after a frame change. This also caused errors in
vector blur with strands. Cause was the BONE_UNKEYED flag, which is
not valid anymore after file read with proxies, and should be cleared.
2008-02-11 10:08:39 +00:00
Nathan Letwory 23aad3c5fe * change integral type of loop var in two cases so OpenMP support compiles with MSVC, too.
* remove wrong flag.
2008-02-11 08:27:54 +00:00
Campbell Barton 4f9f42d30e World settings ambient occlusion could be set even when its a library
making local objects with a dupligroup didnt disable the indirect flag, also made the tool respect visible and restricted flags.
2008-02-11 03:16:22 +00:00
Willian Padovani Germano 9615532ccb == Pynodes ==
1) Trying to bring back compatibility with Python2.3.
2) Adding some stubs to compile blender player again on linux.

Please tell me if Blender still doesn't compile with py 2.3 or if the player isn't compiling. There was a binreloc related stub I needed to add, so probably the player wasn't compiling before the pynodes commit.

Thanks PanzerMKZ for reporting and testing part of the fix to py 2.3.
2008-02-10 21:12:44 +00:00
Nathan Letwory a7702e3d94 * make CMake compile again (after pynodes addition). Patch provided by skejoe. 2008-02-10 20:50:50 +00:00
Joshua Leung 9992b37ac1 Constraints Bugfixes/Tweaks:
* Optimised transform constraint a bit
* PyConstraints now show the script-selection menu correctly when a new constraint is added (i.e.  it now displays the correct initial value).
2008-02-10 10:01:57 +00:00
Nathan Letwory 16514e3ddb * Merge of PyNodes to trunk. Finally!
See http://wiki.blender.org/index.php/BlenderDev/PyNodes and
  http://wiki.blender.org/index.php/BlenderDev/PyNodes/API
  For current documentation.

  Very very big thanks go to William Germano for fixing the memory issues left
  and for improving on the code.

  In the coming time documentation will be finalised and further stabilising
  of PyNodes is to be expected.
2008-02-09 23:17:15 +00:00
Nicholas Bishop 727f9ff727 == Multires ==
Fixed bug #8215, Crash with shaded view + multires mesh
2008-02-09 20:50:25 +00:00
Daniel Genrich b22dc0b849 Cloth: Fixed another spring problem 2008-02-08 15:47:47 +00:00
Kent Mein a8d47b37e5 Just removed some unused vars cleaning up some little warnings.
Kent
2008-02-08 15:36:39 +00:00
Daniel Genrich 1efba5bdb1 Cloth: Hopefully fixed bug reported from bjornmose (2nd try) 2008-02-08 00:55:48 +00:00
Daniel Genrich eb281bff39 Cloth: 1. fix problem with pinning (reported by ZanQdo), 2. fix cache protected + 'not saved' gui message bug (reported by Tobias Regenbrecht) 2008-02-06 22:59:56 +00:00
Peter Schlaile db6cef5602 == FFMPEG ==
Applied  	

[#8213] fix some library calls (freetype,ffmpeg)

to fix a segfault when linking against newer ffmpeg-libs.
2008-02-06 22:45:46 +00:00
Daniel Genrich a8c25e279d Cloth: Fix for crash with meshes with no faces, 2. Fix for crash on switching from to another mesh 2008-02-05 15:09:48 +00:00
Daniel Genrich 7a70e5c0c0 Cloth: 1. Fix for deflection being enabled thourgh softbody interface, 2. Fix for wrong calculated friction, 3. Fix for some header which was accitently blown up by my editor 2008-02-05 14:11:48 +00:00
Nathan Letwory 7da9a441b2 * revert to r13013 - now everything compiles again 2008-02-04 09:40:32 +00:00
Nathan Letwory 565d5282fc * remove return statement. 2008-02-04 09:34:08 +00:00
Nathan Letwory 342f15a93b * make function signature like the one in .h. - zaghaghi, please check this again. I understand you merged accidently some old stuff. 2008-02-04 07:00:11 +00:00
Hamed Zaghaghi 47b53510a5 merging game_engine branch changes into trunk, 2d-filters and opengl speedup 2008-02-04 02:33:27 +00:00
Daniel Genrich 0e7bdb959e Cloth: Fixed: [#8210] (includes bad spring calculation), only mesh can get cloth assigned, New: initial try of Bridson/Fedkiw friction formula implementation, better GUI feedback when e.g. cache is protected and settings too 2008-02-03 22:37:43 +00:00
Campbell Barton a9518afc67 feature request from peach, remove selected objects from 1 group.
Also made rem_from_group return if it removed the object which save some looping.

Added a node in the blender help message that background mode dosnt load the .B.blend file as a bug was reported recently because of this.
2008-02-03 19:03:18 +00:00
Joshua Leung 8bcd905439 2 Tweaks:
* Action Editor now doesn't draw channels which are out of view at all, which should help to provide (some minimal) improvements in some situations
* Typo in comment in constraints code
2008-02-03 07:43:00 +00:00
Jens Ole Wund(bjornmose) d09fe9d228 users feature request
-- material memory
2008-02-01 23:20:29 +00:00
Nicholas Bishop 9d9ba57038 == Sculpt ==
Added a new brush option, "Anchored". When enabled, the brush doesn't move with the mouse, but rather stays in it's initial location and grows larger or smaller to follow the mouse. Good for brushing alphas on to the mesh. (Note that this option isn't available for the grab brush, and ignores the smooth stroke option.)
2008-02-01 19:45:11 +00:00
Brecht Van Lommel 3e98fb0f38 - For particle path visualization, set the default number of steps
lower to save memory.
2008-02-01 12:47:20 +00:00
Brecht Van Lommel baf7be9e46 Memory usage debugging: now with the -d debug option enabled, at the end
of rendering it prints memory usage for images and all memory blocks.
2008-02-01 12:14:15 +00:00
Jens Ole Wund(bjornmose) 2fc05a1f38 --bug fix (own collection)
face collision did overreact on dagger edges
2008-01-31 23:00:08 +00:00
Daniel Genrich 2a3e93444a Replaced all *f geometric functions like sinf etc. with sin etc. (were used in 2 functions from the gnu scientific library) 2008-01-31 12:29:57 +00:00
Daniel Genrich cac8215cad Cloth bugfix: enable stiffness scaling again even if cloth is not pinned 2008-01-30 22:00:12 +00:00
Daniel Genrich fd877543d1 New: Collision Modifier and Cloth can be at any position on the modifier stack. BUT everytime the vertices count change, they will free themselves and internal build new (they rely on vertex count). Should be no problem anymore with e.g. subsurf modifier before collision modifier (tested). Fix: applied a patch from schlaile to get my bullet additions compiled with gcc 3.3 2008-01-30 14:01:05 +00:00
Peter Schlaile 5714c84c54 == Sequencer ==
Fix blend opacity of old files, so that strips do not silently disappear.
2008-01-30 10:27:16 +00:00
Daniel Genrich 4ed28a99a7 Cloth: Bugfix: 1. Kicking esc again, 2. Collision modifier needed to be updated when going backward in time, 3. GUI change when no bullet there 2008-01-30 02:05:37 +00:00
Daniel Genrich 7a7a52226f makes bullet independant from gameengine for cmake, introduces esc-key during sim, disables collisions when no bullet there 2008-01-29 23:13:31 +00:00
Daniel Genrich 77685023ca Initial commit of cloth modifier from branch rev 13453 2008-01-29 21:01:12 +00:00
Brecht Van Lommel 3d3023126a Fix for bug #7965:
Array modifier could generate edges with twice the same vertex, fix
provided by Ken, thanks.
2008-01-29 19:49:03 +00:00
Brecht Van Lommel 31ecc5cba0 Fix for bug #8124: dupli particles were not rendering in some cases,
now added dependencies so they are passed to the render engine in
the right order to detect the duplis.
2008-01-29 18:29:14 +00:00
Daniel Genrich 2f4ca518ea svn merge -r 13415:13452 https://svn.blender.org/svnroot/bf-blender/trunk/blender 2008-01-29 16:42:57 +00:00
Daniel Genrich 5da7f4df47 -= Cloth cleanup =-
Fixes:
- Cloth event refactor to solve 2 unknown cache bugs
- Cloth vgroup refactor (faster + scalable stinnes now working)
- Cloth + Collision modifier on one object crash
- Editmode + faceextrude on baked cloth crash
- Stiffness groups would get pinned
- Correct scaled stiffness calculation
- Fixes freeing error under some circumstances
- Deactivating reset/cache freeing when in editmode
- Autobaking setting doesn't get screwed up anymore
- More than 1 collision object in a scene could explode
- Pinning + not protected cache didn't reset cloth
- Start simulation on first frame and not on 2nd
- Maximum structstiff now correct (copy-paste error)
- Loading file with baked cloth calculate the spring length correctly 
- Loading file behaviour improved with cache
- Collision object is evaluated first (untested)
- Debug output activated with rt>0

Be carefull: Files with some cloth cache or something should be 
regenerated.
2008-01-29 16:32:42 +00:00
Brecht Van Lommel 8e94028ed5 Bounding box clipping in the render engine.
Now bounding boxes are computed per object, and checked first before
zbuffering objects. For strands, bounding boxes are computed per
original face in the mesh. Overall the speed improvement from this 
is quite small (zbuffering is rarely the bottleneck), but it seems a
sensible thing to do anyway.
2008-01-29 12:20:42 +00:00
Daniel Genrich 9c1fa1ff4d WIP commit, many debug outputs, extensive log comes after bug is killed 2008-01-29 02:24:37 +00:00
Campbell Barton d4411e6769 object in dupli instances were not getting modifiers applied with render settings 2008-01-28 20:45:28 +00:00
Ken Hughes 232be3a2e8 Fix syntax error in earlier commit. 2008-01-28 05:20:42 +00:00
Joshua Leung 354e6b9c18 == Automatic Bone Extension Adder ==
Added three new tools to the WKEY menu for Armatures in EditMode/PoseMode. These add .* extensions to the names of selected bones based on their position in 3d-space on the axis considered by that tool.

The current naming schemes are based upon the extensions I normally apply. Some people may have slightly different preferences though.

There is one for:
* Left-Right names (along x-axis)
* Front-Back names (along y-axis)
* Top-Bottom names (along z-axis)
2008-01-28 00:53:54 +00:00