12 years agoRemove extraneous class qualifiers for gcc 4.2 / 4.3 on OSX.
Stephen Swaney [Fri, 7 Mar 2008 01:19:36 +0000 (01:19 +0000)]
Remove extraneous class qualifiers for gcc 4.2 / 4.3 on OSX.
Thanks go to jensverwiebe via IRC.

12 years agoAttempt to fix [#6757] linked objects made "local" still not editable
Campbell Barton [Thu, 6 Mar 2008 23:45:17 +0000 (23:45 +0000)]
Attempt to fix [#6757] linked objects made "local" still not editable
But not sure exactly what the user is doing.
Made game logic work on linked objects and disabled "Add Material" for linked mesh data.

12 years agoPyAPI - Window.TestBreak() - True if the user pressed escape.
Campbell Barton [Thu, 6 Mar 2008 22:45:11 +0000 (22:45 +0000)]
PyAPI - Window.TestBreak() - True if the user pressed escape.

12 years agoPython API
Ken Hughes [Thu, 6 Mar 2008 21:43:22 +0000 (21:43 +0000)]
Python API
Bugfix #8472: texture.image setter did not accept None to remove an image, or
set the image type once an image was assigned.

12 years agoMade python scripts save and load in the blend file so you can have the same scripts...
Campbell Barton [Thu, 6 Mar 2008 21:25:15 +0000 (21:25 +0000)]
Made python scripts save and load in the blend file so you can have the same scripts running when you open a blend file.
Also scripts will re-run on undo rather then closing.

This is done by saving and loading the name of the script or textblock of the 'Script' datablock, connected to the ScriptSpace. This way when there is a name but the script dosnt run.
Blender runs the script or text block if available.

12 years ago* on win32 with msvc USE_OPENAL was defined for the entire source. Made it so that...
Nathan Letwory [Thu, 6 Mar 2008 21:01:55 +0000 (21:01 +0000)]
* on win32 with msvc USE_OPENAL was defined for the entire source. Made it so that it is defined only there where needed when needed.
* dxguid is necessary only when building WITH_BF_OPENAL=1. I already added the mingw version to our SVN in lib/windows/openal/lib and now I made sure it is linked against only when needed.

12 years agoFSA fix:
Ton Roosendaal [Thu, 6 Mar 2008 19:26:44 +0000 (19:26 +0000)]
FSA fix:

If you composite using multiple scenes, the "use FSA" button had to be set
or disabled for each scene. Now you can just set/disable FSA for the scene
that does the compositing. You can only disable FSA in other scenes if it
was set before though.

(Any understands these lines? :)

12 years agoBugfix #8477: Reset button for StretchTo/Limit-Distance Constraints Broken
Joshua Leung [Thu, 6 Mar 2008 10:02:25 +0000 (10:02 +0000)]
Bugfix #8477: Reset button for StretchTo/Limit-Distance Constraints Broken

Unfortunately, using BUT instead of BUTM won't work for these buttons. Although they now work, there is less tactical feedback (i.e. button depresses when clicked), and their colouring doesn't suggest to the user that they do something (i.e. grey not 'orange').

12 years agoChange the current line number to the cursor color when line numbers is toggled
Ricki Myers [Thu, 6 Mar 2008 01:54:04 +0000 (01:54 +0000)]
Change the current line number to the cursor color when line numbers is toggled

12 years agoCloth bugfix for jumpy cloth (users were complaining), so the mass can be changed...
Daniel Genrich [Thu, 6 Mar 2008 01:21:40 +0000 (01:21 +0000)]
Cloth bugfix for jumpy cloth (users were complaining), so the mass can be changed on GUI now (reference: in old blendfiles, mass=1.0 was used)

12 years agoI didn't get any comments so I'm assuming its a good idea.
Kent Mein [Wed, 5 Mar 2008 21:11:24 +0000 (21:11 +0000)]
I didn't get any comments so I'm assuming its a good idea.

This makes it so the following are equal.
blender -w -p 0 0 500 500
blender -p 0 0 500 500 -w

Just move initalization for full screen to before the loop starts.
so it doesn't matter where a -p shows up to override fullscreen.


12 years ago== Makefiles ==
Chris Want [Wed, 5 Mar 2008 20:58:29 +0000 (20:58 +0000)]
== Makefiles ==

Patch from GSR to correctly disable processing of po's when
international support is disabled.

12 years agoFix for undo optimization commit, compiler error on msvc.
Brecht Van Lommel [Wed, 5 Mar 2008 17:51:35 +0000 (17:51 +0000)]
Fix for undo optimization commit, compiler error on msvc.

12 years agoBugfix: shaded mode or baking could crash, didn't always create
Brecht Van Lommel [Wed, 5 Mar 2008 17:19:57 +0000 (17:19 +0000)]
Bugfix: shaded mode or baking could crash, didn't always create
memarena but it's being used now in more places so needs to be
created always.

12 years agoBugfix: crash inserting keyframes with missing pose channel. Also
Brecht Van Lommel [Wed, 5 Mar 2008 17:12:09 +0000 (17:12 +0000)]
Bugfix: crash inserting keyframes with missing pose channel. Also
changed some memcpy calls to memmove since memcpy doesn't allow
the buffers to overlap, but it's probably harmless.

12 years agoUndo optimization: now big chunks of memory are not written as single
Brecht Van Lommel [Wed, 5 Mar 2008 15:13:41 +0000 (15:13 +0000)]
Undo optimization: now big chunks of memory are not written as single
memory blocks anymore, but smaller fixed size blocks, so that diffing
can be more effective. For example helps in sculpt mode when making
only local changes to the mesh, previously it would copy the whole
MVert array for each undo step.

12 years agoBugfix for wrong OpenMP flags when using icc (proposed by jensverwiebe via IRC)
Daniel Genrich [Wed, 5 Mar 2008 14:58:33 +0000 (14:58 +0000)]
Bugfix for wrong OpenMP flags when using icc (proposed by jensverwiebe via IRC)

12 years agoBugfix: recent command line changes broke running with ./blender -w,
Brecht Van Lommel [Wed, 5 Mar 2008 11:42:40 +0000 (11:42 +0000)]
Bugfix: recent command line changes broke running with ./blender -w,
was using uninitialized variables.

12 years agoRestored code from over a year ago, tests to allow anti-aliased
Ton Roosendaal [Wed, 5 Mar 2008 10:03:31 +0000 (10:03 +0000)]
Restored code from over a year ago, tests to allow anti-aliased
shadowbuffers. At the time the results were not satisfying enough,
but we now suffer a shadow problem that might well be solved with
this feature.

Temporal aliasing of shadowbuffers when small details move (like strands).

In this case it doesn't work to simply increase the shadowbuffer size,
because strands are pixel-sized. Huge shadowbuffers make strand shadows
almost disappear. So... the shadowbuffer resolution has to be not too high.

Instead of increasing the buffer size, we then create multiple buffers,
each on different subpixel positions (a bit like "FSA" :).

So! Shadowbuffer sampling then works as follows;

1) You take multiple samples in the shadowbuffer, on different locations
   inside (or around) the rendered pixel.
   That option was aready available as "Samp" button in Lamps

2) Set amount of sample buffers. It is default 1, but can be 4 or 9.

