Commit Graph

16327 Commits

Author SHA1 Message Date
Campbell Barton
714d532b8e Pointcache for unsaved files is saved in /tmp/blendcache_untitled/... instead of not generating pointcache at all, be careful since the temp path can be NULL or missing.
This is messy because the files can be left there when blender quits, however saveBuffers and sessions alredy do :/ Some cleanup function needs to Blender that deals with this!
2008-02-12 17:11:45 +00:00
Janne Karhu
a6f33fc444 Fix for bug: [#8271] Changes to the texture settings for particle attributes are not updated
- Material buttons code didn't set particles update flag
- Small change to how particle emit time is interpreted from textures, now the "time" texture output can actually be used for something
2008-02-12 16:36:03 +00:00
Brecht Van Lommel
66e69965b1 Bugfix: when defocus node had nothing to do and just passed on the buffer,
it didn't correctly deal with pointers, gave a crash in some circumstances.
2008-02-12 15:34:26 +00:00
Janne Karhu
f695c1524c Fix for bug: [#8269] Particle / Vizualization / Draw / Disp reduces rendered particles
- Hair didn't update the visibility flag of each particle
- Changing the disp value gave a too strong update call to particles
- Changed disp value behavior for dynamic particles a bit, now all particles are always calculated for uncached frames so that every particle gets it's data cached. Now the disp value actually does what it's supposed to do, it alters the amount of particles DISPlayed in viewport, but doesn't change the simulations. (With old particles it was possible to only calculate the disp amount of particles too as everything was always recalculated from scratch anyways, but now that particles are more complicated and cached etc. it's not an option anymore.)
2008-02-12 15:26:20 +00:00
Campbell Barton
3974a0a3c1 Added python access for baking
http://www.blender.org/documentation/246PythonDoc/
http://www.blender.org/documentation/246PythonDoc/Render.RenderData-class.html
http://www.blender.org/documentation/246PythonDoc/bpy_api_2_46.zip
2008-02-12 14:47:55 +00:00
Janne Karhu
c371346601 Fix for bug: [#8247] Hairs that are added in particle mode act and render unpredictably when soft body is activated
-softbody BodyPoint indexes were created with a lag of one leading to use of wrong softbody points for particles when creating path cache
-interpolation points for softbody hair weren't chosen optimally when not yet at the end of a hair
2008-02-12 13:38:07 +00:00
Daniel Genrich
a21c765f4b Cloth: Fix order in collision loop -> solving selfcollision could result in new cloth-object collisions, adjust 'collision quality' for the number of loops taken 2008-02-12 12:02:39 +00:00
Daniel Genrich
bbaec35734 GUI fixes: some minor gui tweaks for collision modifier 2008-02-12 11:31:22 +00:00
Daniel Genrich
e82484b0bb Cloth: New: *simple* (OpenMP enabled) Selfcollisions available 2008-02-12 11:04:58 +00:00
Janne Karhu
695ea7230a Fix for bug #8245. 2008-02-12 00:34:53 +00:00
Matt Ebb
5c13a35d63 * Fix for crash, drawing particle systems with 'col' set to draw strands in material colour, but no material (null pointer). 2008-02-11 23:24:16 +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
c82e9d0cc2 sometimes a posebones BONE_TRANSFORM would be set and cause RelaxPose to add unexpected keyframes. 2008-02-11 19:53:04 +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
Janne Karhu
61d84eeb2d Fix for bug #7857. 2008-02-11 14:38:30 +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
Brecht Van Lommel
fdbfd7e3a8 Bugfix: render crash with env material setting and ISB. 2008-02-11 13:04: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
c5c53b0f2d Bugfix: FSA enabled in compositing scene but disabled in other
scenes could crash, there was code to make sure osa level is
the same in all scenes, but that was set too late, after sample
tables are created.

Fix for some unitinialized vector warnings with FSA, these were
harmless, unfortunately.
2008-02-11 11:00:09 +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
Peter Schlaile
28c733406d == Sequencer ==
Align StripColorBalance correctly. Should fix

[#8242] new feature "3-way-color-correction" won't be saved with blend file
2008-02-10 23:40:58 +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
Nathan Letwory
f6dcb28560 * remove constness. 2008-02-10 20:41:59 +00:00
Campbell Barton
a4e27a689a added PyNode includes for Makefiles 2008-02-10 20:16:35 +00:00
Nathan Letwory
8a91b29b0f * make some explicit casts to make some compilers happy 2008-02-10 20:00:25 +00:00
Nathan Letwory
9d7ef684e3 * remove redundant define. 2008-02-10 18:48:29 +00:00
Peter Schlaile
67de0d3515 == Sequencer ==
Make F10 key work with the new sequencer panel.
2008-02-10 10:17:46 +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
Willian Padovani Germano
f46fcf7aab == PyNodes ==
1) Including the Add->Dynamic submenu in the Nodes window header. Previously pynodes could only be added via toolbox.
2) Disabling pynodes execution when using more than one thread for rendering. This prevents the crashes while a proper fix isn't implemented.
2008-02-10 03:40:24 +00:00
Willian Padovani Germano
34ddfb03c1 == BPy: scripts in menus ==
Fixing compile warning (about a var that was always true being used as condition in an "if" block).
2008-02-10 02:12:06 +00:00
Willian Padovani Germano
c691979370 == PyNodes ==
First fix in trunk: The "Update" button that appears in the Material buttons -> Nodes panel when a pynode is selected wasn't forcing an immediate update. Added a BIF_preview_changed call to fix it.

Let's pretend I actually knew that button also appeared there :) ... weeks working on pynodes and only right after Nathan commits to trunk I realize that this part of node panels is drawn in the buttons window, too.
2008-02-10 00:14:29 +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
Peter Schlaile
a37d9470a7 == Sequencer ==
Since mul changed into master gain slider, slightly raised limit, so that
color balance doesn't get too dark.

Fixed crash in float->float color balance.
2008-02-09 23:11:05 +00:00
Nicholas Bishop
727f9ff727 == Multires ==
Fixed bug #8215, Crash with shaded view + multires mesh
2008-02-09 20:50:25 +00:00
Martin Poirier
6e35a3c7f9 === Manipulator ===
Numinput working with the manipulator.

Someone suggested that on ba and it doesn't really hurt anyone/anything.
2008-02-09 19:00:12 +00:00
Brecht Van Lommel
2f6ff79fd9 - Bugfix: scenes with SSS materials slowed down preview render
unnecessarily.
- Small approximate AO optimization for sky colors/textures.
2008-02-09 16:30:33 +00:00
Brecht Van Lommel
611e6e79e2 Potential bugfix for an exr tile writing crash. SSS preprocessing now
doesn't write tiles to disk anymore (there is no reason to do so).
2008-02-08 22:09:47 +00:00
Joshua Leung
5bab02b5cb Ctrl-PageUp/Down in 3D-view now behaves the same as for the Timeline for consistency. The old behaviour for this (jumping between ob-ipo keyframes (Draw/Show Keys)) was not used that often, and has now been remapped to Shift-PageUp/Down 2008-02-08 20:15:07 +00:00
Daniel Genrich
b22dc0b849 Cloth: Fixed another spring problem 2008-02-08 15:47:47 +00:00
Brecht Van Lommel
0e98d2c441 Render optimization: approximate AO preprocessing is now partially
multithreaded.
2008-02-08 15:39:29 +00:00
Kent Mein
a8d47b37e5 Just removed some unused vars cleaning up some little warnings.
Kent
2008-02-08 15:36:39 +00:00
Joshua Leung
eb50288cde Bugfix for Custom Bone Shapes - 'Wire' Option:
Bones drawn using this mode can now be selected, and are drawn correctly in envelope mode. This may draw a bit slower, as it is done in a separate mode.
2008-02-08 05:31:12 +00:00
Daniel Genrich
1efba5bdb1 Cloth: Hopefully fixed bug reported from bjornmose (2nd try) 2008-02-08 00:55:48 +00:00
Brecht Van Lommel
cd0262b635 Small render engine optimization: don't create objects in prev/next
frames if they are not part of a renderlayer that has a vector pass.
2008-02-07 16:29:08 +00:00
Ton Roosendaal
44bd390cc6 FSA: tweaked merging samples with filter to correctly map edges of the
images. Found method that doesn't require image to be rendered larger.

Note: assembling pre-rendered parts that are result of FSA renders might 
still give minor visible artefacts on edges; however, we should include 
such render methods in the render pipeline, so multiple computers can
each render parts, save all samples, and have 1 computer assembling and
compositing all. This is for another project... :)
2008-02-07 12:14:58 +00:00