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

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

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

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

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

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

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

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

12 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

12 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

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

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

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

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

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

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

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

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

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

12 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

12 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

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

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

12 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

12 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

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

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

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

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

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

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

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

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

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

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

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

12 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 *.

12 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

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

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

12 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

12 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

12 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

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

12 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

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

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

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

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

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

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

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

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

12 years agoFix for bug #5986: snap circle too big when far away from the origin
Brecht Van Lommel [Thu, 21 Feb 2008 14:28:20 +0000 (14:28 +0000)]
Fix for bug #5986: snap circle too big when far away from the origin
(e.g. 1000 blender units).

12 years agoFix for bug #8321: crash with fluidsim in shaded draw mode.
Brecht Van Lommel [Thu, 21 Feb 2008 13:15:21 +0000 (13:15 +0000)]
Fix for bug #8321: crash with fluidsim in shaded draw mode.

12 years agoPoseLib Preview - Bugfix:
Joshua Leung [Thu, 21 Feb 2008 11:34:39 +0000 (11:34 +0000)]
PoseLib Preview - Bugfix:

PoseLib preview didn't correctly check if a bone was visible or not. Also, the check for when there were no selected bones (thus whole armature is affected) didn't work right.

12 years agoFollowing on from the commits yesterday for "Action Channel Settings" quick-toggle...
Joshua Leung [Thu, 21 Feb 2008 11:14:21 +0000 (11:14 +0000)]
Following on from the commits yesterday for "Action Channel Settings" quick-toggle tools, bones now have this functionality too.

Use Shift-W to toggle, Ctrl-Shift-W to enable, and Alt-W to disable one of the bone's settings.

12 years agoFix for bug #6669: saving an image from the image editor and
Brecht Van Lommel [Thu, 21 Feb 2008 11:14:04 +0000 (11:14 +0000)]
Fix for bug #6669: saving an image from the image editor and
automatically adding the extension didn't add it to the image
file path properly.

12 years agomade auto threads default (noob's get faster renders in their dual core CPU's)
Campbell Barton [Thu, 21 Feb 2008 08:43:13 +0000 (08:43 +0000)]
made auto threads default (noob's get faster renders in their dual core CPU's)
changed env variable check order $TMP, $TMPDIR - aparently $TMP is more common.

12 years agoAllow sequencer to use scene strips with no camera, if those scenes also use
Ken Hughes [Thu, 21 Feb 2008 01:35:20 +0000 (01:35 +0000)]
Allow sequencer to use scene strips with no camera, if those scenes also use
the sequencer.  This time, actually apply patch to the file before submmiting.

12 years agoAllow sequencer to use scene strips with no camera, if those scenes also use the...
Ken Hughes [Thu, 21 Feb 2008 01:19:42 +0000 (01:19 +0000)]
Allow sequencer to use scene strips with no camera, if those scenes also use the sequencer.

12 years agoFix for bug #6897: radiosity or autosmooth + displace gave different results
Brecht Van Lommel [Wed, 20 Feb 2008 20:37:20 +0000 (20:37 +0000)]
Fix for bug #6897: radiosity or autosmooth + displace gave different results
than regular displace.