The results of setting it to '4' or '9' buffers you can see here:

Actually, deep shadowbuffers could solve it probably too! Anyhoo...

12 years agoEnabled auto-snap (frame) for all newly created Action Editor instances
Joshua Leung [Wed, 5 Mar 2008 06:11:00 +0000 (06:11 +0000)]
Enabled auto-snap (frame) for all newly created Action Editor instances

12 years ago* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding...
Joshua Leung [Wed, 5 Mar 2008 03:59:44 +0000 (03:59 +0000)]
* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding bones
* Fixes for compiler warnings

12 years agoFixed warning in drawtext.c
Ricki Myers [Wed, 5 Mar 2008 03:04:55 +0000 (03:04 +0000)]
Fixed warning in drawtext.c

12 years ago-> Short names fix
Geoffrey Bantle [Wed, 5 Mar 2008 01:31:00 +0000 (01:31 +0000)]
-> Short names fix

Short names (less than 8 characters) were not getting exported
correctly for blender objects with no FLT props attached

12 years agoBugfix: the shadow samplenr increment to reuse shadow results in
Brecht Van Lommel [Tue, 4 Mar 2008 19:58:22 +0000 (19:58 +0000)]
Bugfix: the shadow samplenr increment to reuse shadow results in
the renderer could lead to results being reused for unrelated
points, result was one wrong pixel or strand per part. Now instead
of setting the sample counter to 0 multiple times, it keeps a global
counter per thread for the whole render.

