Commit Graph

47594 Commits

Author SHA1 Message Date
Campbell Barton
e9313749a1 bugfix [#20920] crash when render without camera and clicking into histogram (p) 2010-02-15 20:41:39 +00:00
Lukas Steiblys
866ecdebe7 added some more error checking for buffer allocation and fixed it up a bit. Hopefully this won't introduce new bugs and fix old ones. 2010-02-15 19:09:59 +00:00
Campbell Barton
c5bcbad779 Proxy ID property syncing
This means pose bones on proxy poses can have their own values as long as the name and type matches that of the library pose bone.
without this the only way to add new values on a pose bone proxy is to protect in the lib, reload the proxy blend and save.
2010-02-15 18:43:54 +00:00
Ton Roosendaal
50cd69d8d9 Test code for Brecht:
Added a function that quickly extracts a full main dbase from an undo buffer,
to pass on to render code. This will efficiently then make a render using only
own memory, allowing real threading and running multiple renders at once.
2010-02-15 18:36:06 +00:00
Brecht Van Lommel
9bd50214d3 Fix artifacts in bump map render with Object coordinates. Float precision
is problematic here with coordinates being transform by matrix and back by
inverse, so tweaked the epsilons to avoid the problem.
2010-02-15 16:45:45 +00:00
Arystanbek Dyussenov
b3d41ac144 Merge -c 26897,26932 from COLLADA branch into trunk. 2010-02-15 16:18:21 +00:00
Brecht Van Lommel
7f8fbda806 Fix #21116: wrong shortcut key in view navigation menu. 2010-02-15 14:15:34 +00:00
Brecht Van Lommel
0fd7fb50d9 Fix #21073: toggling image premultiply did not reload image. 2010-02-15 12:59:58 +00:00
Brecht Van Lommel
5e58daa098 Fix #21078: image paint undo didn't work correct with wrap option, moved
wrapping code to paint_image.c so it can be used for the undo push.
2010-02-15 12:57:16 +00:00
Campbell Barton
c864df6cfe support for camera shift with UV camera project. 2010-02-15 12:50:10 +00:00
Lukas Steiblys
1c24096de8 Patch: [#20408] Bugfix GLSL shading with VBO
Thank you, Andre Tibben, for the fix.
2010-02-15 12:35:32 +00:00
Campbell Barton
882af97b4b classes were having their dictionary cleared when the blender extension data was freed which made re-registering fail.
now extensions can be enabled and disabled without having to reload them.
2010-02-15 11:24:43 +00:00
Daniel Salazar
957baf7d6a Inline tooltips and descriptions of export/import
Random fixes and tweaks in names and tooltips
2010-02-15 09:53:02 +00:00
Brecht Van Lommel
38298d2c22 Fix memory leak "dist table" in node curve mapping. 2010-02-15 09:13:07 +00:00
Brecht Van Lommel
f41660cfd0 GLSL: fix some notifiers for scene settings and remove unneeded check. 2010-02-15 09:03:22 +00:00
Campbell Barton
ea8b072b75 [#21023] 2 Dynamic loading patches (one bugfix, one feature)
patch from Mitchell Stokes (moguri), only the bugfix part for now.
2010-02-15 09:01:52 +00:00
Campbell Barton
83fd3fbb43 copy animdata and id-props when copying material node tree's to avoid double memory frees or node trees sharing animdata when they shouldnt. 2010-02-15 08:50:04 +00:00
Brecht Van Lommel
12cd5617ea Fix very long render time when using a large filter size with the new
image sample code. I've added a dumb clamping now of dxt/dyt, probably
could use a smarter solution but it's not likely to be noticeable.
2010-02-15 08:29:01 +00:00
Martin Poirier
1f3faf0591 Fix compile error on 64bit (padding error in inline struct) 2010-02-15 03:29:51 +00:00
Thomas Dinges
10ddcb0491 DNA Compile fix for my recent theme commit. 2010-02-15 03:07:09 +00:00
Thomas Dinges
6753411adb Console:
* Added own theme support for the cursor, was depending on the line_error color before.
2010-02-15 02:39:40 +00:00
Tamito Kajiyama
12506ed6a1 Reverted the changes for adding support for transparent stroke colors,
because of incomplete functionality.

When two transparent strokes intersect, the stroke drawn first is
completely overridden by the stroke drawn after the first stroke,
instead of two stroke colors being blended at the intersection.
2010-02-15 00:07:15 +00:00
Campbell Barton
677386e53a initial support for extensions in the user preferences
only one script at the moment:
 [#20848] Blender Gears for 2.5 (for ideasman42)
 from Michel Anders (varkenvarken)
2010-02-14 23:33:18 +00:00
Joerg Mueller
190d84a08b Flac encoding now working. Thanks peter schlaile for the help! 2010-02-14 15:38:05 +00:00
Brecht Van Lommel
cd3c70cca2 Fix #20400: hair particles do not render when in "particle mode"
if children present.
2010-02-14 15:11:39 +00:00
Brecht Van Lommel
32aea49b6d Fix #20171: properties of hair are not animateable. 2010-02-14 14:37:26 +00:00
Brecht Van Lommel
be575aa3a0 Fix #20282: particle normal force can be animated but not driven. 2010-02-14 14:18:23 +00:00
Brecht Van Lommel
3de9280ecf Fix #21150: duplicating an empty could crash. 2010-02-14 13:51:05 +00:00
Campbell Barton
39c04315e2 change python scripts so modules which register with blender have a register() function rather then making import automatically run the register functions (generally considered bad practice by python people) 2010-02-14 11:21:21 +00:00
Daniel Salazar
b02f78ed02 Using multiline descriptions like this:
"""                                                                                              
    Fixes the most common causes of gimbal lock in the fcurves of                                    
    the active bone.                                                                                 
    """
is causing bad glitches (boxy characters) on the tooltips..
2010-02-14 07:05:50 +00:00
Daniel Salazar
4d218824c5 Better tooltips and button name in some case in file browser 2010-02-14 06:18:17 +00:00
Tamito Kajiyama
903cc89e30 Added support for pixel-based density and Z depth information.
Availability of pixel-based density and Z depth information depends
on passes of a render layer being rendered.

- Density information is available if the diffuse pass of the render
layer is enabled.  It is accessible through the DensityF0D and
DensityF1D functions provided by the Freestyle Python API.  These
functions return 0 if the diffuse pass is disabled.

- Z depth information is available if the Z pass is enabled.  It can
be accessed through LocalAverageDepthF0D and LocalAverageDepthF1D.
These functions return 0 if the Z pass is disabled.
2010-02-14 03:17:52 +00:00
Brecht Van Lommel
d0d47c70a9 Avoid a DNA parsing bug that would parse "float gravity [3];" as two
struct members "gravity" and "[3]". Now it throws an error in this case,
safer than trying to fix the parsing code. Also patches the old DNA of
ClothSimSettings which had this problem .. very ugly code.

Fixes #20330: cloth sim settings getting corrupted when read from 2.49.
2010-02-13 23:18:28 +00:00
Benoit Bolsee
ce26d457ba Support GPU image auto_refresh also for movie (was for sequence only). 2010-02-13 21:24:13 +00:00
Martin Poirier
36520e20c7 - Extrude Menu call "extrude regions along normals" for Region option
- Extrude Menu not longer restricted by selection mode, only selection totals (will show all possible options for the selection, regardless of selection mode)
- Missing operator descriptions
2010-02-13 20:08:54 +00:00
Martin Poirier
5d9fcfb3ec Copy vertex normals on extrude (Normal orientation is wrong otherwise when not extruding faces). 2010-02-13 20:06:56 +00:00
Campbell Barton
3917691297 [#21130] Fix segmentation fault when adding Empty object in Blender rev26870
from Sergey Sharybin (nazgul)
2010-02-13 15:50:46 +00:00
Campbell Barton
0988f65146 fix for blenderplayer building. 2010-02-13 14:18:54 +00:00
Campbell Barton
4eb629c696 own error in recent commit. 2010-02-13 14:05:04 +00:00
Brecht Van Lommel
d125f17db8 Fix #19736: GLSL viewport materials are not updated on all changes. 2010-02-13 13:49:27 +00:00
Campbell Barton
39c3ebdc91 fix for memory leak: node animation data wasnt being free'd
also some corrections to memory debug stuff.
2010-02-13 13:38:10 +00:00
Brecht Van Lommel
4be8384e27 Fix #20391: onlyshadow material doesn't render transparent shadows.
Fix #21033: AO + onlyshadow problem. Reverting to the old behavior which
I don't really understand, but at least it's compatible.
2010-02-13 13:17:15 +00:00
Ton Roosendaal
b673f7318c Added support for animated texture draw, GLSL textures.
Note, this is not like GE ffmpg, but Blender Image Texture
display for GLSL materials. Speed can be disappointing,
use smaller images for realtime edits.
2010-02-13 13:09:30 +00:00
Campbell Barton
e92b5292c8 print blend file loading, because...
- Often need to open a file that just crashed/hung in valgrind or gdb
- Sometimes need to commit a blend that was just opened and blender has no fast way to get the blend file in the clipboard.

since libraries also print in the console, dont see any problems with adding this.
2010-02-13 12:41:58 +00:00
Brecht Van Lommel
9250f15f74 Fix #20378: object modifier property drivers not updating. 2010-02-13 12:16:33 +00:00
Tamito Kajiyama
fdaa460635 Added changes for showing the rendering status in the status bar of
the Info window.
2010-02-13 12:16:08 +00:00
Tamito Kajiyama
f022cc4f90 Added changes for escaping from rendering by pressing the ESC key.
ESC key press checks are performed 1) before entering Freestyle, and
2) after the completion of the view map creation.
2010-02-13 11:37:34 +00:00
Campbell Barton
6c9aa76d21 revert joes commit and apply change from Aligorith.
remove scripts dir only.
2010-02-13 10:55:04 +00:00
Tamito Kajiyama
135a944c66 Merged changes in the trunk up to revision 26856. 2010-02-13 01:13:16 +00:00
Jens Ole Wund
ac7f0ac606 fixing cuckoo bugs
- no i really don't like abusing group indexes (would like to have written indices .. but spell checker complains  SIGH )
anyhow 
lattices and curves do not care for ambiguous vertex group index any more
just take weights as they are set
2010-02-13 00:52:01 +00:00