Commit Graph

9853 Commits

Author SHA1 Message Date
235f793f28 Made aspx/y into floats so we can render precise regions (for apricot terrain baking) 2008-04-09 15:46:26 +00:00
9f6080cf1b Cloth/Collision modifier now gets add to the tail of the modifier stack as that is normal behaviour for all other modifiers, too. 2008-04-09 15:28:46 +00:00
e324cbd1e1 Action Editor - Renamed 'AfterTrans Delete Dupli-Frames' to 'AutoMerge Keys' for 2008-04-09 10:33:15 +00:00
Stephen Swaney
d30cc5f2d8 API Doc for new Object attributes trackAxis and upAxis.
contributed by Cedric Paille.  Thanks!

Fix broken indentation in Constraint doc.
2008-04-09 07:27:37 +00:00
Stephen Swaney
daeedc1144 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
2008-04-08 16:50:20 +00:00
61bbccaee7 Optimization for the sequencer wipe effect, was doing a lot of unnecessary
computations for each pixel making it quite slow.
2008-04-08 16:28:55 +00:00
fa5d0309b2 setting the blend value for a sequencer strip would crash when the strip had both char and float buffers. 2008-04-08 15:07:40 +00:00
ca982d2a23 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.
2008-04-08 13:40:05 +00:00
589e641f97 Sorry, reverting bad things in modifier.c 2008-04-08 12:58:25 +00:00
fef157ac07 Cloth bugfix: used old dm instead of new created result derivedmesh; Code cleanup + deactivation of unsued selfcollision code in kdop.c + little speedup there 2008-04-08 12:55:35 +00:00
2af8964d7c 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) 2008-04-08 11:57:10 +00:00
aed7f950d0 bug fix
UI panel issues with soft bodies 
code cleaning .. remove some G.rt code
2008-04-07 21:58:12 +00:00
6dec5db1e6 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).
2008-04-07 15:21:25 +00:00
Stephen Swaney
77639a5cde Doh! Typo - replace [Y] with [Z]. 2008-04-07 14:16:26 +00:00
7c15baff16 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. 2008-04-07 13:16:56 +00:00
66e74e6057 annoyance with python api, Blender.Library.Datablocks should always return an empty list, rather then None when there is no datablocks. 2008-04-07 10:12:21 +00:00
391191a7e3 Silly copypaste mistake. Thanks for noticing! 2008-04-07 05:54:19 +00:00
e4d25da698 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.
2008-04-06 20:13:14 +00:00
108bed660a reversing 14289, it included Ton's homedir as a default path and disabled scriptlinks by default 2008-04-06 19:04:17 +00:00
e7384c9dd2 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.
2008-04-06 18:30:52 +00:00
Stephen Swaney
6c3bd2a02d 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 ?
2008-04-06 13:44:50 +00:00
9edb6c7510 Patch #8740: enable negative axis radar sensor 2008-04-05 22:08:15 +00:00
Stephen Swaney
6e5984ce39 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...
2008-04-05 21:33:06 +00:00
83906a614b bug fix soft body can resume with point cache
sneak in .. springs preload
2008-04-05 21:29:17 +00:00
Stephen Swaney
d0004bed8c fix compiler warning: comparison between signed and unsigned 2008-04-05 14:49:41 +00:00
8fdfd4cc4c 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.
2008-04-04 23:12:20 +00:00
c3905009c4 No need for unions in transform code.
Unneeded size optimisation.

There's much better way to tackle this if it really is a problem.
2008-04-04 22:21:24 +00:00
b46ef6ecb3 fix own bug with scripts drawing, could crash when a script failed 2008-04-04 16:32:13 +00:00
5b06c03884 selecting a new scripts dir didnt rebuild the menu's 2008-04-04 16:11:27 +00:00
dd944e88ee wire was being drawn for solid curve objects in editmode when it should not have been. 2008-04-04 15:57:13 +00:00
e8e1007386 moved some duplicate lines into their own function 2008-04-04 15:22:19 +00:00
6b6e5eb4c9 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.
2008-04-04 15:06:50 +00:00
eb667866df 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.
2008-04-04 12:33:01 +00:00
4574dbea98 Bugfix: crash with strand surface AAO and layer ipo's. 2008-04-03 00:40:53 +00:00
feb603248e 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)
2008-04-02 23:59:25 +00:00
78b250f693 Fix for bug: [#8576] Heir always in the back 2008-04-02 23:12:05 +00:00
5dbe42af07 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.
2008-04-02 22:18:32 +00:00
49c65433cc 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
2008-04-02 17:48:46 +00:00
bab535ce1a removed printf 2008-04-02 16:22:43 +00:00
8a6f9f2a88 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().
2008-04-02 16:19:12 +00:00
b73ba9c181 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
2008-04-02 15:03:03 +00:00
04be9955d0 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. 2008-04-02 12:56:23 +00:00
17cb235f91 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.
2008-04-02 12:03:31 +00:00
64201b0f24 Whitespace commit for editarmature.c while I try to find the cause of some bugs here. 2008-04-02 04:31:41 +00:00
65a4f5c556 BUGFIX8847 Multires didn't free some memory.fixed 2008-04-02 03:17:52 +00:00
53e91df196 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.
2008-04-01 22:28:00 +00:00
c68588ea98 Fix for bug #7368: flipping issue with dual quaternions and scaled bones. 2008-04-01 21:16:24 +00:00
cf12557c5b BUGFIX 8824: RGB Curves now work correctly with "use clipping" option
on  with maximum values greater than 1.
2008-04-01 21:09:50 +00:00
eec6454335 Fix for #8806: strand shadow bug, only showed up on windows. 2008-04-01 21:07:32 +00:00
82e816eb1a 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. 2008-04-01 13:35:52 +00:00