blender.git
12 years agoAdded null check to prevent crashing on paste.
Campbell Barton [Tue, 18 Mar 2008 16:12:43 +0000 (16:12 +0000)]
Added null check to prevent crashing on paste.
Should look into why XGetWindowProperty isnt working also.

12 years agofix for [#7962] anomalous mem usage with pydrivers.py scripts
Campbell Barton [Tue, 18 Mar 2008 14:49:31 +0000 (14:49 +0000)]
fix for [#7962] anomalous mem usage with pydrivers.py scripts

12 years agopatch from Paul Rotering (pryon)
Campbell Barton [Tue, 18 Mar 2008 13:42:38 +0000 (13:42 +0000)]
patch from Paul Rotering (pryon)
[#7124] knot vector access for SurfNurb

12 years agoFix for bug #7986: tab in edit introduces garbage values.
Brecht Van Lommel [Tue, 18 Mar 2008 10:55:07 +0000 (10:55 +0000)]
Fix for bug #7986: tab in edit introduces garbage values.

12 years agoCollision Modifier/KDOP: Rearrange things to be more generic. Also fix possible crash...
Daniel Genrich [Mon, 17 Mar 2008 21:45:40 +0000 (21:45 +0000)]
Collision Modifier/KDOP: Rearrange things to be more generic. Also fix possible crash if not enough memory there.

12 years agoFix for bug #6758: material nodes were not working correct with
Brecht Van Lommel [Mon, 17 Mar 2008 20:57:16 +0000 (20:57 +0000)]
Fix for bug #6758: material nodes were not working correct with
ray mirror and transparency, was using the same stack for all
recursion depths, now creates new stacks as needed.

Fix for bug #8592: crash saving non-float image as 16bit tiff.

12 years agoRunning scripts with Blender.Run() would crash when reloading.
Campbell Barton [Mon, 17 Mar 2008 19:58:11 +0000 (19:58 +0000)]
Running scripts with Blender.Run() would crash when reloading.

12 years agoFix for bug #8093: editmesh knife with axis constraint + snapping rounded
Brecht Van Lommel [Mon, 17 Mar 2008 18:49:30 +0000 (18:49 +0000)]
Fix for bug #8093: editmesh knife with axis constraint + snapping rounded
down some values unnecessarily, which made it not entirely exact.

12 years agoFix for bug #8464: particle system didn't attach to mesh in
Brecht Van Lommel [Mon, 17 Mar 2008 18:43:10 +0000 (18:43 +0000)]
Fix for bug #8464: particle system didn't attach to mesh in
case of a deforming modifier after subsurf.

12 years ago- [#8589] Scripts which use file selector not working correctly
Campbell Barton [Mon, 17 Mar 2008 18:01:59 +0000 (18:01 +0000)]
- [#8589] Scripts which use file selector not working correctly

Fix for another bug I introduced with persistent python windows.
also removed unused var.

12 years agomissing header
Campbell Barton [Mon, 17 Mar 2008 16:45:20 +0000 (16:45 +0000)]
missing header

12 years ago[#8586] 2.46 RC1 - Soft falloff problem
Martin Poirier [Mon, 17 Mar 2008 15:46:07 +0000 (15:46 +0000)]
[#8586] 2.46 RC1 - Soft falloff problem

Manipulator event handler was out of sync with transform event handler.

The real hotkeys to increase/decrease the area of influence are Alt PAD+ / PAD- and PageUp / PageDown (has been that way in non-manipulator transform for years now).

12 years agoBugfix: sequencer gamma cross didn't work correct on float buffers.
Brecht Van Lommel [Mon, 17 Mar 2008 13:43:03 +0000 (13:43 +0000)]
Bugfix: sequencer gamma cross didn't work correct on float buffers.

12 years agoBugfix: keyframes of hidden actions in action groups were still
Brecht Van Lommel [Mon, 17 Mar 2008 13:02:48 +0000 (13:02 +0000)]
Bugfix: keyframes of hidden actions in action groups were still
drawing in the group row.

12 years agoBugfix: image texture with texface would not render sometimes, wasn't
Brecht Van Lommel [Mon, 17 Mar 2008 12:27:17 +0000 (12:27 +0000)]
Bugfix: image texture with texface would not render sometimes, wasn't
setting image user correct. Also found that this texface rendering was
not threadsafe for > 2 threads.

12 years agoFix for bug #8537: converting particles to a mesh didn't work well.
Brecht Van Lommel [Mon, 17 Mar 2008 10:15:38 +0000 (10:15 +0000)]
Fix for bug #8537: converting particles to a mesh didn't work well.

12 years ago-> Bevel tools sharp flag fix
Geoffrey Bantle [Mon, 17 Mar 2008 03:50:22 +0000 (03:50 +0000)]
-> Bevel tools sharp flag fix

Sharp flags were not being preserved by bevel modifier. Fixed now.

12 years agoFix for bug #8560: grouping nodes could lead to multiple links to the
Brecht Van Lommel [Sun, 16 Mar 2008 20:49:10 +0000 (20:49 +0000)]
Fix for bug #8560: grouping nodes could lead to multiple links to the
same input, if the nodes had been grouped separately before.

12 years agoFix for bug #8582: compositor math node did not output any result
Brecht Van Lommel [Sun, 16 Mar 2008 20:04:41 +0000 (20:04 +0000)]
Fix for bug #8582: compositor math node did not output any result
without input connections.

12 years agoFix for bug #6850: after zooming into the curve widget it could
Brecht Van Lommel [Sun, 16 Mar 2008 20:01:52 +0000 (20:01 +0000)]
Fix for bug #6850: after zooming into the curve widget it could
become impossible to zoom out (with clipping enabled).

12 years agoFix for bug #8516: mesh deform modifier didn't work correct with
Brecht Van Lommel [Sun, 16 Mar 2008 19:38:04 +0000 (19:38 +0000)]
Fix for bug #8516: mesh deform modifier didn't work correct with
transformed cage objects.

12 years ago== Align ==
Peter Schlaile [Sun, 16 Mar 2008 17:43:59 +0000 (17:43 +0000)]
== Align ==

Bugfix:

Fix for "Use pupmenu menu to select align orientation. Faster workflow than always having to change the current transform orientation beforehand."

memory corruption... (theeth ? )

12 years ago== Sequencer ==
Peter Schlaile [Sun, 16 Mar 2008 17:34:39 +0000 (17:34 +0000)]
== Sequencer ==

This fixes:

[#8554] Sequencer: some metastrip plays audio outside of its limits

12 years ago== PyNodes ==
Willian Padovani Germano [Sun, 16 Mar 2008 17:24:29 +0000 (17:24 +0000)]
== PyNodes ==

Ongoing updates to the Blender.Node Python API:

- Changed Blender.Node.node to Blender.Node.Scripted to be more specific and conform to bpython API.
- Added a Blender.Node.Socket type to be used to define node sockets in a PyNode script. Also, socket type is inferred from the value(s) passed in, instead of also being defined by the script author.
- Added attr access to input and output sockets in the __call__ method. Ex: an input socket called 'color' can be accessed as self.input.color now.

These changes break existing pynode scripts, which shouldn't be a problem yet, of course, since we're still finishing this feature for 2.46. The wiki page and sample .blends have already been updated:

http://wiki.blender.org/index.php/BlenderDev/PyNodes
http://wiki.blender.org/index.php/BlenderDev/PyNodes/API

12 years ago== Align ==
Martin Poirier [Sun, 16 Mar 2008 16:00:00 +0000 (16:00 +0000)]
== Align ==

Use pupmenu menu to select align orientation. Faster workflow than always having to change the current transform orientation beforehand.

12 years ago[8559] Python script that uses FIleSelector and has an error in it segfaults Blender
Campbell Barton [Sun, 16 Mar 2008 14:28:00 +0000 (14:28 +0000)]
[8559] Python script that uses FIleSelector and has an error in it segfaults Blender
Want completely fixed, check if the script was removed before running the callback.

12 years agoBugfix #8581
Ton Roosendaal [Sun, 16 Mar 2008 12:42:54 +0000 (12:42 +0000)]
Bugfix #8581

Edit mode stats draw, option "global stats", did not calculate correct
angles.

12 years agoBugfix #8361
Ton Roosendaal [Sun, 16 Mar 2008 11:36:43 +0000 (11:36 +0000)]
Bugfix #8361

Menu with group names, object buttons, didn't support large amounts yet.
Now it switches to collumn view.

12 years agoBugfix #8526
Ton Roosendaal [Sun, 16 Mar 2008 11:09:34 +0000 (11:09 +0000)]
Bugfix #8526

Sometimes a panel could not be moved, this caused by fact that its
parent was sometimes not visible. Old bug actually. :)

There's a lot of editbutton panels btw... so there it happened.

12 years agoConstraints PyAPI:
Joshua Leung [Sun, 16 Mar 2008 10:26:13 +0000 (10:26 +0000)]
Constraints PyAPI:

Added support for Limit Distance constraint

12 years agofixes for bugs #8496 & #8497
Jean-Luc Peurière [Sun, 16 Mar 2008 08:08:28 +0000 (08:08 +0000)]
fixes for bugs #8496 & #8497

large sources defines cannot be used on darwin
and windows

12 years agoConstraints Py-Api:
Joshua Leung [Sun, 16 Mar 2008 06:28:40 +0000 (06:28 +0000)]
Constraints Py-Api:

Fixed up Py-API access to PyConstraints. Also updated docs to reflect these changes.

12 years ago== Proxies + Bone Groups ==
Joshua Leung [Sun, 16 Mar 2008 03:51:00 +0000 (03:51 +0000)]
== Proxies + Bone Groups ==

Bone Groups are now always copied from the source armature. This does mean that it isn't possible to have 'local' bone groups as for constraints, but it is better than losing bone groups from the original.

12 years agoTodo #8511: Lock Transform Channels does not work with Clear Transforms
Joshua Leung [Sun, 16 Mar 2008 03:11:57 +0000 (03:11 +0000)]
Todo #8511: Lock Transform Channels does not work with Clear Transforms

When transform channels (i.e. LocX, RotY, ScaleZ) are 'locked' in the Transform Properties panel, the Clear Transform Tools (Alt-G/R/S) didn't respect these.

Also fixed typo in 3D-View Menu item.

12 years ago== Action Editor - Fixed 2 Long-Standing Annoyances ==
Joshua Leung [Sun, 16 Mar 2008 01:31:14 +0000 (01:31 +0000)]
== Action Editor - Fixed 2 Long-Standing Annoyances ==

This commit fixes two long-standing annoyances which were confusing to new users and also posed workflow bottlenecks:

* A 'Fake-User' button is now displayed beside the delete button. This makes it clear to the user that actions have a fake user (by default), and provides quicker access to them when 'deleting'.
** Related to this, I've adjusted the tooltips for the fake-user button when there is a fake user, to clear up any ambiguity over the purpose of the button.

* When an object has an Ob-IPO (i.e. keyframing object transforms), it is now possible to simply use the 'Add New' entry in the Action Editor to make a new action for the object, with the IPO assigned to a new Action. This removes the need to open an IPO-window just to do that.

12 years agoBugfix in kdop - one leaf possible missing
Daniel Genrich [Sat, 15 Mar 2008 22:55:49 +0000 (22:55 +0000)]
Bugfix in kdop - one leaf possible missing

12 years agoBugfix: radiosity was slower due to return lost in code refactor.
Brecht Van Lommel [Sat, 15 Mar 2008 20:59:26 +0000 (20:59 +0000)]
Bugfix: radiosity was slower due to return lost in code refactor.

12 years agoBGE fix: ghost objects created with AddObject actuator will retain their ghost property
Benoit Bolsee [Sat, 15 Mar 2008 20:52:03 +0000 (20:52 +0000)]
BGE fix: ghost objects created with AddObject actuator will retain their ghost property

12 years agofix for [#8559] Python script that uses FIleSelector and has an error in it segfaults...
Campbell Barton [Sat, 15 Mar 2008 18:53:42 +0000 (18:53 +0000)]
fix for [#8559] Python script that uses FIleSelector and has an error in it segfaults Blender

12 years agoforgot to free memory for python api mesh.getTangents()
Campbell Barton [Sat, 15 Mar 2008 17:19:53 +0000 (17:19 +0000)]
forgot to free memory for python api mesh.getTangents()

12 years agoNew rayCastTo() python method for KX_GameObject:
Benoit Bolsee [Sat, 15 Mar 2008 17:08:58 +0000 (17:08 +0000)]
New rayCastTo() python method for KX_GameObject:

rayCastTo(other,dist,prop)

Look towards another point/KX_GameObject and return first object hit within dist with a property that match prop, None if no object found or if it does not match prop.

Parameters:
  other = 3-tuple (xyz coordinates) or object reference (target=center of object)
          (type = list [x,y,z] or object reference)
  dist = max distance of detection (can be negative => look behind)
         If 0 or omitted => detect up to other
 (type=float)
  prop = property name that object must have
         If empty or omitted => detect any object
         (type=string)

12 years agofix bug with unitialized variable (thanks VS)
Benoit Bolsee [Sat, 15 Mar 2008 16:51:58 +0000 (16:51 +0000)]
fix bug with unitialized variable (thanks VS)

12 years agofix bug in walking through script linked list (thanks VS)
Benoit Bolsee [Sat, 15 Mar 2008 16:49:22 +0000 (16:49 +0000)]
fix bug in walking through script linked list (thanks VS)

12 years agoFix for bug #8565: bug rendering tangent space normal map on
Brecht Van Lommel [Sat, 15 Mar 2008 16:29:49 +0000 (16:29 +0000)]
Fix for bug #8565: bug rendering tangent space normal map on
solid faces, caused by recent commit to solve spikes problem.

12 years agocompiler warning cleanup
Stephen Swaney [Sat, 15 Mar 2008 14:41:47 +0000 (14:41 +0000)]
compiler warning cleanup

12 years agoAdded a WITH_BF_OPENMP option
Kent Mein [Fri, 14 Mar 2008 20:11:43 +0000 (20:11 +0000)]
Added a WITH_BF_OPENMP option
to add in proper flags for openmp support.

Kent

12 years agoadded mesh.getTangents() to the python api
Campbell Barton [Fri, 14 Mar 2008 18:53:51 +0000 (18:53 +0000)]
added mesh.getTangents() to the python api

12 years agoFix for bug #8467: a softbody hair crash.
Brecht Van Lommel [Fri, 14 Mar 2008 18:21:06 +0000 (18:21 +0000)]
Fix for bug #8467: a softbody hair crash.

12 years agofixed a possible use of uninitialized orco coords if the mesh has more totverts then...
Campbell Barton [Fri, 14 Mar 2008 18:16:54 +0000 (18:16 +0000)]
fixed a possible use of uninitialized orco coords if the mesh has more totverts then keyblock elements.

12 years agoFix for bug #8555: geometry node front/bake was broken.
Brecht Van Lommel [Fri, 14 Mar 2008 18:08:27 +0000 (18:08 +0000)]
Fix for bug #8555: geometry node front/bake was broken.
Fix for bug #7418: texture ipo's didn't show for textures in node materials.
Fix for part of bug #6758: node materials in other node materials could
miss texture coordinates.

12 years agoFix for linking error when building with blenderplayer.
Ricki Myers [Fri, 14 Mar 2008 14:15:37 +0000 (14:15 +0000)]
Fix for linking error when building with blenderplayer.

12 years agoBugfix: baking selected to active did not include materials with
Brecht Van Lommel [Fri, 14 Mar 2008 10:56:09 +0000 (10:56 +0000)]
Bugfix: baking selected to active did not include materials with
Traceable disabled.

12 years agomy last commit to readfile.c crashes some files, must look further into this.
Campbell Barton [Fri, 14 Mar 2008 09:46:53 +0000 (09:46 +0000)]
my last commit to readfile.c crashes some files, must look further into this.

12 years agocleanup some warnings about signed vs unsigned comparison
Stephen Swaney [Fri, 14 Mar 2008 01:08:23 +0000 (01:08 +0000)]
cleanup some warnings about signed vs unsigned comparison

12 years agoBugfix for cloth vectorblur (back to normal)
Daniel Genrich [Fri, 14 Mar 2008 01:07:09 +0000 (01:07 +0000)]
Bugfix for cloth vectorblur (back to normal)

12 years agoCloth header cleanup, bugfix (again) in wind calculation, bugfix for not working...
Daniel Genrich [Thu, 13 Mar 2008 22:45:36 +0000 (22:45 +0000)]
Cloth header cleanup, bugfix (again) in wind calculation, bugfix for not working fields mindist GUI option

12 years agoline commented out with the orange merge is needed for library linking when linking...
Campbell Barton [Thu, 13 Mar 2008 21:41:28 +0000 (21:41 +0000)]
line commented out with the orange merge is needed for library linking when linking in objects that indirectly point to groups that are already directly linked in. This has been a problem for many peach scenes. but saving and reloading made the objects appear.

12 years agoFix for bug #5641: edge slide doesn't work straight after remove
Brecht Van Lommel [Thu, 13 Mar 2008 21:14:11 +0000 (21:14 +0000)]
Fix for bug #5641: edge slide doesn't work straight after remove
doubles. Also fixed some 64bit warnings in this file.

12 years agoTwo bugfixes:
Brecht Van Lommel [Thu, 13 Mar 2008 19:40:36 +0000 (19:40 +0000)]
Two bugfixes:
- Clicking below the list of items in the shift+f4 databrowser could crash.
- Text window crashed when making it zero size.

12 years agoFix compiling error.
Martin Poirier [Thu, 13 Mar 2008 18:47:55 +0000 (18:47 +0000)]
Fix compiling error.

Typo in text.c

12 years agoFix for bug #8421: curve shape keys were resetting the curve radius to 0.0.
Brecht Van Lommel [Thu, 13 Mar 2008 18:36:33 +0000 (18:36 +0000)]
Fix for bug #8421: curve shape keys were resetting the curve radius to 0.0.

12 years agowasnt returning the images in python bake api
Campbell Barton [Thu, 13 Mar 2008 18:34:23 +0000 (18:34 +0000)]
wasnt returning the images in python bake api

12 years agoFix for bug #8548: txt_copy_sel in txt_cut_sel only copied string in a local buffer.
Ricki Myers [Thu, 13 Mar 2008 17:30:29 +0000 (17:30 +0000)]
Fix for bug #8548: txt_copy_sel in txt_cut_sel only copied string in a local buffer.
Changed txt_cut_sel to use the clipboard.

12 years agoFix for bug #8437: white borders in envmap reflection, cause was
Brecht Van Lommel [Thu, 13 Mar 2008 15:55:35 +0000 (15:55 +0000)]
Fix for bug #8437: white borders in envmap reflection, cause was
change in imagewraposa that de-premuls colors, while envmap code
was expecting premultiplied colors.

12 years agoPatch #8488: UserPref to switch between pan/paste on MMB in text editor.
Ricki Myers [Thu, 13 Mar 2008 15:12:19 +0000 (15:12 +0000)]
Patch #8488: UserPref to switch between pan/paste on MMB in text editor.

12 years agoFixing compiler wanring
Daniel Genrich [Thu, 13 Mar 2008 14:38:29 +0000 (14:38 +0000)]
Fixing compiler wanring

12 years agoFix for bake texture antialiasing commit, AO with constant jitter
Brecht Van Lommel [Thu, 13 Mar 2008 14:36:17 +0000 (14:36 +0000)]
Fix for bake texture antialiasing commit, AO with constant jitter
didn't work. Also fixed a warning.

12 years agoFix for use of uninitialized value in active edge drawing.
Brecht Van Lommel [Thu, 13 Mar 2008 12:38:00 +0000 (12:38 +0000)]
Fix for use of uninitialized value in active edge drawing.

12 years agoFix for bug #8387: active uv layer index could become invalid in editmode.
Brecht Van Lommel [Thu, 13 Mar 2008 11:42:32 +0000 (11:42 +0000)]
Fix for bug #8387: active uv layer index could become invalid in editmode.

12 years agoFix for bug #8385: vector inputs of texture node in the compositor did
Brecht Van Lommel [Thu, 13 Mar 2008 11:26:18 +0000 (11:26 +0000)]
Fix for bug #8385: vector inputs of texture node in the compositor did
not work correct, it should use bNodeStack inputs like other nodes.

12 years agoFix for bug #8476: changing lamp buttons or new W-key lamp editing
Brecht Van Lommel [Thu, 13 Mar 2008 10:58:36 +0000 (10:58 +0000)]
Fix for bug #8476: changing lamp buttons or new W-key lamp editing
didn't update shaded mode, and W-key didn't update lamp preview render.

12 years agoAttempted fix for bug #8441: editing in particle mode with limit visible
Brecht Van Lommel [Thu, 13 Mar 2008 10:27:35 +0000 (10:27 +0000)]
Attempted fix for bug #8441: editing in particle mode with limit visible
enabled is really slow on some cards. Cause might be the large number of
calls to glReadPixels, now it uses the same system as sculpt to store
the depths once, code was already there for the case those depths were
available, it just wasn't storing them.

12 years agoBugfix #8543:
Joshua Leung [Thu, 13 Mar 2008 10:24:40 +0000 (10:24 +0000)]
Bugfix #8543:

New keyframes were being added 1 place too early. With just two keyframes, this resulted in keyframes being added in reverse order (which lead to problems until scrubbing timeline)

12 years agoFix for bug #8502: AO was being computed unnecessarily if it was
Brecht Van Lommel [Thu, 13 Mar 2008 09:58:21 +0000 (09:58 +0000)]
Fix for bug #8502: AO was being computed unnecessarily if it was
excluded from the combined pass and the AO pass was disabled.

12 years agoFrench text was breaking python interpreters.
Stephen Swaney [Thu, 13 Mar 2008 03:32:23 +0000 (03:32 +0000)]
French text was breaking python interpreters.
Add character encoding to file like this:
# -*- coding: latin-1 -*-

Thanks to eago for the bug report.

12 years agoTemporary bugfix [#8474]: Smaller fluid objects had no velocity assigned for vectorbl...
Daniel Genrich [Thu, 13 Mar 2008 01:24:59 +0000 (01:24 +0000)]
Temporary bugfix [#8474]: Smaller fluid objects had no velocity assigned for vectorblur usage. All zero elements now get the average velocity assigned. I tried to fix the real source - but that seems to be somewhere in the fluids code not reachable by me

12 years ago== Quicktime ==
Peter Schlaile [Wed, 12 Mar 2008 22:01:57 +0000 (22:01 +0000)]
== Quicktime ==

Hopefully fixes:
[#8518] 2.46RC1: Blender doesn't render animation correctly with Quicktime and 30/1.001

FPS was off by a factor of 10 in export...

12 years ago== Sequencer ==
Peter Schlaile [Wed, 12 Mar 2008 21:53:09 +0000 (21:53 +0000)]
== Sequencer ==

This fixes:
[#8521] Sequencer: numpad zoom is inconsistent

12 years agooddly enough this printf was the only problem compiling blender with GCC 4.3
Campbell Barton [Wed, 12 Mar 2008 21:38:51 +0000 (21:38 +0000)]
oddly enough this printf was the only problem compiling blender with GCC 4.3

12 years agoDelta Loc/Rot/Scale Ipo curve are now supporting in the BGE with the following limita...
Benoit Bolsee [Wed, 12 Mar 2008 21:33:24 +0000 (21:33 +0000)]
Delta Loc/Rot/Scale Ipo curve are now supporting in the BGE with the following limitations:

1. All Ipo channels are now independent.
In Blender 2.45, all 3 Loc Ipo channels were automatically set
together. For example, having just a LocX Ipo channel was sufficient
to fix the X, Y and Z coordinates, with the Y and Z value taken
from the object original Y and Z location in Blender. The same
was true for the 3 Rot and the 3 Scale Ipo channels: the missing
channels were assumed to have constant value taken from the object
original orientation/scale in Blender.
With this patch, all Ipo channels are now independent.
THIS WILL CREATE BACKWARD COMPATIBILITY PROBLEM if you omit to
define the 3 channels of a same type together in your Blend file:
the undefined Loc, Rot, Scale coordinates of the object will
be influenced by the parent/spawner Loc/Rot/Scale in case the
object is a child or dynamically created.

2. Delta Loc, Rot, Scale are now supported with the following
limitations:
- The delta Loc/Rot Ipo modify the object global (NOT local)
location/orientation
- The delta Scale change the object local scale
- The delta Ipo curves are relative to the object starting
Loc/Rot/Scale when the Ipo was first activated; after that, the
delta Ipo becomes global. This means that the object will return
to this initial Loc/Rot/Scale when you later restart the Ipo
curve, even if you had changed the object Loc/Rot/Scale in the
meantime. Of course this applies only to the specific Loc/Rot/Scale
coordinate that are defined in the Ipo channels as the channels
are now independent.

3. When the objects are converted from Blender to the BGE, the
delta Loc/Rot/Scale that might result from initial non-zero values
in delta Ipo Curves will be ignored. However, as soon as the
delta Ipo curve is activated, the non-zero values will be taken
into account and the object will jump to the same Loc/Rot/Scale
situation as in Blender. Note that delta Ipo curves with initial
non-zero values is bad practice; logically, a delta Ipo curver
should always start from 0.

4. If you define both a global and delta channel of the same
type (LocX and DLocX), the result will be a global channel equivalent
to the sum of the two channels (LocX+DLocX).

12 years agoAdd CMP_premulkey.c to Win32 project
Benoit Bolsee [Wed, 12 Mar 2008 21:31:17 +0000 (21:31 +0000)]
Add CMP_premulkey.c to Win32 project

12 years agoBaking now does material texture anti-aliasing if the OSA button is
Brecht Van Lommel [Wed, 12 Mar 2008 20:22:05 +0000 (20:22 +0000)]
Baking now does material texture anti-aliasing if the OSA button is
enabled, result of that is mainly visible for image textures.

12 years agoAdded two UV features (Apricot request):
Brecht Van Lommel [Wed, 12 Mar 2008 19:55:37 +0000 (19:55 +0000)]
Added two UV features (Apricot request):

- Alt+click edge loop select.
- Next to Align X/Y, Align Auto which will pick X or Y automatically,
  should give the expected result for nearly all cases.

12 years agoBugfix: recent insert keyframe optimization had an error in it
Brecht Van Lommel [Wed, 12 Mar 2008 16:53:11 +0000 (16:53 +0000)]
Bugfix: recent insert keyframe optimization had an error in it
that made replacing the last keyframe not work correct.

12 years agoAction editor keys copy/paste did not create ipo curves if they didn't
Brecht Van Lommel [Wed, 12 Mar 2008 16:04:03 +0000 (16:04 +0000)]
Action editor keys copy/paste did not create ipo curves if they didn't
exist yet, now it creates them if they are in the copy buffer.

12 years agoInsert Keyframe Optimisations:
Joshua Leung [Wed, 12 Mar 2008 11:19:07 +0000 (11:19 +0000)]
Insert Keyframe Optimisations:

Now a binary search is performed instead of a linear one to see where to insert a keyframe. It also checks first whether the keyframe is out of the bounds of the existing ones (as most of the time, keyframes are inserted at the end of the array).

When using the .BVH importer to import a particularly large file, the time taken to add the keyframes improved by about 1 second. Other factors probably limited the improvement seen.

12 years agoMoved recent addition of get/setPixelF to get/setPixelHDR and kept get/setPixelF...
Campbell Barton [Wed, 12 Mar 2008 11:13:57 +0000 (11:13 +0000)]
Moved recent addition of get/setPixelF to get/setPixelHDR and kept get/setPixelF limited to 0.0-1.0 range, to prevent existing scripts breaking.

12 years agoBugfix for wrong initial cloth settings pretending to be cotton
Daniel Genrich [Wed, 12 Mar 2008 10:41:47 +0000 (10:41 +0000)]
Bugfix for wrong initial cloth settings pretending to be cotton

12 years agoquick fix for null check that crashed blender when reading some files.
Campbell Barton [Wed, 12 Mar 2008 10:20:45 +0000 (10:20 +0000)]
quick fix for null check that crashed blender when reading some files.

12 years agoimage render to billboard was rotating UV's incorrectly, also make use of texface...
Campbell Barton [Wed, 12 Mar 2008 10:00:52 +0000 (10:00 +0000)]
image render to billboard was rotating UV's incorrectly, also make use of texface alpha rather then making many materials with textures.

12 years agoAdded python access to TEXFACE_ALPHA
Campbell Barton [Wed, 12 Mar 2008 09:04:07 +0000 (09:04 +0000)]
Added python access to TEXFACE_ALPHA

12 years agoCloth bugfix for 1. reset of cloth sim during render with vector blur when cache...
Daniel Genrich [Wed, 12 Mar 2008 01:42:39 +0000 (01:42 +0000)]
Cloth bugfix for 1. reset of cloth sim during render with vector blur when cache was not protected, 2. fix of bad vector blur for cloth, put fluidsim like function in to get real speed vectors

12 years agoAdded an Alpha Convert compositor node, to convert between
Brecht Van Lommel [Tue, 11 Mar 2008 14:40:27 +0000 (14:40 +0000)]
Added an Alpha Convert compositor node, to convert between
premultiplied and key alpha.

12 years agoBugfix: render instancing didn't work correct with layer ipo's,
Brecht Van Lommel [Tue, 11 Mar 2008 12:29:59 +0000 (12:29 +0000)]
Bugfix: render instancing didn't work correct with layer ipo's,
each instance should have it's own layer.

12 years agoBugfixes:
Joshua Leung [Tue, 11 Mar 2008 11:22:27 +0000 (11:22 +0000)]
Bugfixes:

* Menus could no longer have their items accessed by number (i.e. W-5 didn't run merge tool in EditMode when accessed by keyboard). This was caused by my commit for BUTM (there was some extra code there that isn't really needed, but was causing havok).
* NumPad can now be used for the above feature too now
* Typo in error message in Constraints PyAPI

12 years agofix for cam.setScale(), cam.setClipStart(), cam.setClipEnd() and
Campbell Barton [Tue, 11 Mar 2008 09:00:09 +0000 (09:00 +0000)]
fix for cam.setScale(), cam.setClipStart(), cam.setClipEnd() and
cam.setDrawSize(), they would raise errors when setting ints. but used not to.
better tooltips for Uv Stretch

12 years agoTiny tweak, added a space in the node title between custom name and node type.
Matt Ebb [Tue, 11 Mar 2008 05:31:50 +0000 (05:31 +0000)]
Tiny tweak, added a space in the node title between custom name and node type.

12 years ago* Small tweaks to the bevel modifier UI
Matt Ebb [Tue, 11 Mar 2008 01:17:56 +0000 (01:17 +0000)]
* Small tweaks to the bevel modifier UI

12 years agoIncreased the maximum allowed 'Max Dist' value in raytraced reflections
Matt Ebb [Tue, 11 Mar 2008 00:45:44 +0000 (00:45 +0000)]
Increased the maximum allowed 'Max Dist' value in raytraced reflections

12 years agoBGE crash when using angV & linV actuator on static objects
Benoit Bolsee [Mon, 10 Mar 2008 21:30:35 +0000 (21:30 +0000)]
BGE crash when using angV & linV actuator on static objects

The error was causing by the KINEMATIC flag not set automatically when the linear or angular velocity was set on static objects. Note that these actuators still won't work on static objects: the crash is fixed but not the actuator; linV and angV only work on dynamic objects. Fixing the linV and angV actuators on static object requires a bit more reflexion. For the time being, use dRot and dLoc on static objects.
Cleaned the code a bit: added systematic check on the physic controller presence before taking action.