blender.git
12 years agoMade octree size always available since its used for baking.
Campbell Barton [Sat, 12 Apr 2008 22:17:23 +0000 (22:17 +0000)]
Made octree size always available since its used for baking.
Documented obscure environment variables

12 years agoFix for bug #8927: halo blending with solid has poor antialiasing,
Brecht Van Lommel [Sat, 12 Apr 2008 21:44:08 +0000 (21:44 +0000)]
Fix for bug #8927: halo blending with solid has poor antialiasing,
which as far as I can see is an old issue, but with FSA it is quite
simple to do better.

12 years agofix BGE bug #8880: blenderplayer closing when esc is pressed
Benoit Bolsee [Sat, 12 Apr 2008 21:18:58 +0000 (21:18 +0000)]
fix BGE bug #8880: blenderplayer closing when esc is pressed

ESC now quits the game by default in all modes unless a keyboard sensor is set on ESC.
In this case, the game designer must arrange for an alternative way to quit the game.

12 years agoerror in last commit. also use smaller fonts in the sequencer for frame numbers,...
Campbell Barton [Sat, 12 Apr 2008 20:36:35 +0000 (20:36 +0000)]
error in last commit. also use smaller fonts in the sequencer for frame numbers, number string was too long.

12 years agoactive face can now be unselected, also extrude and copy keep the active face.
Campbell Barton [Sat, 12 Apr 2008 19:56:53 +0000 (19:56 +0000)]
active face can now be unselected, also extrude and copy keep the active face.

12 years agoFix for bug #8463: object texture mapping for duplis was changed to
Brecht Van Lommel [Sat, 12 Apr 2008 18:44:03 +0000 (18:44 +0000)]
Fix for bug #8463: object texture mapping for duplis was changed to
act as if the object was in its original position, instead of being
different for all instances. However, this is desired behavior in
some cases and so breaks compatibility. Now it only does the new
behavior when enabling the "From Original" option.

12 years agoFix for bug #8936: particle system crash with vertex groups and
Brecht Van Lommel [Sat, 12 Apr 2008 18:15:10 +0000 (18:15 +0000)]
Fix for bug #8936: particle system crash with vertex groups and
zero vertices in a mesh.

12 years agoFix for bug #7100: when rendering on solaris, pressing esc could
Brecht Van Lommel [Sat, 12 Apr 2008 17:34:48 +0000 (17:34 +0000)]
Fix for bug #7100: when rendering on solaris, pressing esc could
kill the process. Some time ago SIGVTALRM was replaced with SIGALRM
to solve issues on linux, but this signal can kill the process on
solaris, so now it uses SIGVTALRM again there.

12 years agoFix or bug #8712: transparency + sss gave too bright results.
Brecht Van Lommel [Sat, 12 Apr 2008 16:31:29 +0000 (16:31 +0000)]
Fix or bug #8712: transparency + sss gave too bright results.

12 years agoremoved blenders backup feature.
Campbell Barton [Sat, 12 Apr 2008 15:03:47 +0000 (15:03 +0000)]
removed blenders backup feature.
 sprintf(str, "/bin/su root -c 'cd %s; /bin/tar cf - \"%s\" | (/bin/cd %s; /bin/tar xf -)'", from, file, to);
 return system(str);

This would ask for a password in blenders terminal, in ubuntu there is no root user...
If this feature is added back it should be written in a much nicer way.

Also made HKey toggle hidden files in the file selector.

12 years agoFix for bug #8934: parenting or connecting armature bones didn't really
Brecht Van Lommel [Sat, 12 Apr 2008 14:53:29 +0000 (14:53 +0000)]
Fix for bug #8934: parenting or connecting armature bones didn't really
sync tip and root selection intuitively.

12 years agoFix for bug #6753: metaballs instanced by a particle system did not
Brecht Van Lommel [Sat, 12 Apr 2008 14:30:17 +0000 (14:30 +0000)]
Fix for bug #6753: metaballs instanced by a particle system did not
refresh properly, also fixed a memory leak.

12 years agoFix for bug #5862: crash rendering to quicktime h.264. This would need
Brecht Van Lommel [Sat, 12 Apr 2008 13:49:00 +0000 (13:49 +0000)]
Fix for bug #5862: crash rendering to quicktime h.264. This would need
an upgrade to the new quicktime api to work, but that's not really
compatible with rendering out frames sequentially. For now it sets the
compression to minimum quality, which doesn't need seeking forward and
backwards.

