13 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

13 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.

13 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...

13 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

13 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.

13 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.

13 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.

13 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)

13 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

13 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.

13 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....

13 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)

13 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.

13 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)

13 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.

13 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.

13 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.

13 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.

13 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.

13 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

13 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

13 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.

13 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.

13 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.

13 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)

13 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.

13 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.

13 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.

13 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.

13 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.

13 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

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

13 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.

13 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)

13 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.

13 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.

13 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.

13 years agoBugfix: Copy Modifiers with particle systems crashed, it didn't copy
Brecht Van Lommel [Wed, 27 Feb 2008 17:04:58 +0000 (17:04 +0000)]
Bugfix: Copy Modifiers with particle systems crashed, it didn't copy
the particle systems.

13 years agoFix for part of bug #8376: shift+MMB dragging the view didn't work in
Brecht Van Lommel [Wed, 27 Feb 2008 14:26:47 +0000 (14:26 +0000)]
Fix for part of bug #8376: shift+MMB dragging the view didn't work in
the node editor like other windows. Is already used for backdrop, but
if that isn't enabled it can still do it.

13 years agoFix for bug: cross platform strand render differences with kink/branch.
Brecht Van Lommel [Wed, 27 Feb 2008 14:17:32 +0000 (14:17 +0000)]
Fix for bug: cross platform strand render differences with kink/branch.
This time is was due to different accuracy of floating point computation,
now it uses does a comparison a bit different to avoid this.

Also changed the vectoquat function to be threadsafe.

13 years agoadded missing call to reset teh toolbox - Only effected Python treemenu's
Campbell Barton [Wed, 27 Feb 2008 14:15:14 +0000 (14:15 +0000)]
added missing call to reset teh toolbox - Only effected Python treemenu's

13 years ago-> Minification filter type for FLT attrib files
Geoffrey Bantle [Wed, 27 Feb 2008 11:52:19 +0000 (11:52 +0000)]
-> Minification filter type for FLT attrib files

-Changed the minification filter type from Bilinear to

13 years agoFix for dupli rendering bug, with a duplicating particle system using
Brecht Van Lommel [Wed, 27 Feb 2008 11:50:20 +0000 (11:50 +0000)]
Fix for dupli rendering bug, with a duplicating particle system using
groups that were not in the scene. Also commented the code better.

13 years agoadding stubs for player
Jean-Luc Peurière [Wed, 27 Feb 2008 11:47:07 +0000 (11:47 +0000)]
adding stubs for player

