blender.git
11 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.

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

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

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

11 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

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

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

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

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

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

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

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

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

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

11 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

11 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
mipmap-trilinear

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

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

11 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
http://projects.blender.org/tracker/index.php?func=detail&aid=8328&group_id=9&atid=125

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

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

11 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

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

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

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

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

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

11 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

11 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

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

11 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).

11 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
compatibility.

11 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

11 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).

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

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

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

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

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

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

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

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

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

11 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

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

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

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

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

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

11 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

11 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!

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

11 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).

11 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: http://wiki.blender.org/index.php/BlenderDev/BPythonAPI/Threads

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!

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

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

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

Fixes

[#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
instead.

11 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

11 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

11 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!

11 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!

11 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...)

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

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

11 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)?

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

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

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

11 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

11 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

11 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!

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

11 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

11 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

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

11 years agoNodes to be created at the location in which the mouse cursor was initially
Juho Vepsalainen [Sat, 23 Feb 2008 10:33:36 +0000 (10:33 +0000)]
Nodes to be created at the location in which the mouse cursor was initially
This commit changes the way new nodes are created. Previously nodes were created
at the last location of the mouse cursor before creating a new node. After this
commit the nodes are created at the initial location in which the cursor was
before the menu used to add the node was opened.

This makes it possible for the user to predict where the new node appears without
having to move it to desired location like before. There is no option for this as
this behaviour is clearly superior to previous.

Codewise it uses static variables. This is something to fix during 2.50 rewrite.

Thanks to paprmh for contribution!

11 years ago== PoseLib - Action Editor Integration (Transform) ==
Joshua Leung [Sat, 23 Feb 2008 04:09:34 +0000 (04:09 +0000)]
== PoseLib - Action Editor Integration (Transform) ==

Now it is possible to transform Pose Markers in the Action Editor. (Note: it is a bit of a quick hack)

11 years ago=ID Property Bugfix=
Joseph Eagar [Sat, 23 Feb 2008 02:12:50 +0000 (02:12 +0000)]
=ID Property Bugfix=

There was an extraneous line causing ID property groups
to have the wrong length, causing crashes in code that
relied on it.

This commit both fixes that and adds a version check to
fix group lengths for older .blends.  The subversion
was incremented to 15 for this change.

11 years ago=Reversion of premul bugfix=
Joseph Eagar [Fri, 22 Feb 2008 22:23:58 +0000 (22:23 +0000)]
=Reversion of premul bugfix=
Reversion of premul bugfix, as it was apparently not
working all that well.

Note that this brings back the bug where the erase alpha
paint tool won't display correctly, since the UV image
editor just draws images in key alpha now.

11 years agoFix for bug #8329: approximate AO with shadow disabled gave artifacts.
Brecht Van Lommel [Fri, 22 Feb 2008 19:29:15 +0000 (19:29 +0000)]
Fix for bug #8329: approximate AO with shadow disabled gave artifacts.

11 years agotiny fix
Campbell Barton [Fri, 22 Feb 2008 18:26:51 +0000 (18:26 +0000)]
tiny fix

11 years agoBugfix: effectors in dupligroups didn't work, if the particle didn't
Brecht Van Lommel [Fri, 22 Feb 2008 16:31:10 +0000 (16:31 +0000)]
Bugfix: effectors in dupligroups didn't work, if the particle didn't
specify a group of effectors. Now it goes into groups recursively to
find effectors.

11 years agoFix for mistake in last commit, using wrong flag.
Brecht Van Lommel [Fri, 22 Feb 2008 15:09:24 +0000 (15:09 +0000)]
Fix for mistake in last commit, using wrong flag.

11 years ago* Displacement baking wasnt working with negative distances.
Campbell Barton [Fri, 22 Feb 2008 14:27:46 +0000 (14:27 +0000)]
* Displacement baking wasnt working with negative distances.
* Added Normalize option for diplacement so everything in the 'Dist' range is mapped 0-1
* Increased the maximum Dist and Bias to1000.0 (was 10.0)
* Added python utility function in BPyRender.py - bakeToPlane(...), to automate heightmap, normalmap generation for Crystalspace.

11 years agoBugfix: objects in groups with texture mapping Object now get texture
Brecht Van Lommel [Fri, 22 Feb 2008 13:21:42 +0000 (13:21 +0000)]
Bugfix: objects in groups with texture mapping Object now get texture
coordinates from the object as if they were in their original position,
untransformed by dupligroups or dupliverts. Otherwise the textures of
such objects would change depending on their position.