12 years agoFix for bug #8932: crash converting old particle system.
Brecht Van Lommel [Sat, 12 Apr 2008 13:00:01 +0000 (13:00 +0000)]
Fix for bug #8932: crash converting old particle system.

12 years agoFix for bug #8930: issue removing temporary pointcache directory on windows.
Brecht Van Lommel [Sat, 12 Apr 2008 12:56:49 +0000 (12:56 +0000)]
Fix for bug #8930: issue removing temporary pointcache directory on windows.

12 years agosimple fix for "Unable to make version backup" warning when saving files. missing...
Campbell Barton [Sat, 12 Apr 2008 10:55:10 +0000 (10:55 +0000)]
simple fix for "Unable to make version backup" warning when saving files. missing a return.

For *nix sustems, recent physics pointcache refactor uses stdio.h's remove() rather then system("rm -f ...") for removing files, since it was a lot slower for removing pointcache.

Ton used the system command because there was some problem using remove() ~6years back, but he cant remember why, (maybe its not a problem now)

Simple error, remove wasn't returning a value, but keep an eye out for problems removing files, and if anyone can reproduce the "Unable to make version backup" problem when saving, we should look into it.

Also added a note about using # in the output path for blenders command line help text.

12 years agofix BGE patch #7892: dRot motion is reversed on non-dynamic objects
Benoit Bolsee [Fri, 11 Apr 2008 21:19:00 +0000 (21:19 +0000)]
fix BGE patch #7892: dRot motion is reversed on non-dynamic objects

Positive dRot motion actuator will now make the dynamic and non-dynamic objects rotate counter-clock wise.

12 years agoMoved initialization of vertex flags up a bit in the subdivide
Chris Want [Fri, 11 Apr 2008 20:46:12 +0000 (20:46 +0000)]
Moved initialization of vertex flags up a bit in the subdivide
routine because they were trumping a fix I had made earlier
to deal with subdivide smooth and mirror modifiers.

Campbell, could you please check that this commit is compatible
with the results you were expecting from commit 14227? Here
is the log of that commit:

http://projects.blender.org/plugins/scmsvn/viewcvs.php/trunk/blender/source/blender/src/editmesh_tools.c?root=bf-blender&view=log#rev14227

12 years agoMake blenderplayer link to binreloc on linux.
Chris Want [Fri, 11 Apr 2008 19:58:54 +0000 (19:58 +0000)]
Make blenderplayer link to binreloc on linux.