12 years agoFix bug where if you selected something then left clicked you would lose the selectio...
Ricki Myers [Tue, 4 Mar 2008 18:50:02 +0000 (18:50 +0000)]
Fix bug where if you selected something then left clicked you would lose the selection buffer.
now when you left click it checks to see if there is text selected

12 years agoI broke it for the case where -w and -W are not called. This should fix that up...
Kent Mein [Tue, 4 Mar 2008 18:38:18 +0000 (18:38 +0000)]
I broke it for the case where -w and -W are not called.  This should fix that up as well.


12 years agoSmall change in the logic for -w -p The previous changes didn't quite work all the...
Kent Mein [Tue, 4 Mar 2008 18:31:57 +0000 (18:31 +0000)]
Small change in the logic for -w -p The previous changes didn't quite work all the time.
This should simplify things.


12 years agoBugfix: auto IK + autokeyframe didn't work correct with the don't
Brecht Van Lommel [Tue, 4 Mar 2008 13:33:19 +0000 (13:33 +0000)]
Bugfix: auto IK + autokeyframe didn't work correct with the don't
inherit scale option yet, scale of the bone would slowly change.
Now it's still not 100% accurate, but that's unavoidable, at least
the effect is much reduced.

12 years agoAction Editor - malefico feature request:
Joshua Leung [Tue, 4 Mar 2008 11:29:32 +0000 (11:29 +0000)]
Action Editor - malefico feature request:

Show Selected Action-Channels hidden in groups. Use the hotkey Shift ~  to do so. The name of this feature needs reviewing...

12 years agochange error in typing
Ricki Myers [Tue, 4 Mar 2008 02:43:51 +0000 (02:43 +0000)]
change error in typing
GlobalLock on line 914

12 years agoAdded Copy and Paste functions to GHOST.
Ricki Myers [Tue, 4 Mar 2008 00:41:30 +0000 (00:41 +0000)]
Added Copy and Paste functions to GHOST.
- Moved WIN32 code to ghost and added code for other systems.
- Added functions getClipboard(flag), and putClipboard(buffer, flag)
    -Flag is used on X11 to request selection buffer or clipboard.
    -If any other system uses flag = 1 the function returns doing nothing.
- Changed ctrl +c/v and shift+ctrl + c/v to do the same thing (use the clipboard).
- Changed the menu items (copy, paste) to use the clipboard.

12 years agoPyAPI: create scene sequence data if its not there when getting scene.sequence
Campbell Barton [Mon, 3 Mar 2008 21:43:31 +0000 (21:43 +0000)]
PyAPI: create scene sequence data if its not there when getting scene.sequence