12 years agoBugfix [#7847]: Fluid didn't work with ipo drivers
Daniel Genrich [Wed, 20 Feb 2008 20:15:00 +0000 (20:15 +0000)]
Bugfix [#7847]: Fluid didn't work with ipo drivers

12 years agoOnly use $TEMP for win32, for other os's use $TMP or $TMPDIR
Campbell Barton [Wed, 20 Feb 2008 20:07:37 +0000 (20:07 +0000)]
Only use $TEMP for win32, for other os's use $TMP or $TMPDIR

12 years agoPython Bugfix
Campbell Barton [Wed, 20 Feb 2008 18:56:07 +0000 (18:56 +0000)]
Python Bugfix
A new file could have its Blender.Get("filename") return "<memory>" after undo'ing on an open file.
Fix for own error with python sys.path, messed up game engine.

12 years agomaking auto detection of threads working on Os X
Jean-Luc Peurière [Wed, 20 Feb 2008 16:07:42 +0000 (16:07 +0000)]
making auto detection of threads working on Os X

sysconf exist but dont provide the needed flag
using sysctl instead

12 years agoCloth: Bugfix for wrong number of bending springs, could result in visual artifacts
Daniel Genrich [Wed, 20 Feb 2008 15:54:34 +0000 (15:54 +0000)]
Cloth: Bugfix for wrong number of bending springs, could result in visual artifacts

12 years agoFix for bug #7873: circle select highlights wrong vertices temporarily.
Brecht Van Lommel [Wed, 20 Feb 2008 14:54:17 +0000 (14:54 +0000)]
Fix for bug #7873: circle select highlights wrong vertices temporarily.

12 years agoNegative zmask rendering: now there is a setting to render everything
Brecht Van Lommel [Wed, 20 Feb 2008 14:17:53 +0000 (14:17 +0000)]
Negative zmask rendering: now there is a setting to render everything
behind the zmask instead of in front. Might need tweaks, and doesn't
work with halo yet.

12 years agoBugfix for duplivert render instancing with certain dupligroup setups.
Brecht Van Lommel [Wed, 20 Feb 2008 14:10:41 +0000 (14:10 +0000)]
Bugfix for duplivert render instancing with certain dupligroup setups.

12 years agoPython Bugfix,
Campbell Barton [Wed, 20 Feb 2008 13:42:15 +0000 (13:42 +0000)]
Python Bugfix,
Setting the user preference for python scripts didnt add the bpymodules subdirectory to sys.path (python module search path).
Also problems with entering and exiting- the old path was used until next restart.

12 years ago== Action Editor - Channel Tools ==
Joshua Leung [Wed, 20 Feb 2008 11:02:32 +0000 (11:02 +0000)]
== Action Editor - Channel Tools ==

* Added a new set of related tools for channel editing (Toggle/Enable/Disable Setting). These are activated using the Shift-W, Ctrl-Shift-W, and Alt-W hotkeys. They allow for setting of the given setting on all selected channels (where it will apply).

* Moved + grouped all the channel-related operations in a new "Channels" menu, located between the "Select" and "Markers" menus. This makes more sense than squeezing the functionality at the end of the "Key" menu!

12 years ago* Added include for auto-threads to compile on Windows
Matt Ebb [Wed, 20 Feb 2008 01:12:21 +0000 (01:12 +0000)]
* Added include for auto-threads to compile on Windows

12 years agoBug #8312: Latest SVN lost LOCAL and NORMAL Transformation Coords in Armature
Martin Poirier [Tue, 19 Feb 2008 23:05:24 +0000 (23:05 +0000)]
Bug #8312: Latest SVN lost LOCAL and NORMAL Transformation Coords in Armature

Stupid if condition messed Normal orientation for pose bones.

Normal part didn't change and is expected, not a bug.

12 years agoadded win32 check for number of processors, but cant test.
Campbell Barton [Tue, 19 Feb 2008 22:59:52 +0000 (22:59 +0000)]
added win32 check for number of processors, but cant test.
could somebody running win32 see if headers need to be added to threads.c?

12 years agoautomatic threads, next to the Threads button, so you can set threads to use whatever...
Campbell Barton [Tue, 19 Feb 2008 22:23:21 +0000 (22:23 +0000)]
automatic threads, next to the Threads button, so you can set threads to use whatever the system has, useful in the studio with 2,4,8 core systems when sharing files.

12 years agoPatche from Giuseppe Ghibò to look in /usr/lib64
Campbell Barton [Tue, 19 Feb 2008 21:18:35 +0000 (21:18 +0000)]
Patche from Giuseppe Ghibò to look in /usr/lib64

12 years agoPossible fix for bug #6922: crash in displace compositor node,
Brecht Van Lommel [Tue, 19 Feb 2008 20:35:19 +0000 (20:35 +0000)]
Possible fix for bug #6922: crash in displace compositor node,
possibly because it didn't handle the vector input correct if
it was translated.

12 years agoFix for bug #6911: radiosity pass can no be excluded.
Brecht Van Lommel [Tue, 19 Feb 2008 19:26:49 +0000 (19:26 +0000)]
Fix for bug #6911: radiosity pass can no be excluded.

12 years agoFix for bug #8311: painting in the image editor with left mouse button
Brecht Van Lommel [Tue, 19 Feb 2008 18:47:09 +0000 (18:47 +0000)]
Fix for bug #8311: painting in the image editor with left mouse button
selection enabled still painted with right mouse button, inconsistent
with painting in the 3d view.

12 years agoAdded an option for texture forcefields to use the root location of a particle for...
Campbell Barton [Tue, 19 Feb 2008 18:36:50 +0000 (18:36 +0000)]
Added an option for texture forcefields to use  the root location of a particle for its texture coords.
Without this, animating grass would either look like seaweed (with low freq texture)
Or the grass would wrinkle up and get kinks (high freq texture)
This lets you use a high frequency texture while having straight grass.

12 years agoFix for bug #8299: baking from selected to active with ray transparency
Brecht Van Lommel [Tue, 19 Feb 2008 17:51:58 +0000 (17:51 +0000)]
Fix for bug #8299: baking from selected to active with ray transparency
gave wrong results. Problem was the view vector was setup strange. While
it is really not well defined, it is now set as the negation of the normal,
so it is looking right at the surface, gives more predictable.

12 years agoAdded an option to bake AO normalized, without material settings taken
Brecht Van Lommel [Tue, 19 Feb 2008 16:16:16 +0000 (16:16 +0000)]
Added an option to bake AO normalized, without material settings taken
into account. The normalized result can often be easier to integrate
into different materials, e.g. for games.

12 years agoBugfix: vector blur blending of different times wasn't correct, didn't
Brecht Van Lommel [Tue, 19 Feb 2008 15:30:33 +0000 (15:30 +0000)]
Bugfix: vector blur blending of different times wasn't correct, didn't
show up much for characters on isolated layers but can make a big
difference on a full scene:

http://users.pandora.be/blendix/vblur_before.jpg
http://users.pandora.be/blendix/vblur_after.jpg

12 years agoBugfix: this adds some epsilons (FLT_EPSILON, so quite small) to the
Brecht Van Lommel [Tue, 19 Feb 2008 12:13:35 +0000 (12:13 +0000)]
Bugfix: this adds some epsilons (FLT_EPSILON, so quite small) to the
raytracing intersection code, to avoid rays slipping through between
triangles, this would mostly show up with sceen aligned quads and
baking of height maps for example. Epsilon's are not pretty, but I
haven't found a reliable way around them.

12 years agoBug #8234: sky texture for approximate AO doesn't work, as mentioned
Brecht Van Lommel [Tue, 19 Feb 2008 11:07:09 +0000 (11:07 +0000)]
Bug #8234: sky texture for approximate AO doesn't work, as mentioned
in the commit log. Couldn't get this to work well, probably this would
work a lot better with the IBL spherical harmonics feature, so I've just
disabled the option in the interface for now.

12 years agopython API: added support for screen font 12(fix-width) as "normalfix"
Remigiusz Fiedler [Tue, 19 Feb 2008 10:47:29 +0000 (10:47 +0000)]
python API: added support for screen font 12(fix-width) as "normalfix"

12 years agopendent changes -
Campbell Barton [Tue, 19 Feb 2008 10:43:41 +0000 (10:43 +0000)]
pendent changes -
- Added a note that force fields only affect objects on same layers
- PLAY button would just play all frames and didnt respect the end frame which is very annoying at times.

12 years agoCrasher in patch for premul flag: missing NULL check
Ton Roosendaal [Tue, 19 Feb 2008 09:00:39 +0000 (09:00 +0000)]
Crasher in patch for premul flag: missing NULL check

Also converted ugly short pointer casting with the standard ID
define GS(), Get Shorty!

12 years agoFurther work on the premul option for ton. This option
Joseph Eagar [Mon, 18 Feb 2008 23:50:12 +0000 (23:50 +0000)]
Further work on the premul option for ton.  This option
(which basically tells the renderer and compositor to expect a
key image) is now done at the image user level.

This does have some caveats, as image users don't always work
the way I thought they would/should (for example, the same image user
structure is apparently used in the uv image editor for all images,
which is kindof odd).

The UV image editor also now smartly detects if the premul option is
set and draws the image using key alpha, instead of premul

The subversion level was upped to convert the old premul flag, which was at
the image level, to the new one, which is at the image user level.

12 years agoTools
Ken Hughes [Mon, 18 Feb 2008 23:00:44 +0000 (23:00 +0000)]
Tools
-----
Remove extra parenthesis from Cubic tooltip, reported on IRC.

12 years agoFix for bug #8047: convert metaballs to mesh often has holes.
Brecht Van Lommel [Mon, 18 Feb 2008 20:00:42 +0000 (20:00 +0000)]
Fix for bug #8047: convert metaballs to mesh often has holes.

12 years agoFix for bug #7787: QMC AO could give bad results tracing rays from an
Brecht Van Lommel [Mon, 18 Feb 2008 19:32:57 +0000 (19:32 +0000)]
Fix for bug #7787: QMC AO could give bad results tracing rays from an
untraceable material, cause is that the ray start position got set
only once, but it needs to be set for each ray since it can be clipped
to the octree bounding box.

12 years agoFix for bug #7936: render baking selected to active now has a Bias
Brecht Van Lommel [Mon, 18 Feb 2008 18:14:19 +0000 (18:14 +0000)]
Fix for bug #7936: render baking selected to active now has a Bias
value that is an offset along the normal when looking for the nearest
face, which allows baking faces further away, e.g. an ID badge onto a
shirt.

Also fixes a bug baking to float images, for things other than
displacement it didn't work sometimes, and a memory leak in the
extend filter.

12 years ago== MSVC 7.1 projectfiles ==
Andrea Weikert [Mon, 18 Feb 2008 17:56:41 +0000 (17:56 +0000)]
== MSVC 7.1 projectfiles ==
- added missing files rev. 13738 (Transform Orientations) commit.

12 years agomoved LARGEFILE defines to BLI_storage.h
Campbell Barton [Mon, 18 Feb 2008 17:20:04 +0000 (17:20 +0000)]
moved LARGEFILE defines to BLI_storage.h

12 years agoDisable particle time looping for hair, doesn't have any purpose there,
Brecht Van Lommel [Mon, 18 Feb 2008 15:56:34 +0000 (15:56 +0000)]
Disable particle time looping for hair, doesn't have any purpose there,
only gives weird results.

12 years agoBugfix for defocus node gamma correct. It applied gamma correct to
Brecht Van Lommel [Mon, 18 Feb 2008 15:21:59 +0000 (15:21 +0000)]
Bugfix for defocus node gamma correct. It applied gamma correct to
a premul image but that doesn't work correct. Now it depremuls and
premuls again around the gamma correction. Better solution might be
possible, but this gives compatible results.

12 years agoparticle bug - Edit Particles could reference invalid face indices's,
Campbell Barton [Mon, 18 Feb 2008 14:06:45 +0000 (14:06 +0000)]
particle bug - Edit Particles could reference invalid face indices's,
Now particles lookup every face in the derived mesh to be placed on the mesh.

12 years agoBugfix for speed vector pass not being done when rendering a single
Brecht Van Lommel [Mon, 18 Feb 2008 13:38:16 +0000 (13:38 +0000)]
Bugfix for speed vector pass not being done when rendering a single
layer from the compositor. I've solved this by changing the behavior,
now it always renders a vector pass even if Do Composite is disabled.
I think that's more consistent because other passes get rendered too
regardless of Do Composite, the vector pass was just an exception.