12 years agoThis is patch [#8531] Change gamma node max value
Kent Mein [Fri, 11 Apr 2008 18:07:27 +0000 (18:07 +0000)]
This is patch [#8531] Change gamma node max value

Submitted By:
Stephane SOPPERA (soppera)

It just increases the max value for gamma correction to 10f.  Which
as noted in the patch is the same as the Gimp's color level tool.

Kent

12 years agoChanged BLI_convertstringcode to replace any number of hashes with the frame number.
Campbell Barton [Fri, 11 Apr 2008 15:47:21 +0000 (15:47 +0000)]
Changed BLI_convertstringcode to replace any number of hashes with the frame number.

somefile_##.png -> somefile_01.png
somefile_########-image.png -> somefile_00000001-image.png

Before, A hash at the end of the string would be replaced by a number with 4 characters. This is still default if no #'s are in the string, so nothing has changed.

To use this function from the python api use scene.render.getFrameFilename()

12 years agoFix for bug #8920: particles reactor crash and memory leak.
Brecht Van Lommel [Fri, 11 Apr 2008 12:29:29 +0000 (12:29 +0000)]
Fix for bug #8920: particles reactor crash and memory leak.

12 years agoConstraints-UI:
Joshua Leung [Fri, 11 Apr 2008 07:27:52 +0000 (07:27 +0000)]
Constraints-UI:

* Fixed typo in tooltip for IK Constraint
* Beautified Limit Distance constraint a little bit

12 years agofix BGE bug #8813: new rayCastTo() function hits near sensor collision box
Benoit Bolsee [Thu, 10 Apr 2008 20:17:12 +0000 (20:17 +0000)]
fix BGE bug #8813: new rayCastTo() function hits near sensor collision box

12 years agoLittle cloth code cleanup needed because of from new cache code merge
Daniel Genrich [Thu, 10 Apr 2008 18:00:59 +0000 (18:00 +0000)]
Little cloth code cleanup needed because of from new cache code merge

12 years ago2nd Part: Partial commit of patch #8812 (static caused problems on sunOS)
Daniel Genrich [Thu, 10 Apr 2008 16:42:19 +0000 (16:42 +0000)]
2nd Part: Partial commit of patch #8812 (static caused problems on sunOS)

12 years agoPartial commit of patch #8812 (fixing inlining on sunOS)
Daniel Genrich [Thu, 10 Apr 2008 16:36:46 +0000 (16:36 +0000)]
Partial commit of patch #8812 (fixing inlining on sunOS)

12 years agoFix for mistake in pointcache refactor commit.
Brecht Van Lommel [Thu, 10 Apr 2008 13:20:36 +0000 (13:20 +0000)]
Fix for mistake in pointcache refactor commit.

12 years agoFix for bug #8898: QMC AO not working correct on objects pointing
Brecht Van Lommel [Thu, 10 Apr 2008 12:52:48 +0000 (12:52 +0000)]
Fix for bug #8898: QMC AO not working correct on objects pointing
directly at the camera in some cases.

12 years agoPoint Cache Refactoring
Brecht Van Lommel [Thu, 10 Apr 2008 11:39:20 +0000 (11:39 +0000)]
Point Cache Refactoring
=======================

Caching and Baking:
- The point cache is now cleared on DAG_object_flush_update(), and not cleared for time dependency graph updates.
- There is now a Bake button instead of Protect. Also cache start and end frames were added to softbody and particles.
- The cloth autoprotect feature was removed.
- The Ctrl+B menu now also bakes cloth and particles next to softbody and fluids. Additionally there are now frree bake and free cache menu entries.
- The point cache api has been changed. There is now a PTCacheID struct for each point cache type that can be filled and then used to call the point cache functions.
- PointCache struct was added to DNA and is automatically allocated for each physics type.
- Soft body now supports Bake Editing just like cloth.
- Tried to make the systems deal consistently with time ipo's and offsets. Still not sure it all works correct, but too complicated to solve completely now.

Library Linking:
- Added some more warnings to prevent editing settings on library linked objects.
- Linked objects now read from the cache located next to the original library file, and never write to it. This restores old behavior for softbodies. For local simulation the mesh and not the object should be linked.
- Dupligroups and proxies can't create local point caches at the moment, how to implement that I'm not sure. We probably need a proxy point cache for that to work (ugh).

Physics UI:
- Renamed deflection panel to collision for consistency and reorganized the buttons. Also removed some softbody collision buttons from the softbody panel that were duplicated in this panel for cloth.
- Tweaked field panel buttons to not jump around when changing options.
- Tabbing e.g. Soft Body Collision into the Soft Body panel, it now only shows Collision to make the panel names readable.
- I tried to make enabled/disabling physics more consistent, since all three system did things different. Now the two modifier buttons to enable the modifier for the viewport and rendering are also duplicated in the physics panels. Toggling the Soft Body and Cloth buttons now both remove their modifiers.
- Fixed modifier error drawing glitch.

Particles:
- Particles are now recalculated more often than before. Previously it did partial updates based on the changes, but that doesn't work well with DAG_object_flush_update() ..
- Fixed memory leak loading keyed particle system. Now keys are not written to file anymore but always created after loading.
- Make particle threads work with autothreads.

Continue Physics:
- The timeline play now has a Continue Physics option in the playback menu, which keeps the simulations going without writing them to the cache.
- This doesn't always work that well, some changes are not immediately updated, but this can be improved later. Still it's fun to get a feel for the physics.

Todo:
- Point cache can get out of sync with and undo and changing a file without saving it.
- Change the point cache file format to store a version (so old point cache files can be either converted or at least ignored), and to do correct endian conversion.
- Menu item and/or buttons for Ctrl+B.
- A system("rm ..") was changed to remove() since the former is very slow for clearing point caches. These system() calls were already giving trouble in a bug in the tracker, but really most use of this system("") should be changed and tested.
- The Soft Body Collision and Clot Collision panel titles don't mention there's point cache settings there too, doing that makes them unreadable with the default panel setup.. but may need to make the names longer anyway.

12 years agoFix for render scemode in the python api, forgot to commit this file
Brecht Van Lommel [Thu, 10 Apr 2008 11:34:36 +0000 (11:34 +0000)]
Fix for render scemode in the python api, forgot to commit this file
when i changed it from a short to an int.

12 years agoCloth bugfix for new timescaling feature
Daniel Genrich [Wed, 9 Apr 2008 19:10:03 +0000 (19:10 +0000)]
Cloth bugfix for new timescaling feature

12 years agoBugfix: scaling images anti-aliased with either the width or height
Brecht Van Lommel [Wed, 9 Apr 2008 17:14:02 +0000 (17:14 +0000)]
Bugfix: scaling images anti-aliased with either the width or height
staying the same did not work correct (showed up in the sequencer).

12 years agoCloth enhancement for upcomming cache changes: support different speed using clmd...
Daniel Genrich [Wed, 9 Apr 2008 16:38:26 +0000 (16:38 +0000)]
Cloth enhancement for upcomming cache changes: support different speed using clmd->sim_parms->timescale

12 years agoMade aspx/y into floats so we can render precise regions (for apricot terrain baking)
Campbell Barton [Wed, 9 Apr 2008 15:46:26 +0000 (15:46 +0000)]
Made aspx/y into floats so we can render precise regions (for apricot terrain baking)

12 years agoCloth/Collision modifier now gets add to the tail of the modifier stack as that is...
Daniel Genrich [Wed, 9 Apr 2008 15:28:46 +0000 (15:28 +0000)]
Cloth/Collision modifier now gets add to the tail of the modifier stack as that is normal behaviour for all other modifiers, too.

12 years agoAction Editor - Renamed 'AfterTrans Delete Dupli-Frames' to 'AutoMerge Keys' for
Joshua Leung [Wed, 9 Apr 2008 10:33:15 +0000 (10:33 +0000)]
Action Editor - Renamed 'AfterTrans Delete Dupli-Frames' to 'AutoMerge Keys' for

12 years agoAPI Doc for new Object attributes trackAxis and upAxis.
Stephen Swaney [Wed, 9 Apr 2008 07:27:37 +0000 (07:27 +0000)]
API Doc for new Object attributes trackAxis and upAxis.
contributed by Cedric Paille.  Thanks!

Fix broken indentation in Constraint doc.

12 years agominor edit to last commit, fixed a possible python error
Campbell Barton [Tue, 8 Apr 2008 20:08:46 +0000 (20:08 +0000)]
minor edit to last commit, fixed a possible python error

12 years ago-> Fix for last commit on FLT exporter
Geoffrey Bantle [Tue, 8 Apr 2008 19:35:53 +0000 (19:35 +0000)]
-> Fix for last commit on FLT exporter

Forgot to change some dictionary keys in source which
would break export. Fixed

12 years agouse mkdtemp for the scons tempfile path rather then '.sconf_temp', this way 2 blender...
Campbell Barton [Tue, 8 Apr 2008 17:01:11 +0000 (17:01 +0000)]
use mkdtemp for the scons tempfile path rather then '.sconf_temp', this way 2 blenders can be compiled at once from the same path. (debug and release for instance, as long as they build in their own dir)

12 years agofix compiler warnings - deja vu all over again.
Stephen Swaney [Tue, 8 Apr 2008 16:50:20 +0000 (16:50 +0000)]
fix compiler warnings - deja vu all over again.

buttons_object.c:2326: warning: too many arguments for format
buttonns_object.c:3829: warning: ordered comparison of pointer with integer zero

12 years agoOptimization for the sequencer wipe effect, was doing a lot of unnecessary
Brecht Van Lommel [Tue, 8 Apr 2008 16:28:55 +0000 (16:28 +0000)]
Optimization for the sequencer wipe effect, was doing a lot of unnecessary
computations for each pixel making it quite slow.

12 years agosetting the blend value for a sequencer strip would crash when the strip had both...
Campbell Barton [Tue, 8 Apr 2008 15:07:40 +0000 (15:07 +0000)]
setting the blend value for a sequencer strip would crash when the strip had both char and float buffers.

12 years agoProper fix for camera transform with snap.
Martin Poirier [Tue, 8 Apr 2008 13:40:05 +0000 (13:40 +0000)]
Proper fix for camera transform with snap.

Please email me or report a bug when such problem arise, it's simpler if done properly the first time.

12 years agoSorry, reverting bad things in modifier.c
Daniel Genrich [Tue, 8 Apr 2008 12:58:25 +0000 (12:58 +0000)]
Sorry, reverting bad things in modifier.c

12 years agoCloth bugfix: used old dm instead of new created result derivedmesh; Code cleanup...
Daniel Genrich [Tue, 8 Apr 2008 12:55:35 +0000 (12:55 +0000)]
Cloth bugfix: used old dm instead of new created result derivedmesh; Code cleanup + deactivation of unsued selfcollision code in kdop.c + little speedup there

12 years agomoving the camera on the local Z axis while in the camera view didn't work when snapp...
Campbell Barton [Tue, 8 Apr 2008 11:57:10 +0000 (11:57 +0000)]
moving the camera on the local Z axis while in the camera view didn't work when snapping was enabled (even though the CTRL key was not pressed)

12 years agobug fix
Jens Ole Wund [Mon, 7 Apr 2008 21:58:12 +0000 (21:58 +0000)]
bug fix
UI panel issues with soft bodies
code cleaning .. remove some G.rt code

12 years agoPotential fix for [#8113] Blender.Registry segfault when no permission to write
Martin Poirier [Mon, 7 Apr 2008 20:56:45 +0000 (20:56 +0000)]
Potential fix for [#8113] Blender.Registry segfault when no permission to write

This converts exceptions in Warning in selected points of the registry module.

While I couldn't reproduce the segfault ( I received the Py error as expected), this isn't a bad idea anyway, since the BPy C counterpart was discarding the error anyway, making it a warning is a bit more inline with its meaning.

The exception is not preventable nor fixable from a script's point of view, so better to silence it and print a warning to the console instead.

12 years agoFix for bug #8073: texture nodes connected to a viewer could crash.
Brecht Van Lommel [Mon, 7 Apr 2008 15:21:25 +0000 (15:21 +0000)]
Fix for bug #8073: texture nodes connected to a viewer could crash.
Also fixed a bug where procedural buffers did not convert correctly
to different buffer types (e.g. value -> rgba would give red).

12 years agoDoh! Typo - replace [Y] with [Z].
Stephen Swaney [Mon, 7 Apr 2008 14:16:26 +0000 (14:16 +0000)]
Doh! Typo - replace [Y] with [Z].

12 years agoadded an optional arg for object.getBoundBox(worldspace) - so you can get localspace...
Campbell Barton [Mon, 7 Apr 2008 13:16:56 +0000 (13:16 +0000)]
added an optional arg for object.getBoundBox(worldspace) - so you can get localspace boundboxes, this is useful when getting a dipli's boundbox where the objects worldspace matrix has no useful meaning.

12 years agoannoyance with python api, Blender.Library.Datablocks should always return an empty...
Campbell Barton [Mon, 7 Apr 2008 10:12:21 +0000 (10:12 +0000)]
annoyance with python api, Blender.Library.Datablocks should always return an empty list, rather then None when there is no datablocks.

12 years agoSilly copypaste mistake. Thanks for noticing!
Janne Karhu [Mon, 7 Apr 2008 05:54:19 +0000 (05:54 +0000)]
Silly copypaste mistake. Thanks for noticing!

12 years agofix for [#6342] Collada 1.4 import (of perhaps corrupt collada files) leads to a...
Campbell Barton [Sun, 6 Apr 2008 20:13:14 +0000 (20:13 +0000)]
fix for [#6342] Collada 1.4 import (of perhaps corrupt collada files) leads to a complete crash of Blender 2.43 under Windows XP

NMesh wasnt checking 16max material limit, also made collada import work with the user scripts dir.

12 years agoadd KX_GameObject::rayCastTo() PyDoc
Benoit Bolsee [Sun, 6 Apr 2008 20:02:41 +0000 (20:02 +0000)]
add KX_GameObject::rayCastTo() PyDoc

12 years agoRemoved my own patch #8208: export SCA_ISensor::Evaluate() to Python. It was only...
Benoit Bolsee [Sun, 6 Apr 2008 19:14:04 +0000 (19:14 +0000)]
Removed my own patch #8208: export SCA_ISensor::Evaluate() to Python. It was only useful for the ray sensor and the new rayCastTo() function provides better functionality

12 years agoreversing 14289, it included Ton's homedir as a default path and disabled scriptlinks...
Campbell Barton [Sun, 6 Apr 2008 19:04:17 +0000 (19:04 +0000)]
reversing 14289, it included Ton's homedir as a default path and disabled scriptlinks by default

12 years agoCommit patch #8799: Realtime SetParent function in the BGE
Benoit Bolsee [Sun, 6 Apr 2008 18:30:52 +0000 (18:30 +0000)]
Commit patch #8799: Realtime SetParent function in the BGE

This patch consists in new KX_GameObject::SetParent() and KX_GameObject::RemoveParent() functions to create and destroy parent relation during game. These functions are accessible through python and through a new actuator KX_ParentActuator. Function documentation in PyDoc.
The object keeps its orientation, position and scale when it is parented but will further rotate, move and scale with its parent from that point on. When the parent relation is broken, the object keeps the orientation, position and scale it had at that time.
The function has no effect if any of the X/Y/Z scale of the object or its new parent are below Epsilon.

12 years agoadded a help link to wiki docs for curve2tree, fixed some bugs in flt_toolbar
Campbell Barton [Sun, 6 Apr 2008 17:11:14 +0000 (17:11 +0000)]
added a help link to wiki docs for curve2tree, fixed some bugs in flt_toolbar

12 years agofix compiler warnings.
Stephen Swaney [Sun, 6 Apr 2008 13:44:50 +0000 (13:44 +0000)]
fix compiler warnings.

I'm not sure about the intent for this one:

warning: too many arguments for format:
 sprintf(md->name, "FluidParticleSystem", BLI_countlist(&ob->particlesystem));

Something for Janne ?

12 years agoPatch #8740: enable negative axis radar sensor
Benoit Bolsee [Sat, 5 Apr 2008 22:08:15 +0000 (22:08 +0000)]
Patch #8740: enable negative axis radar sensor

12 years agoPython API - read access to Track and Up axis attributes for Object.
Stephen Swaney [Sat, 5 Apr 2008 21:33:06 +0000 (21:33 +0000)]
Python API - read access to Track and Up axis attributes for Object.
Part of Patch 8557.  Contributed by Cedric Paille.  Thanks!

Still waiting for API doc for new attributes.  Finger is poised
over Revert button...

12 years agobug fix soft body can resume with point cache
Jens Ole Wund [Sat, 5 Apr 2008 21:29:17 +0000 (21:29 +0000)]
bug fix soft body can resume with point cache
sneak in .. springs preload

12 years agofix compiler warning: comparison between signed and unsigned
Stephen Swaney [Sat, 5 Apr 2008 14:49:41 +0000 (14:49 +0000)]
fix compiler warning: comparison between signed and unsigned

12 years agoCommit patch #2439: Mesh replacement in BGE will react properly to armature deform
Benoit Bolsee [Sat, 5 Apr 2008 13:33:08 +0000 (13:33 +0000)]
Commit patch #2439: Mesh replacement in BGE will react properly to armature deform

Changing the mesh of an object that has a deform controller (armature) is now properly handled. The new mesh must have vertex groups matching the armature bones. In simple terms, the new mesh must deform correctly when you assign it to the object in Blender and you test the action. It will deform the same when you replace the object mesh during the game.

12 years agofix for wrong rotation between branch joins
Campbell Barton [Sat, 5 Apr 2008 10:55:18 +0000 (10:55 +0000)]
fix for wrong rotation between branch joins

12 years agoPyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since...
Campbell Barton [Fri, 4 Apr 2008 23:12:20 +0000 (23:12 +0000)]
PyAPI - setting a buttons string value crashed. suspect this is a 64bit problem since replacing the string length of int, with Py_ssize_t or long prevented the crash. worked around the problem by removing the PyString_AsStringAndSize command.

wizard_curve2tree - removing id properties didnt work. exit button used a callback it didnt need to.

12 years agoNo need for unions in transform code.
Martin Poirier [Fri, 4 Apr 2008 22:21:24 +0000 (22:21 +0000)]
No need for unions in transform code.

Unneeded size optimisation.

There's much better way to tackle this if it really is a problem.

12 years agoBGE bug [#4839] fixed: joystick keeps working after an overlay scene is removed
Benoit Bolsee [Fri, 4 Apr 2008 20:39:31 +0000 (20:39 +0000)]
BGE bug [#4839] fixed: joystick keeps working after an overlay scene is removed

12 years agofix own bug with scripts drawing, could crash when a script failed
Campbell Barton [Fri, 4 Apr 2008 16:32:13 +0000 (16:32 +0000)]
fix own bug with scripts drawing, could crash when a script failed

12 years agoselecting a new scripts dir didnt rebuild the menu's
Campbell Barton [Fri, 4 Apr 2008 16:11:27 +0000 (16:11 +0000)]
selecting a new scripts dir didnt rebuild the menu's

12 years agowire was being drawn for solid curve objects in editmode when it should not have...
Campbell Barton [Fri, 4 Apr 2008 15:57:13 +0000 (15:57 +0000)]
wire was being drawn for solid curve objects in editmode when it should not have been.

12 years agomoved some duplicate lines into their own function
Campbell Barton [Fri, 4 Apr 2008 15:22:19 +0000 (15:22 +0000)]
moved some duplicate lines into their own function

12 years agoRestore bezier handles to their original flag if the transform is canceled, for IPO...
Campbell Barton [Fri, 4 Apr 2008 15:06:50 +0000 (15:06 +0000)]
Restore bezier handles to their original flag if the transform is canceled, for IPO's and curve edit mode.
Also retopo was running of curve transform was canceled.

12 years agoFix for bug #8870: crash converting curve to mesh. The object was being
Brecht Van Lommel [Fri, 4 Apr 2008 12:33:01 +0000 (12:33 +0000)]
Fix for bug #8870: crash converting curve to mesh. The object was being
used for curve deform, but after conversion wasn't a curve anymore, and
there was no check for this.

12 years agoBugfix: crash with strand surface AAO and layer ipo's.
Brecht Van Lommel [Thu, 3 Apr 2008 00:40:53 +0000 (00:40 +0000)]
Bugfix: crash with strand surface AAO and layer ipo's.

12 years agoFix for bug: [#8610] Hair Particle 'cut' edit mode not respecting backface culling...
Janne Karhu [Wed, 2 Apr 2008 23:59:25 +0000 (23:59 +0000)]
Fix for bug: [#8610] Hair Particle 'cut' edit mode not respecting backface culling / z-depth
-Cut-brush didn't use depth testing at all, now it does, but unfortunately this changes the behavior of the brush so that cutting is not perfect for hairs that are partly visible from behind an edge of the emitter (this change effects the brush only when z-buf clipping is used of course)

12 years agoFix for bug: [#8576] Heir always in the back
Janne Karhu [Wed, 2 Apr 2008 23:12:05 +0000 (23:12 +0000)]
Fix for bug: [#8576] Heir always in the back

12 years agoFix to make grass render the same on solaris as linux, by doing
Brecht Van Lommel [Wed, 2 Apr 2008 22:18:32 +0000 (22:18 +0000)]
Fix to make grass render the same on solaris as linux, by doing
pointer comparisons in qsort. This works for glibc according to
the documentation, and appears to work on solaris too.

12 years agoFix for bug: [#8117] Particles with fluid broken
Janne Karhu [Wed, 2 Apr 2008 17:48:46 +0000 (17:48 +0000)]
Fix for bug: [#8117] Particles with fluid broken
-Handling of fluid particles was not coded at all
-Now things should work properly, but as fluid particles are not very familiar to me I'd appreciate some thorough testing

12 years agoremoved printf
Campbell Barton [Wed, 2 Apr 2008 16:22:43 +0000 (16:22 +0000)]
removed printf

12 years agoSculpts calc_area_normal() could result in a zero length vector if all faces were...
Campbell Barton [Wed, 2 Apr 2008 16:19:12 +0000 (16:19 +0000)]
Sculpts calc_area_normal() could result in a zero length vector if all faces were pointing away from the view.
deal with this by making 2 average vectors, one for front pointing faces, and another for back pointing faces,
also removed an unneeded acos().

12 years agoThis commit reverts the #include <mesa/glu.h>
Kent Mein [Wed, 2 Apr 2008 15:03:03 +0000 (15:03 +0000)]
This commit reverts the #include <mesa/glu.h>
stuff used for peach to the standard <GL/glu.h>
the mesa stuff was needed for the machines for peach but its
not the stanard location of the headers, now that its not
needed were switching it back.

Kent

12 years agodpx saving would fail if there was no float buffer, which is a problem when rendering...
Campbell Barton [Wed, 2 Apr 2008 12:56:23 +0000 (12:56 +0000)]
dpx saving would fail if there was no float buffer, which is a problem when rendering from the sequencer because a float buffer can be generated for some frames but not others depending on their contents.

12 years agoSmall last-minute peach feature: loading an image into the image node
Brecht Van Lommel [Wed, 2 Apr 2008 12:03:31 +0000 (12:03 +0000)]
Small last-minute peach feature: loading an image into the image node
now automatically detects if a sequence of images is selected, and sets
the frames and image type to sequence.

12 years agoWhitespace commit for editarmature.c while I try to find the cause of some bugs here.
Joshua Leung [Wed, 2 Apr 2008 04:31:41 +0000 (04:31 +0000)]
Whitespace commit for editarmature.c while I try to find the cause of some bugs here.

12 years agoBUGFIX8847 Multires didn't free some memory.fixed
Hamed Zaghaghi [Wed, 2 Apr 2008 03:17:52 +0000 (03:17 +0000)]
BUGFIX8847 Multires didn't free some memory.fixed

12 years agoFix for bug #7875: node editor creates links to nowhere, fixes at
Brecht Van Lommel [Tue, 1 Apr 2008 22:28:00 +0000 (22:28 +0000)]
Fix for bug #7875: node editor creates links to nowhere, fixes at
least one instance where it happens, when dragging a link onto an
already taken socket, and the existing link being moved to a hidden
socket. Couldn't find other cases in testing, so assuming it's
fixed unless another case pops up.

12 years agoFix for bug #7368: flipping issue with dual quaternions and scaled bones.
Brecht Van Lommel [Tue, 1 Apr 2008 21:16:24 +0000 (21:16 +0000)]
Fix for bug #7368: flipping issue with dual quaternions and scaled bones.

12 years agoBUGFIX 8824: RGB Curves now work correctly with "use clipping" option
Hamed Zaghaghi [Tue, 1 Apr 2008 21:09:50 +0000 (21:09 +0000)]
BUGFIX 8824: RGB Curves now work correctly with "use clipping" option
on  with maximum values greater than 1.

12 years agoFix for #8806: strand shadow bug, only showed up on windows.
Brecht Van Lommel [Tue, 1 Apr 2008 21:07:32 +0000 (21:07 +0000)]
Fix for #8806: strand shadow bug, only showed up on windows.

12 years agoFix BGE bug: BGE will crash if objects with display debug property is deleted (bad...
Benoit Bolsee [Tue, 1 Apr 2008 20:46:20 +0000 (20:46 +0000)]
Fix BGE bug: BGE will crash if objects with display debug property is deleted (bad practice anyway). The actual deletion is now postponed until end of scene

12 years agoadded a sloppy option for getting the active face, which returns the last selected...
Campbell Barton [Tue, 1 Apr 2008 13:35:52 +0000 (13:35 +0000)]
added a sloppy option for getting the active face, which returns the last selected if none is active, made the uv calculation aspect correction use the active faces image rather then the last used image viewports.

12 years agofunction for getting object texspace settings, without dealing with curve/mball/mesh...
Campbell Barton [Tue, 1 Apr 2008 11:14:34 +0000 (11:14 +0000)]
function for getting object texspace settings, without dealing with curve/mball/mesh separately.

12 years agoBugfix: the defocus node "no zbuffer" settings was automatically set
Brecht Van Lommel [Tue, 1 Apr 2008 11:08:48 +0000 (11:08 +0000)]
Bugfix: the defocus node "no zbuffer" settings was automatically set
if there was no zbuffer input. However this means a user settings can
be permanently changed without a user knowing. Now it just runs as if
this option is set if there is no zbuffer, but doesn't change the
setting.

12 years agoFix for bug #8629: python object.boundingBox was not in worldspace
Brecht Van Lommel [Tue, 1 Apr 2008 10:15:39 +0000 (10:15 +0000)]
Fix for bug #8629: python object.boundingBox was not in worldspace
anymore for meshes due to a bugfix. The python code assumed ob->bb
was in worldspace while it isn't, also meant metaball bounding boxes
were wrong.

12 years agoadd a button for object color access, previously could only be accessed via Ipos
Campbell Barton [Tue, 1 Apr 2008 10:10:37 +0000 (10:10 +0000)]
add a button for object color access, previously could only be accessed via Ipos

12 years agofix for [bf-blender-Bug Tracker][8833] View selected in UV editor
Campbell Barton [Tue, 1 Apr 2008 10:06:06 +0000 (10:06 +0000)]
fix for [bf-blender-Bug Tracker][8833] View selected in UV editor