13 years agoBugfix [#8328] Python scripts from user defined location doesn't load
Campbell Barton [Wed, 27 Feb 2008 10:02:40 +0000 (10:02 +0000)]
Bugfix  [#8328] Python scripts from user defined location doesn't load

last commit had mistakes but tested this to fix the bug.
- Cam

13 years agoshould fix bug on win32 with user python menu's not loading because stat() didnt...
Campbell Barton [Wed, 27 Feb 2008 09:48:43 +0000 (09:48 +0000)]
should fix bug on win32 with user python menu's not loading because stat() didnt like the trailing slash and returned the dir as missing.

13 years agoCloth: fixed completely useless/wrong friction force; changed some initial settings
Daniel Genrich [Wed, 27 Feb 2008 03:23:17 +0000 (03:23 +0000)]
Cloth: fixed completely useless/wrong friction force; changed some initial settings

13 years ago== MSVC 7.1 projectfiles ==
Andrea Weikert [Tue, 26 Feb 2008 23:39:52 +0000 (23:39 +0000)]
== MSVC 7.1 projectfiles ==
- added missing files rev. 13829 (Bevel tools and Bmesh kernel
) commit.

13 years agoGoing into vertex paint mode without vertex colors, now it doesn't
Brecht Van Lommel [Tue, 26 Feb 2008 18:30:41 +0000 (18:30 +0000)]
Going into vertex paint mode without vertex colors, now it doesn't
create vertex colors from shaded mode anymore. Instead there is
function in vertex paint mode to create them.

Also some fixes for previous commits.

13 years agoWeight, vertex and texture paint modes now don't draw the active
Brecht Van Lommel [Tue, 26 Feb 2008 17:46:22 +0000 (17:46 +0000)]
Weight, vertex and texture paint modes now don't draw the active
object on top of everything anymore. It can be useful to see objects
that are in front too, and if you don't want to see them you can
just go into local viewmode. It's also more consistent with editmode
which doesn't draw on top either.

13 years ago== BPython ==
Willian Padovani Germano [Tue, 26 Feb 2008 17:23:56 +0000 (17:23 +0000)]
== BPython ==

Another experiment to support threading properly. By default the Python Interpreter releases its lock every 100 instructions so that other threads get a chance to run Python code and API calls. But that is not enough to prevent race conditions causing artifacts (and maybe crashes) during threaded rendering, since all threads will access the same pynodes data.

So I'm disabling this automatic releasing of the lock (the GIL) by the interpreter, which seems to be a better option for how Blender uses Python.

13 years agoFix for bug #6854: meta object crash with preview render. Meta objects
Brecht Van Lommel [Tue, 26 Feb 2008 16:20:36 +0000 (16:20 +0000)]
Fix for bug #6854: meta object crash with preview render. Meta objects
were using an ugly trick to store render orco's, but there's really no
reason for it, now it works like other primitives.

13 years agoCloth: make cloth more crash resistant if memory allocation failed
Daniel Genrich [Tue, 26 Feb 2008 14:25:29 +0000 (14:25 +0000)]
Cloth: make cloth more crash resistant if memory allocation failed

13 years agoBugfix [#8365] cresh by RMB selecting object in 3D_View from set of overlapping objects
Daniel Genrich [Tue, 26 Feb 2008 14:00:13 +0000 (14:00 +0000)]
Bugfix [#8365] cresh by RMB selecting object in 3D_View from set of overlapping objects

13 years agoTweak bugfix #8347 a bit, the self intersection problem with raytraced
Brecht Van Lommel [Tue, 26 Feb 2008 13:05:18 +0000 (13:05 +0000)]
Tweak bugfix #8347 a bit, the self intersection problem with raytraced
shadows and jittering.

13 years agoHair particles with object or group visualisation didn't take the
Brecht Van Lommel [Tue, 26 Feb 2008 11:48:12 +0000 (11:48 +0000)]
Hair particles with object or group visualisation didn't take the
rotation settings into account. Now if rotation is not set to None,
instead of automatically deriving it from the particle path (which
is useful for feathers), it uses the rotation settings (useful for
distributing twigs randomly).

13 years agoBugfix: recent rollback of premul changes gave issues. The premul
Brecht Van Lommel [Tue, 26 Feb 2008 11:38:32 +0000 (11:38 +0000)]
Bugfix: recent rollback of premul changes gave issues. The premul
flag bit was changed and not changed back, and the flag was moved
back from image user to image. This meant that files saved both
before and during the premul changes did not read premul settings
correct anymore.

Now it uses the old premul flag bit again, which also keeps forward

13 years agoCloth: Little (bug)fix to let springs appear as an upper tridiagonal matrix
Daniel Genrich [Tue, 26 Feb 2008 09:55:07 +0000 (09:55 +0000)]
Cloth: Little (bug)fix to let springs appear as an upper tridiagonal matrix

13 years agoPopup menus for displaying names of groups available for selection now draw with...
Joshua Leung [Tue, 26 Feb 2008 06:33:06 +0000 (06:33 +0000)]
Popup menus for displaying names of groups available for selection now draw with multiple columns when the number of entries cannot fit in a single column (and be editable).

13 years agoremoved mingw from the list of platforms to use the
Joseph Eagar [Tue, 26 Feb 2008 00:04:54 +0000 (00:04 +0000)]
removed mingw from the list of platforms to use the
debug python lib, as it was causing link errors.

if someone wishes to figure out why this is messing up,
go ahead.

13 years agoAdded PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Campbell Barton [Mon, 25 Feb 2008 18:35:35 +0000 (18:35 +0000)]
Added PyGILState_Ensure and PyGILState_Release funcs around module reloading.
Without them blender would crash when reloading scripts.

13 years agoBugfix: dupliparticles didn't respect the enabled button for the
Brecht Van Lommel [Mon, 25 Feb 2008 17:20:35 +0000 (17:20 +0000)]
Bugfix: dupliparticles didn't respect the enabled button for the
particle system, could crash.

13 years agoBugfix for some particle system vertex group memory leaks.
Brecht Van Lommel [Mon, 25 Feb 2008 16:46:58 +0000 (16:46 +0000)]
Bugfix for some particle system vertex group memory leaks.

13 years agoFix for bug #7914: when rendering ray transparency with premul or key,
Brecht Van Lommel [Mon, 25 Feb 2008 15:08:46 +0000 (15:08 +0000)]
Fix for bug #7914: when rendering ray transparency with premul or key,
the alpha channel was set wrong.

13 years agoFix for #6686: crash with array modifier fit to curve option, could
Brecht Van Lommel [Mon, 25 Feb 2008 13:05:08 +0000 (13:05 +0000)]
Fix for #6686: crash with array modifier fit to curve option, could
create a too large amount of duplicates.

13 years agoFix for bug #8081: python script crash writing MFace.uv.
Brecht Van Lommel [Mon, 25 Feb 2008 11:55:51 +0000 (11:55 +0000)]
Fix for bug #8081: python script crash writing MFace.uv.

13 years agoFix for bug #8347: bug in raytraced shadow with edgesplit. Problem
Brecht Van Lommel [Mon, 25 Feb 2008 10:58:12 +0000 (10:58 +0000)]
Fix for bug #8347: bug in raytraced shadow with edgesplit. Problem
was the new jittering of the start position gave self intersections,
especially noticable with for example edgesplit because in that case
it can't detect them as well. 'Solution' now is to bias the start
position away from the surface a bit according to how much the start
position was jittered.

13 years ago-> Bevel
Geoffrey Bantle [Mon, 25 Feb 2008 04:53:37 +0000 (04:53 +0000)]
-> Bevel

Fixed the following problems with Bevel code

  -meshes with 2 edged faces left over at the end would cause buffer
   overrun whens converting from a Bmesh to a Derived Mesh. The
   conversion process now checks for both double edges and faces
   and removes them when present.

  -BME_reverse_loop euler had a bug that was causing the corruption of
   radial cycle. This would lead to the bevel tool hanging for a long time
   and possibly crashing.

  -Added optimization of BME_reverse loop so that it no longer does tiny
   allocations but instead uses an area of 'scratch' memory. The same thing
   will be done to the Make Face euler soon

  -Added proper call to selection flushing for editmode.

  -Some miscellaneous cleanups and removal of unneeded debug printfs.

13 years agoPurge of compiler warnings (number 2):
Joshua Leung [Mon, 25 Feb 2008 04:38:48 +0000 (04:38 +0000)]
Purge of compiler warnings (number 2):
* initial values I added in radialcontrol.c might need to be reviewed if they cause problems(I used 200, as it seems many tools were setting that)
* #pragma warnings are the only warnings I still get, so that means we have a clean slate again

13 years agoFix for bug #8351: clicking to select a tabbed panel went
Brecht Van Lommel [Mon, 25 Feb 2008 02:34:09 +0000 (02:34 +0000)]
Fix for bug #8351: clicking to select a tabbed panel went
wrong if there were more, hidden panels tabbed also.

13 years ago== BPython ==
Willian Padovani Germano [Mon, 25 Feb 2008 01:35:50 +0000 (01:35 +0000)]
== BPython ==

[#8354] Blender or Python25.dll crash on... quit, reported by David B. (myvain)

The BPy_FreeButtonsList() function is also called after we call Py_Finalize(). Calling PyGILState_Ensure()/Release() there crashes Blender. Added a test to prevent this, but note that function still runs Python API code to free a buttons list. Doesn't seem to give problems, though. Thanks, David.

13 years agoFix for bug #6747: make single button for node groups didn't work,
Brecht Van Lommel [Sun, 24 Feb 2008 22:27:40 +0000 (22:27 +0000)]
Fix for bug #6747: make single button for node groups didn't work,
functionality was not implemented.

13 years agoCMakeList fix for fluids
Daniel Genrich [Sun, 24 Feb 2008 22:19:17 +0000 (22:19 +0000)]
CMakeList fix for fluids

13 years agoFix for bug #8353: switching particle hair with softbody to emit crashed.
Brecht Van Lommel [Sun, 24 Feb 2008 21:29:20 +0000 (21:29 +0000)]
Fix for bug #8353: switching particle hair with softbody to emit crashed.
Fix for bug #8355: crash zooming in render window.

13 years agoBugfix [#8352]: My OpenMP additions seem to cause errors on MSVC, so I kick them...
Daniel Genrich [Sun, 24 Feb 2008 21:24:39 +0000 (21:24 +0000)]
Bugfix [#8352]: My OpenMP additions seem to cause errors on MSVC, so I kick them leaving 'only' the original OpenMP additions from N_T

13 years agoFix for bug in settings particle reactor recalc.
Brecht Van Lommel [Sun, 24 Feb 2008 19:50:21 +0000 (19:50 +0000)]
Fix for bug in settings particle reactor recalc.

Patch by Thomas Knight, thanks!

13 years agoFix for bug #8324: J-key render buffer switching had various issues.
Brecht Van Lommel [Sun, 24 Feb 2008 19:23:58 +0000 (19:23 +0000)]
Fix for bug #8324: J-key render buffer switching had various issues.
One problem was that the previous render buffer was stored in the
render window or image window itself, which means that when closing
it, or switching from one to the other, things didn't work as expected.
Also in the image editor, color sampling the previous render buffer or
saving it didn't work correct.

13 years ago== Transform Orientations ==
Martin Poirier [Sun, 24 Feb 2008 17:13:52 +0000 (17:13 +0000)]
== Transform Orientations ==

When doing normal orientations from three vertices, if there's a full edge selected, use that to define the tangent (more logical).

13 years ago== PyNodes ==
Willian Padovani Germano [Sun, 24 Feb 2008 16:19:39 +0000 (16:19 +0000)]
== PyNodes ==

Small update to where a PyGILState_Ensure() call is made.


Let me use this commit to mention a couple things related to this change to make Python thread-safe in Blender:

1) This page explains the changes:

2) If you experience hangs (deadlocks) when running anything related to Python in Blender, the related part in the code may need a proper Ensure/Release block, as explained in the above link.

From Joshua (aligorith)'s previous commit to this file:

"* various problems related to gilstate calls being added in strange places (could someone familiar with python double check that they're in the right places now)?"

I checked the two places you fixed, second one is ok, the first one needed to be before the call to create a py dict -- done. Thanks for catching them!

13 years agoFix for a recent bugfix, could crash automatic vertex weighting,
Brecht Van Lommel [Sun, 24 Feb 2008 16:08:33 +0000 (16:08 +0000)]
Fix for a recent bugfix, could crash automatic vertex weighting,
forgot to do NULL pointer check.

13 years agoFix for bug #8304: child distribution gave different results across
Brecht Van Lommel [Sun, 24 Feb 2008 14:53:44 +0000 (14:53 +0000)]
Fix for bug #8304: child distribution gave different results across
platforms. Cause was a function(rng_getFloat(), rng_getFloat()),
apparently the order in which rng_getFloat() is evaluated is not
compatible between operating systems.

13 years ago== Sequencer ==
Peter Schlaile [Sun, 24 Feb 2008 13:49:31 +0000 (13:49 +0000)]
== Sequencer ==


[#5211] Sound scrubbing does not work after blend file load

also fixes:

if you hit the timeline playbutton, you can reseek by clicking on the timeline.
Now audio doesn't stop anymore and keeps on playing from the new position

13 years ago== Sequencer ==
Peter Schlaile [Sun, 24 Feb 2008 13:26:27 +0000 (13:26 +0000)]
== Sequencer ==

* Fix button drawing in header finally, sigh.
* Fixes:
  [#8262] Hide Meta Strip does not hide contained Audio

13 years ago-> Bevel Crash Fix (again redux)
Geoffrey Bantle [Sun, 24 Feb 2008 12:57:11 +0000 (12:57 +0000)]
-> Bevel Crash Fix (again redux)

More fixes for 2 edged faces

13 years agoFix for bug #8346: compiling with verse enabled was broken.
Brecht Van Lommel [Sun, 24 Feb 2008 12:23:47 +0000 (12:23 +0000)]
Fix for bug #8346: compiling with verse enabled was broken.

Fix provided by Fabian Boehlke, thanks!

13 years agoFix for bug #8331: compositor nodes backdrop displays in material nodes.
Brecht Van Lommel [Sun, 24 Feb 2008 12:16:27 +0000 (12:16 +0000)]
Fix for bug #8331: compositor nodes backdrop displays in material nodes.
Fix for bug #8083: backdrop not displaying centered in the window.

Fixes for both provided by Fabian Boehlke, thanks!

13 years ago== Sequencer ==
Peter Schlaile [Sun, 24 Feb 2008 12:12:05 +0000 (12:12 +0000)]
== Sequencer ==

Fixes a lot of small things:
* zoom in/out in preview is more fine grained (use SHIFT)
* zebra scopes don't try to draw the border and fail
* lock/unlock now locks/unlocks all selected strips
* fix redraw problems of panel on lock/unlock
* buttons-panel is redrawn on translate, so that position information is shown
* added lock / hide to Strip-Menu
* fixed small drawing problems in header

TODO: find a good key for lock / unlock (Shift-L | Alt-Shift-L isn't that nice
      to press...)

13 years ago-> Bevel Crash Fix (again)
Geoffrey Bantle [Sun, 24 Feb 2008 12:02:58 +0000 (12:02 +0000)]
-> Bevel Crash Fix (again)

Last crash fix would leave 2 edged faces laying around, which would cause ANOTHER
crash when converting back to a derived mesh. Fixed now.

13 years agoPurge of compiler warnings... (hopefully everything still compiles, there are still...
Joshua Leung [Sun, 24 Feb 2008 11:16:37 +0000 (11:16 +0000)]
Purge of compiler warnings... (hopefully everything still compiles, there are still more to remove)

13 years agoPurge of warnings from BPY_interface.c
Joshua Leung [Sun, 24 Feb 2008 10:36:19 +0000 (10:36 +0000)]
Purge of warnings from BPY_interface.c
* missing include for depsgraph from previous commit
* various problems related to gilstate calls being added in strange places (could someone familiar with python double check that they're in the right places now)?

13 years agoRemoving duplicate PyConstraints version-patch. I guess it was a result of some merge...
Joshua Leung [Sun, 24 Feb 2008 09:51:07 +0000 (09:51 +0000)]
Removing duplicate PyConstraints version-patch. I guess it was a result of some merge gone wrong or so.

13 years agoPatch #8344:
Joshua Leung [Sun, 24 Feb 2008 06:38:42 +0000 (06:38 +0000)]
Patch #8344:
Submitted by: Thomas Knight (epat)

Parts committed:
1) Fixed a few misspellings in some error strings.
2) Fixed a (theoretical) bug with pyconstraints where a text object could be deleted from python but would remain linked
to the constraint it was assigned to - causing slight UI usage discontinuities!

Not committed yet:
3) Particle system bugfix in this patch has not been committed. Could jahka or brecht check this.

13 years ago-> Bevel Crash Fix
Geoffrey Bantle [Sun, 24 Feb 2008 06:23:20 +0000 (06:23 +0000)]
-> Bevel Crash Fix

Bevel code was making incorrect usage of the BME_loop_reverse euler.
Restructured the code in order to correct the problem.

13 years agoadding the null body of the stubs
Jean-Luc Peurière [Sat, 23 Feb 2008 23:14:41 +0000 (23:14 +0000)]
adding the null body of the stubs

13 years ago-> Bevel tools and Bmesh kernel
Geoffrey Bantle [Sat, 23 Feb 2008 23:02:24 +0000 (23:02 +0000)]
-> Bevel tools and Bmesh kernel

missing stubs

13 years ago-> Bevel tools and Bmesh kernel
Geoffrey Bantle [Sat, 23 Feb 2008 22:46:55 +0000 (22:46 +0000)]
-> Bevel tools and Bmesh kernel

more missed files!

13 years ago-> Bevel tools and Bmesh kernel
Geoffrey Bantle [Sat, 23 Feb 2008 22:11:16 +0000 (22:11 +0000)]
-> Bevel tools and Bmesh kernel

The following is a commit of Levi Schooley's bevel code and
the bmesh library it depends on. The current editmode bevel has
been replaced with a new per edge bevel function. Vertex beveling is
also availible.

To set weights for the modifier to use, use the ctrl-shift-e shortcut on either edges
or vertices.

Recursive beveling is turned of for the time being.

13 years agoThis is an update of the french translation, patch from
Tom Musgrove [Sat, 23 Feb 2008 20:08:18 +0000 (20:08 +0000)]
This is an update of the french translation, patch from
Erwan Jacq (eon) - .mo to follow

This is also a partial fix of bug 8272 X3D export issues
the rest of the bug might be already fixed in CVS

13 years ago== Sequencer ==
Peter Schlaile [Sat, 23 Feb 2008 17:01:07 +0000 (17:01 +0000)]
== Sequencer ==

This fixes:

[#8335] Sequence Strips Jump to Frame Zero on second drag (if start < 0)
[#8334] Cannot use Negative Values in the New Sequence Buttons Input Panel
[#8333] Cannot add Color Generator in Sequence Editor

13 years ago=== PyNodes ===
Nathan Letwory [Sat, 23 Feb 2008 12:05:28 +0000 (12:05 +0000)]
=== PyNodes ===

* Make PyNodes work with threaded renderer. This patch is by Willian. He has worked hard on getting this sorted out - now you should be able to render with PyNodes AND multiple threads.