12 years ago[#8434] Normal manipultor does not align with normals (like in 2.45)
Martin Poirier [Mon, 3 Mar 2008 19:57:48 +0000 (19:57 +0000)]
[#8434] Normal manipultor does not align with normals (like in 2.45)

Bring back multivert normal average for the normal manipulator/orientation.

When selecting more than three vertice, the averaged normal of all selected is used to get orientation Z-axis.

NOTE: This is only applicable when NO faces are selected, otherwise it uses the averaged normal of the faces (excluding vertice that aren't part of a face). This is not new behavior

CHANGES FROM 2.45: Selecting 2 or 3 vertice doesn't use normal averaging but uses virtual edge and face orientations instead.

12 years agoCloth bugfix for linked deflector groups (reported by alchibal on #blendercoders...
Daniel Genrich [Mon, 3 Mar 2008 19:02:01 +0000 (19:02 +0000)]
Cloth bugfix for linked deflector groups (reported by alchibal on #blendercoders incl. source) - please verify

12 years agoBugfix: displacement with object texture mapping could crash.
Brecht Van Lommel [Mon, 3 Mar 2008 18:53:06 +0000 (18:53 +0000)]
Bugfix: displacement with object texture mapping could crash.

12 years agoFix for bug #8410: dupliframes didn't render.
Brecht Van Lommel [Mon, 3 Mar 2008 17:16:29 +0000 (17:16 +0000)]
Fix for bug #8410: dupliframes didn't render.

12 years agoFix for bug #8366, render color sampling bugs and inconsistencies:
Brecht Van Lommel [Mon, 3 Mar 2008 16:38:27 +0000 (16:38 +0000)]
Fix for bug #8366, render color sampling bugs and inconsistencies:
- renderwindow didn't show values of previous buffer correct.
- renderwindow only showed floats and no char values like image editor.
- renderwindow didn't show x,y values.
- image editor didn't show z values.

Patch to fix these problems provided by Rob Hausauer, thanks!

12 years agoBugfix: crash loading texture plugin, instance_init callback added some
Brecht Van Lommel [Mon, 3 Mar 2008 15:56:05 +0000 (15:56 +0000)]
Bugfix: crash loading texture plugin, instance_init callback added some
time ago wasn't initialized to NULL correctly, in case the plugin was
not available.

12 years agoWere path issues with getversion script on some platforms.
Kent Mein [Mon, 3 Mar 2008 15:51:55 +0000 (15:51 +0000)]
Were path issues with getversion script on some platforms.


12 years agoFix for bug #8412: clicking to active tabbed panels could still
Brecht Van Lommel [Mon, 3 Mar 2008 14:19:58 +0000 (14:19 +0000)]
Fix for bug #8412: clicking to active tabbed panels could still
go wrong with tabbed panels being hidden.

12 years agoMinor corrections to help message.
Stephen Swaney [Mon, 3 Mar 2008 13:34:31 +0000 (13:34 +0000)]
Minor corrections to help message.

12 years agoAction Editor - Group Selection (Harkyman Suggestion):
Joshua Leung [Mon, 3 Mar 2008 11:03:18 +0000 (11:03 +0000)]
Action Editor - Group Selection (Harkyman Suggestion):

Now, when selecting Action Channel Groups while holding the Ctrl-Shift keys, all of the group's channels are selected. Any other channels/groups are deselected. Likewise, the related bones will also get selected.

12 years agoBugfix:
Joshua Leung [Mon, 3 Mar 2008 10:43:46 +0000 (10:43 +0000)]

Constraint Channel keyframes are now transformed when they appear in Action Channel Group summaries.

12 years agoBugfix: uv pack islands didn't work on islands without a boundary.
Brecht Van Lommel [Mon, 3 Mar 2008 10:01:36 +0000 (10:01 +0000)]
Bugfix: uv pack islands didn't work on islands without a boundary.

12 years agoupdated the notes for blenders help message
Campbell Barton [Mon, 3 Mar 2008 08:55:45 +0000 (08:55 +0000)]
updated the notes for blenders help message

12 years ago* Bugfix #8426: certain hooks options segfaulted
Joshua Leung [Mon, 3 Mar 2008 03:21:25 +0000 (03:21 +0000)]
* Bugfix #8426: certain hooks options segfaulted
This was caused by my previous commit for add_hook.

* Also, removed a compiler warning in the Python code

12 years agoAdded a feature to the UV editor- Average UV islands, this averages selected UV islan...
Campbell Barton [Mon, 3 Mar 2008 01:44:35 +0000 (01:44 +0000)]
Added a feature to the UV editor- Average UV islands, this averages selected UV islands, in proportion to the faces area in 3d space.

Renamed 'Pack Charts' to 'Pack Islands' (according to google, uv islands is a more common term)

12 years agoCloth makefiles bugfix which lead in disabled collisions
Daniel Genrich [Mon, 3 Mar 2008 00:43:37 +0000 (00:43 +0000)]
Cloth makefiles bugfix which lead in disabled collisions

12 years agoCloth bugfix - stupid typo resulted in missing diagonal springs (reported by nudelZ...
Daniel Genrich [Sun, 2 Mar 2008 23:20:20 +0000 (23:20 +0000)]
Cloth bugfix - stupid typo resulted in missing diagonal springs (reported by nudelZ on #blendercoders)

12 years agoblenders window argument -w / -W didnt use the last argument as command line arg...
Campbell Barton [Sun, 2 Mar 2008 22:09:40 +0000 (22:09 +0000)]
blenders window argument -w / -W didnt use the last argument as command line arg should.

12 years agoCloth: Bugfix for IRIX compile (hopefully), bugfix for multiple springs (appeared...
Daniel Genrich [Sun, 2 Mar 2008 22:01:43 +0000 (22:01 +0000)]
Cloth: Bugfix for IRIX compile (hopefully), bugfix for multiple springs (appeared on triangles), _test_ for inlining on msvc

12 years agoNSIS Installer:
Simon Clitherow [Sun, 2 Mar 2008 20:12:06 +0000 (20:12 +0000)]
NSIS Installer:

Committing the changes used for 2.45 and the upcoming 2.46 release :)

(Better late than never!)

12 years agoPy API - rename UndoPush to SaveUndoState
Campbell Barton [Sun, 2 Mar 2008 15:57:19 +0000 (15:57 +0000)]
Py API - rename UndoPush to SaveUndoState

12 years ago== Sequencer ==
Peter Schlaile [Sun, 2 Mar 2008 14:54:45 +0000 (14:54 +0000)]
== Sequencer ==

Fixed a bug with ibuf caching on startstill / endstill.

The new blend modes happened to force start and endstill to be rendered
over and over again. This could get very annoying especially on scene

We therefore now cache the original start or endstill ibuf seperately
and copy on demand.

12 years ago* to be able to properly compile this, the friend needs 'class' too: friend class...
Nathan Letwory [Sun, 2 Mar 2008 09:39:14 +0000 (09:39 +0000)]
* to be able to properly compile this, the friend needs 'class' too:  friend class CcdOverlapFilterCallBack

12 years ago* temproary -> temporary topy fxi
Nathan Letwory [Sun, 2 Mar 2008 08:49:39 +0000 (08:49 +0000)]
* temproary -> temporary topy fxi

12 years agoBugfix:
Joshua Leung [Sun, 2 Mar 2008 01:17:17 +0000 (01:17 +0000)]

Disabled fully OpenGl-based drawing of keyframes in the Action Editor. This was apparently causing problems on some Intel cards...

12 years agomade it possible to type in ~ at the start of the filename, ~/Desktop for instance.
Campbell Barton [Sun, 2 Mar 2008 00:26:13 +0000 (00:26 +0000)]
made it possible to type in ~ at the start of the filename, ~/Desktop for instance.
Enabled for win32 and in the image browser.

12 years agoVarious mem leaks related to CValue reference count fixed
Benoit Bolsee [Sat, 1 Mar 2008 19:46:50 +0000 (19:46 +0000)]
Various mem leaks related to CValue reference count fixed

12 years agoMem leak fixed in sound buffer & parent invert node
Benoit Bolsee [Sat, 1 Mar 2008 19:29:01 +0000 (19:29 +0000)]
Mem leak fixed in sound buffer & parent invert node

12 years agoRadar/Near sensor performance problem fixed
Benoit Bolsee [Sat, 1 Mar 2008 19:17:37 +0000 (19:17 +0000)]
Radar/Near sensor performance problem fixed

12 years agounknown property fixed in sensor/actuators
Benoit Bolsee [Sat, 1 Mar 2008 19:05:41 +0000 (19:05 +0000)]
unknown property fixed in sensor/actuators

12 years agorandom sensor fixed (patch 8414)
Benoit Bolsee [Sat, 1 Mar 2008 18:46:23 +0000 (18:46 +0000)]
random sensor fixed (patch 8414)

12 years ago_DEBUG defined in release build of node project
Benoit Bolsee [Sat, 1 Mar 2008 18:41:32 +0000 (18:41 +0000)]
_DEBUG defined in release build of node project

12 years ago-> Bevel modifier cleanup
Geoffrey Bantle [Sat, 1 Mar 2008 16:32:23 +0000 (16:32 +0000)]
-> Bevel modifier cleanup

Bevel modifier had several problems. These should be fixed now. The bevel
modifier in editmode cannot have 'apply to cage' checked as the modifier
cannot possibly support mapping. Further, custom data preservation has been
turned off temporarily, but will be added back in soon.

12 years agoBugfix:
Ton Roosendaal [Sat, 1 Mar 2008 14:54:18 +0000 (14:54 +0000)]
New option "move texture channel up/down" lacked redraw calls.

There's still no manipulator handles for lamps to set cone size, dist,
clipping. To save our poor Peach artists hours of work I've added a
quick method to at least be able to do it interactive.
Option is hidden behind Wkey, and uses a similar function like Scaling.
(Put mouse cursor close to start value, move mouse to center of lamp)

Ultimately this should move to custom manipulator handles...

12 years agofix for [#8408] Indentation error in text editor when typing a colon anywhere
Campbell Barton [Sat, 1 Mar 2008 12:31:00 +0000 (12:31 +0000)]
fix for [#8408] Indentation error in text editor when typing a colon anywhere

12 years agoFix for bug [#8405] makeParentDeform segfaults Blender
Campbell Barton [Sat, 1 Mar 2008 10:59:38 +0000 (10:59 +0000)]
Fix for bug [#8405] makeParentDeform segfaults Blender
linking armatures to objects didnt make pose data.

12 years ago'Bug'-fix #8404:
Joshua Leung [Sat, 1 Mar 2008 04:03:06 +0000 (04:03 +0000)]
'Bug'-fix #8404:

Action Editor now displays shapekey channels for curves/surfaces too now. This commit may be reverted if there are some corner cases which work really bad with this.

12 years agoThis commit contains the addition of a greek translation thanks to
Tom Musgrove [Sat, 1 Mar 2008 03:56:16 +0000 (03:56 +0000)]
This commit contains the addition of a greek translation thanks to

Κωστής Καρβουνιάρης
Kostas Gerontis

Also a patch from Markus Schulz that

adds buttons to the material, light, and world texture panels to make it
easy to rearrange the textures in the list without having to
use copy and paste.

12 years agoSplit the add_hook function into two parts (user interaction + actual operations)
Joshua Leung [Sat, 1 Mar 2008 03:45:04 +0000 (03:45 +0000)]
Split the add_hook function into two parts (user interaction + actual operations)

12 years agoRemoved warning from py-api code
Joshua Leung [Sat, 1 Mar 2008 03:42:09 +0000 (03:42 +0000)]
Removed warning from py-api code

12 years agoWrap UndoPush with python, needed for apricot, so changes made be scripts can have...
Campbell Barton [Fri, 29 Feb 2008 20:45:57 +0000 (20:45 +0000)]
Wrap UndoPush with python, needed for apricot, so changes made be scripts can have undo's as well, otherwise users undo and loose changes the script made.

12 years ago-> Bevel cleanup
Geoffrey Bantle [Fri, 29 Feb 2008 20:26:35 +0000 (20:26 +0000)]
-> Bevel cleanup

Bevel and bmesh code is in need of some cleanup and fixing.

-Fixed potential crasher in BME_JEKV
-Sped up memory usage of BME_MF
-Removed unused structure members

More to come soon....

12 years agoFix segmentation fault in Image node when change the Layer in EXR files.
Diego Borghetti [Fri, 29 Feb 2008 19:19:31 +0000 (19:19 +0000)]
Fix segmentation fault in Image node when change the Layer in EXR files.

The argument in the uiButSetFunc is a Image struct, but
BKE_image_multilayer_index expect a RenderResult struct, so when
you load a exr file and try change the Layer, Blender crash.
(image_layer_cb call BKE_image_multilayer_index)

12 years agoFix for bug #8403: a radiosity render crash.
Brecht Van Lommel [Fri, 29 Feb 2008 16:52:46 +0000 (16:52 +0000)]
Fix for bug #8403: a radiosity render crash.

12 years ago* Made BLI_join_dirfile() check before adding a slash between dir and file so as...
Campbell Barton [Fri, 29 Feb 2008 15:50:28 +0000 (15:50 +0000)]
* Made BLI_join_dirfile() check before adding a slash between dir and file so as not to get /foo///bar.blend
* Pointcache now uses the process id to construct the path for unsaved files. (so 2 or more blender's open wont try to read/write the same pointcache)
* Temp pointcache is cleared when existing blender, added BIF_clear_tempfiles() for this. Should also be usedto clear EXR's in the temp dir (TODO), BIF_clear_tempfiles also needs to be added in more places. (On file load for instace)

12 years agoFix segfault when save the render with Multilayer format.
Diego Borghetti [Fri, 29 Feb 2008 15:36:24 +0000 (15:36 +0000)]
Fix segfault when save the render with Multilayer format.

The RE_WriteResult function don't call BLI_make_existing_file
like BKE_write_ibuf, so if you append a directory to the output
path and it don't exist, the exr_begin_write fail to create
the file and blender crash.

Note that this is only 1 line of code and don't touch
anything in the render code.

12 years agoFix for bug rendering scene layers from the compositor and scene sets,
Brecht Van Lommel [Fri, 29 Feb 2008 13:29:15 +0000 (13:29 +0000)]
Fix for bug rendering scene layers from the compositor and scene sets,
two functions were both using the same LIB_DOIT flag, gave conflicts.

12 years agoBugfix: DPX menu entry for saving renders was missing, caused by
Brecht Van Lommel [Fri, 29 Feb 2008 12:23:26 +0000 (12:23 +0000)]
Bugfix: DPX menu entry for saving renders was missing, caused by
DDS saving not being uncommented consistently.

12 years agoDidnt set the image output node active before browsing the files.
Campbell Barton [Fri, 29 Feb 2008 10:13:34 +0000 (10:13 +0000)]
Didnt set the image output node active before browsing the files.

12 years agoParticle weights weren't drawn properly in particle mode. There also was some lag...
Janne Karhu [Fri, 29 Feb 2008 08:31:11 +0000 (08:31 +0000)]
Particle weights weren't drawn properly in particle mode. There also was some lag in updating the colors when changing particle edit brushes.

12 years ago* Fix for own big, Adding group objects from the outliner didnt check they were exter...
Campbell Barton [Thu, 28 Feb 2008 23:14:55 +0000 (23:14 +0000)]
* Fix for own big, Adding group objects from the outliner didnt check they were externally linked.
* ping "~" in the fileselectors dir will take you to $HOME (non win32)
* Added a file selector for Node output image

12 years agoCloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster...
Daniel Genrich [Thu, 28 Feb 2008 23:12:50 +0000 (23:12 +0000)]
Cloth: Bugfix for wrong calculated bending springs, Bugfix for selfcollisions (faster + bugfix for explode), Changed: Collision response also put vertices back to surface now

12 years agoPossible bugfix for weird FFMPEG files, I have no idea if that cases can even occur...
Daniel Genrich [Thu, 28 Feb 2008 21:57:24 +0000 (21:57 +0000)]
Possible bugfix for weird FFMPEG files, I have no idea if that cases can even occur - Please take a look Peter.

12 years agochanging default SDL audio driver for linux to alsa since its default in 2.6 kernel...
Campbell Barton [Thu, 28 Feb 2008 21:27:48 +0000 (21:27 +0000)]
changing default SDL audio driver for linux to alsa since its default in 2.6 kernel's and many users report problems if they dont specifically set it to alsa.

12 years agoFix segfault with bad setting in the Image node.
Diego Borghetti [Thu, 28 Feb 2008 20:26:00 +0000 (20:26 +0000)]
Fix segfault with bad setting in the Image node.

The limit in the UI tooltips to set the amount of
images used in animation allow the zero value,
that cause a segfault.

This commit fix the UI, add a init value of 1 to
the node and also check in case that
node_composit_get_image return NULL.

12 years agoCloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, ...
Daniel Genrich [Thu, 28 Feb 2008 18:57:14 +0000 (18:57 +0000)]
Cloth: Bugfix for goals, rotations could let them go wrong (reported by nudelZ, #blendercoders)

12 years agoFix for bug #8357: metaball rendering + radiosity was broken.
Brecht Van Lommel [Thu, 28 Feb 2008 18:54:25 +0000 (18:54 +0000)]
Fix for bug #8357: metaball rendering + radiosity was broken.

12 years agoBugfix: compositor Blur node Bokeh option gave wrong results at the
Brecht Van Lommel [Thu, 28 Feb 2008 15:23:44 +0000 (15:23 +0000)]
Bugfix: compositor Blur node Bokeh option gave wrong results at the
bottom pixels of the image.

12 years agoBugfix: jitterd particle distribution was really slow for a large
Brecht Van Lommel [Thu, 28 Feb 2008 13:31:25 +0000 (13:31 +0000)]
Bugfix: jitterd particle distribution was really slow for a large
number of particles/face. Now for > 25 particles/face it switches
to using a QMC hammersley distribution, much faster, for less
jitter still looks a bit better.

12 years agoBugfix: texture effectors didn't link in their textures.
Brecht Van Lommel [Thu, 28 Feb 2008 11:39:13 +0000 (11:39 +0000)]
Bugfix: texture effectors didn't link in their textures.

12 years agoBugfix:
Joshua Leung [Thu, 28 Feb 2008 02:25:23 +0000 (02:25 +0000)]

Outliner drawing crashed after "Merge Bones" operation (Alt-M) if the end-bone of the merge had a child.

12 years agoCloth: 1. Bugfix for possible memory leak reported by Kenneth Styrberg (via mailing...
Daniel Genrich [Thu, 28 Feb 2008 00:01:19 +0000 (00:01 +0000)]
Cloth: 1. Bugfix for possible memory leak reported by Kenneth Styrberg (via mailing list), 2. Bugfix for friction again, 3. Preset menu on GUI (thanks to help from nudelZ (#blendercoders), 4. Possibility to disable autoprotect cache, 5. Some cache bugs fixed, 6. Some speedup in generating cloth

12 years agoleft in prints
Campbell Barton [Wed, 27 Feb 2008 23:11:04 +0000 (23:11 +0000)]
left in prints

12 years agoFix for [#8382] UV unwrap & export puts seams on all edges.
Campbell Barton [Wed, 27 Feb 2008 23:10:25 +0000 (23:10 +0000)]
Fix for [#8382] UV unwrap & export puts seams on all edges.
Maya uses OBJ's UV's to generate seams, some people complained that models imported from blender didnt work well in maya.
It was faster to write every faces UV (without doing a remove doubles), but sharing UV coords makes smaller files and might also be more efficient in other applications.

12 years agoBugfix: NewBooleanMesh() would return 'internal error' no matter what happened -...
Daniel Genrich [Wed, 27 Feb 2008 20:17:03 +0000 (20:17 +0000)]
Bugfix: NewBooleanMesh() would return 'internal error' no matter what happened - real return values must have been lost on the way. I put the proper return in it's place. (reported by cptf on IRC)

12 years agoFix for bug #8373: using SSS the rendertime could be reported wrong.
Brecht Van Lommel [Wed, 27 Feb 2008 20:10:05 +0000 (20:10 +0000)]
Fix for bug #8373: using SSS the rendertime could be reported wrong.

12 years agoFix for bug #8380: snapping in the uv editor didn't work with
Brecht Van Lommel [Wed, 27 Feb 2008 19:35:27 +0000 (19:35 +0000)]
Fix for bug #8380: snapping in the uv editor didn't work with
non-square images.

Fix for uv limit stitch, was broken since editmode integration.

12 years agoFix for making vectoquat threadsafe, missed a warning.
Brecht Van Lommel [Wed, 27 Feb 2008 17:43:23 +0000 (17:43 +0000)]
Fix for making vectoquat threadsafe, missed a warning.