11 years agoFix: compositor events caused far too many recomposite signals, this
Ton Roosendaal [Fri, 22 Feb 2008 11:25:08 +0000 (11:25 +0000)]
Fix: compositor events caused far too many recomposite signals, this
because it was tagging all nodes with same ID *.

11 years agoadding access to missing bake variables from python
Campbell Barton [Fri, 22 Feb 2008 10:50:45 +0000 (10:50 +0000)]
adding access to missing bake variables from python

11 years agoFix for bug #8326: SSS + fields crashed.
Brecht Van Lommel [Fri, 22 Feb 2008 10:43:40 +0000 (10:43 +0000)]
Fix for bug #8326: SSS + fields crashed.

11 years ago== Sculpt ==
Nicholas Bishop [Fri, 22 Feb 2008 03:29:17 +0000 (03:29 +0000)]
== Sculpt ==

Fixed bug #8243, sculpt mode crash

Increased amount of memory allocated for doing smooth stroke. Should ensure there's enough room to store result of subdividing the stroke.

11 years ago* Let 'Add' scripts appear in the Add header menu, not just the scripts window
Matt Ebb [Fri, 22 Feb 2008 01:28:48 +0000 (01:28 +0000)]
* Let 'Add' scripts appear in the Add header menu, not just the scripts window

11 years agoBugfix for [#6823] Bake button broken - No image
Campbell Barton [Fri, 22 Feb 2008 00:40:32 +0000 (00:40 +0000)]
Bugfix for [#6823] Bake button broken - No image

11 years agofix for [#7899] Quit doesn't report failure to save quit.blend
Campbell Barton [Fri, 22 Feb 2008 00:03:03 +0000 (00:03 +0000)]
fix for [#7899] Quit doesn't report failure to save quit.blend

11 years agoFix for [#8303] stamp gives wrong file name when using unsaved files
Campbell Barton [Thu, 21 Feb 2008 23:19:06 +0000 (23:19 +0000)]
Fix for [#8303] stamp gives wrong file name when using unsaved files
Also made alpha color work with OpenGL render caused by buf_rectfill_area not working on char rect's.

11 years agoautoThread was inverted at rendertime (forgot to change), added tooltips
Campbell Barton [Thu, 21 Feb 2008 21:28:54 +0000 (21:28 +0000)]
autoThread was inverted at rendertime (forgot to change), added tooltips

11 years agoFix for bug #8295: lock button in the sequencer buttons didn't do
Brecht Van Lommel [Thu, 21 Feb 2008 20:59:35 +0000 (20:59 +0000)]
Fix for bug #8295: lock button in the sequencer buttons didn't do
proper redraw.

11 years agoFix for bug #8214: halo didn't render correct with FSA.
Brecht Van Lommel [Thu, 21 Feb 2008 20:58:22 +0000 (20:58 +0000)]
Fix for bug #8214: halo didn't render correct with FSA.

11 years agoParticles using Object or Group visualization would render with Disp value. - rather...
Campbell Barton [Thu, 21 Feb 2008 20:13:33 +0000 (20:13 +0000)]
Particles using Object or Group visualization would render with Disp value. - rather then using 100% of the objects.

11 years agoFix for bug #6991: edge slide crash with the last vertex
Brecht Van Lommel [Thu, 21 Feb 2008 17:52:03 +0000 (17:52 +0000)]
Fix for bug #6991: edge slide crash with the last vertex
missing rails.

11 years agoFix for bug #6769: lattice editmode undo gave corrupt data
Brecht Van Lommel [Thu, 21 Feb 2008 16:57:58 +0000 (16:57 +0000)]
Fix for bug #6769: lattice editmode undo gave corrupt data
if the lattice resolution changed.

11 years agoFix for bug #8120: edgeloop delete with automerge editing enabled
Brecht Van Lommel [Thu, 21 Feb 2008 15:24:15 +0000 (15:24 +0000)]
Fix for bug #8120: edgeloop delete with automerge editing enabled
resulted in wrong selection state.

11 years agoFix for bug #8014: in some cases text objects would not render without
Brecht Van Lommel [Thu, 21 Feb 2008 15:09:12 +0000 (15:09 +0000)]
Fix for bug #8014: in some cases text objects would not render without
being shown in the 3d view first.

11 years agoFix for bug #8313: image editor alpha drawing + user aspect ratio was
Brecht Van Lommel [Thu, 21 Feb 2008 14:50:07 +0000 (14:50 +0000)]
Fix for bug #8313: image editor alpha drawing + user aspect ratio was
not correct.