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

12 years agostupid mistake for setting the bake mask (only masked half the faces), also exposed...
Campbell Barton [Mon, 10 Mar 2008 20:58:53 +0000 (20:58 +0000)]
stupid mistake for setting the bake mask (only masked half the faces), also exposed a possible bug since the malloc and null checks were done without mutex locking.

12 years agoFix for msvc compiler error in tiff saving.
Brecht Van Lommel [Mon, 10 Mar 2008 20:12:45 +0000 (20:12 +0000)]
Fix for msvc compiler error in tiff saving.

12 years agofix ugly code compiler warning: empty body in an if-statement
Stephen Swaney [Mon, 10 Mar 2008 19:32:20 +0000 (19:32 +0000)]
fix ugly code compiler warning:  empty body in an if-statement

12 years agoFix for tiff 16bit saving commit, had memory leak.
Brecht Van Lommel [Mon, 10 Mar 2008 17:11:18 +0000 (17:11 +0000)]
Fix for tiff 16bit saving commit, had memory leak.

12 years agoremoved a duplicate line.
Kent Mein [Mon, 10 Mar 2008 16:59:08 +0000 (16:59 +0000)]
removed a duplicate line.

Kent

12 years agoFix for the Finnish po from GSR.
Chris Want [Mon, 10 Mar 2008 16:04:34 +0000 (16:04 +0000)]
Fix for the Finnish po from GSR.

12 years agoChange to Makefile logic for processing the po directory:
Chris Want [Mon, 10 Mar 2008 16:03:58 +0000 (16:03 +0000)]
Change to Makefile logic for processing the po directory:
rather than processing it only when INTERNATIONAL is set
to true, instead only disabling processing it only if
INTERNATIONAL is set to false. The reason for this change is
because the Makefile in the top level directory doesn't
read all of the variables set in source/nan_definitions.mk,
and with the current scheme the po's would only get processed
if the user had explicitely set INTERNATIONAL to true.

12 years agoAnother try to fix IRIX compile
Daniel Genrich [Mon, 10 Mar 2008 12:30:24 +0000 (12:30 +0000)]
Another try to fix IRIX compile

12 years agoApplied [#7076] Updated Python Image API to use float buffers in getPixelF/setPixelF
Campbell Barton [Mon, 10 Mar 2008 12:17:58 +0000 (12:17 +0000)]
Applied [#7076] Updated Python Image API to use float buffers in getPixelF/setPixelF
and added an image.updateDisplay() function to update imbuf->rect from imbuf->rect_float
also corrected some docstrings and epydocs

12 years agoAdd an option for saving/loading DPX with in log color space with
Brecht Van Lommel [Mon, 10 Mar 2008 11:39:37 +0000 (11:39 +0000)]
Add an option for saving/loading DPX with in log color space with
reference black, reference white and gamma.

Added 16 bit TIFF saving.

This needs more work to cleanup code and add 16 bit TIFF reading, but
committing it now so it can be tested.

12 years ago* Updated the material preview so the 'hair' preview option
Matt Ebb [Mon, 10 Mar 2008 05:22:18 +0000 (05:22 +0000)]
* Updated the material preview so the 'hair' preview option
 has UVs. Previously, it would show all noisy and messed up when
 using a UV texture.

12 years ago== Align to Transform Orientation ==
Martin Poirier [Mon, 10 Mar 2008 00:27:17 +0000 (00:27 +0000)]
== Align to Transform Orientation ==

New rotation alignement fonction

Rotates objects/Pose bones to match the selected transform orientation.

Can be used to align to view, active object (normal) and custom transform orientations.

Accessible in the Object -> Transform submenu and through the hotkey Ctrl-Alt-A (which was previously a fall through for Apply but only Ctrl-A and Ctrl-Shift-A did anything special).

Can be eventually made to work in edit mode (not too hard).

12 years agoCloth: Fixed wind force/speed calculation (was exploding with openmp before)
Daniel Genrich [Sun, 9 Mar 2008 22:55:49 +0000 (22:55 +0000)]
Cloth: Fixed wind force/speed calculation (was exploding with openmp before)

12 years agoBGE memleak fix: OpenGL Display Lists not deleted when switching scene
Benoit Bolsee [Sun, 9 Mar 2008 22:02:32 +0000 (22:02 +0000)]
BGE memleak fix: OpenGL Display Lists not deleted when switching scene

This fix also improves performance of Display List for replica objects: Display List ID caching is now enabled for replica objects which avoids a tree search on each frame and for each replica.

12 years agoBGE fix: game object to controller links consistancy maintained regardless of order...
Benoit Bolsee [Sun, 9 Mar 2008 21:51:38 +0000 (21:51 +0000)]
BGE fix: game object to controller links consistancy maintained regardless of order of deletion

AddObject actuator forces last created object to hang in memory even after object is removed from scene => bad link between object and physic controller that causes Blender to crash in case a python script tries to use it (bad programming anyway).
This patch avoids the crash by maintaining consistent links at all time.

12 years agoBGE memleak fixed: mesh/material not deleted when switching scene
Benoit Bolsee [Sun, 9 Mar 2008 21:42:03 +0000 (21:42 +0000)]
BGE memleak fixed: mesh/material not deleted when switching scene

12 years agoBGE memleak fixed: game actuator does not release file buffer
Benoit Bolsee [Sun, 9 Mar 2008 21:37:01 +0000 (21:37 +0000)]
BGE memleak fixed: game actuator does not release file buffer

12 years agoBlenderPlayer Win project was -again- damaged by the inclusion of libblenkey.lib...
Benoit Bolsee [Sun, 9 Mar 2008 21:05:05 +0000 (21:05 +0000)]
BlenderPlayer Win project was -again- damaged by the inclusion of libblenkey.lib, now removed

12 years ago== Sequencer ==
Peter Schlaile [Sun, 9 Mar 2008 20:50:43 +0000 (20:50 +0000)]
== Sequencer ==

Added grab projection also to X- and Y-key to make it work like in 3d-view.

12 years ago== Sequencer ==
Peter Schlaile [Sun, 9 Mar 2008 20:25:57 +0000 (20:25 +0000)]
== Sequencer ==

Removed sillyness on NUMPAD PERIOD that snapped CFRA to beginning of strip.

12 years agomasked/alpha baking commit was missing a null check for imbuf,
Campbell Barton [Sun, 9 Mar 2008 18:06:48 +0000 (18:06 +0000)]
masked/alpha baking commit was missing a null check for imbuf,
made textures also bake alpha

12 years agoadjusted uv stretch angle error to show more errors for low values.
Campbell Barton [Sun, 9 Mar 2008 17:32:32 +0000 (17:32 +0000)]
adjusted uv stretch angle error to show more errors for low values.

12 years agoreplaced zero comparisons with FLT_EPSILON
Campbell Barton [Sun, 9 Mar 2008 16:57:01 +0000 (16:57 +0000)]
replaced zero comparisons with FLT_EPSILON

12 years agoremoved printf and also removed some unneeded stuff, correct angles aren't needed...
Campbell Barton [Sun, 9 Mar 2008 15:07:01 +0000 (15:07 +0000)]
removed printf and also removed some unneeded stuff, correct angles aren't needed since its only comparing the 2 angles

12 years agooptimized uv stretch display angle calculation
Campbell Barton [Sun, 9 Mar 2008 14:49:12 +0000 (14:49 +0000)]
optimized uv stretch display angle calculation

12 years agofix for uninitialized variables in uv stretch drawing,
Campbell Barton [Sun, 9 Mar 2008 07:35:12 +0000 (07:35 +0000)]
fix for uninitialized variables in uv stretch drawing,
[#8428] 'Editmesh_active' theme colour not accessible via Python
bugfix problem where saving a theme would raise and error when ~/.blender didnt exist.
bugfix for file selector staying open (introduced with own undo resistant scripts)

12 years agouv stretch area display could flicker red sometimes, removed some GL settings that...
Campbell Barton [Sun, 9 Mar 2008 04:06:57 +0000 (04:06 +0000)]
uv stretch area display could flicker red sometimes, removed some GL settings that aren't needed.

12 years agoAdded UV Stretch (area/angle) display options
Campbell Barton [Sun, 9 Mar 2008 03:42:59 +0000 (03:42 +0000)]
Added UV Stretch (area/angle) display options

12 years ago* Numeric input now works better for TimeSlide
Joshua Leung [Sun, 9 Mar 2008 03:41:13 +0000 (03:41 +0000)]
* Numeric input now works better for TimeSlide
* Removed a compiler warning

12 years agoadded snap cursor->active and adjusted snap menu order in toolbox and header menu's
Campbell Barton [Sat, 8 Mar 2008 21:57:15 +0000 (21:57 +0000)]
added snap cursor->active and adjusted snap menu order in toolbox and header menu's

12 years ago* Bakeing fix for apricot, stop pixels being extended for parts of the image that...
Campbell Barton [Sat, 8 Mar 2008 21:35:38 +0000 (21:35 +0000)]
* Bakeing fix for apricot, stop pixels being extended for parts of the image that are not being baked (useful for multiple objects)
* Added support for baking alpha, as well as extending alpha margins.

12 years agoLong on the wishlist, quite simple even, and there it finally is:
Ton Roosendaal [Sat, 8 Mar 2008 19:02:08 +0000 (19:02 +0000)]
Long on the wishlist, quite simple even, and there it finally is:

  Compositor:
  Muting option to temporary disable/enable nodes.
  Hotkey: press M on selection. It toggles.

Note: no menu entry yet, and drawing style could be tweakered...

12 years agoBugfix:
Joshua Leung [Sat, 8 Mar 2008 11:08:24 +0000 (11:08 +0000)]
Bugfix:

Time-Slide transform tool in the Action Editor now works as well as it did before the Action-Keys transform refactor. However, numeric input is now broken as a side-effect of this.

12 years agoChanged getClipbaord and putClipboard functions to be more ghost like
Ricki Myers [Sat, 8 Mar 2008 04:22:52 +0000 (04:22 +0000)]
Changed getClipbaord and putClipboard functions to be more ghost like
Changed getClipboard to GHOST_getClipboard and putClipboard to GHOST_putClipboard

Removed ghost calls from blender and added the calls to winlay.h and ghostwinlay.c
This cleand up casts in drawtext.c

12 years ago* Clicking on constraint-buttons should now result in updates in the 3d-view without...
Joshua Leung [Sat, 8 Mar 2008 03:02:36 +0000 (03:02 +0000)]
* Clicking on constraint-buttons should now result in updates in the 3d-view without needing to move the mouse into the 3d-view first
* Added missing include

12 years agoThe BUTM button type (used for 'R' button in StretchTo/LimitDist constraints) now...
Joshua Leung [Sat, 8 Mar 2008 02:38:35 +0000 (02:38 +0000)]
The BUTM button type (used for 'R' button in StretchTo/LimitDist constraints) now acts like a button when clicked on.

12 years agoBugfix #8478: Constraints PyApi for setting targetspace non-functional
Joshua Leung [Sat, 8 Mar 2008 02:16:37 +0000 (02:16 +0000)]
Bugfix #8478: Constraints PyApi for setting targetspace non-functional

Finishing off some unfinished business (from the multi-target constraints work), it is now possible to get/set target-space for constraints where this is relevant.

For this to be possible, target-space setting(s) are now always presented as a list of ints, with each int representing the target-space setting for the relevant target.

Constraints C-API note:
get_targets function now needs to return the number of targets the constraint can have

12 years agoFix for bug [#8465] particle children for emitter particles doesn't render
Janne Karhu [Fri, 7 Mar 2008 23:08:15 +0000 (23:08 +0000)]
Fix for bug [#8465] particle children for emitter particles doesn't render
-cached step didn't react to rendering and create child particles
-now emitter particle children can use the render amount too

12 years agoFix for bug [#8402] Hair particles don't react on changing of curve guides
Janne Karhu [Fri, 7 Mar 2008 22:39:54 +0000 (22:39 +0000)]
Fix for bug [#8402] Hair particles don't react on changing of curve guides
-guide calculation was accessing wrong pointers in hair calculation
-now guides also respect the "apply effectors to children" - button, but not the "stiff" value
-disabled guide calculation for initial hair calculation as it's all done dynamically later
-few useless commented lines cleaned out

12 years agoown missing null check
Campbell Barton [Fri, 7 Mar 2008 22:39:45 +0000 (22:39 +0000)]
own missing null check

12 years agobugfix for [#8433] Retopo doesn't work with AutoMerge Editing.
Campbell Barton [Fri, 7 Mar 2008 22:01:52 +0000 (22:01 +0000)]
bugfix for [#8433] Retopo doesn't work with AutoMerge Editing.
Disable retopo while snapping, then run after. This means automerge happens first which is more useful.

12 years agoNormal map tangents are now not always averaged at vertices anymore,
Brecht Van Lommel [Fri, 7 Mar 2008 15:38:56 +0000 (15:38 +0000)]
Normal map tangents are now not always averaged at vertices anymore,
but only when the UV's are connected. That fixes some artifacts when
baking and using tangent space normal maps. It does mean increased
memory usage because it now stores 4 tangents per face like UV's,
and increased processing time, but there's no simple way around that.

12 years agosnap menu order change, as suggested by Theeth, fix for own error with Window.TestBreak()
Campbell Barton [Fri, 7 Mar 2008 09:33:18 +0000 (09:33 +0000)]
snap menu order change, as suggested by Theeth, fix for own error with Window.TestBreak()

12 years ago-> DOF from active tool
Geoffrey Bantle [Fri, 7 Mar 2008 07:23:55 +0000 (07:23 +0000)]
-> DOF from active tool

Creates (or modifies) a DOF node based upon the active object.
Requires two selected objects, the non-active one will get its
DOF coordinate system from the active selected object. This assumes
that 1 Blender unit == 10 meters

12 years agoAnother big purge of warnings. (Main culprits this time were Campbell and Geoffrey):
Joshua Leung [Fri, 7 Mar 2008 03:24:23 +0000 (03:24 +0000)]
Another big purge of warnings. (Main culprits this time were Campbell and Geoffrey):
* no newline at end of file (2-3)
* uninitialised vars (1)
* unused vars (1-2)
* assigning/comparing pointers and ints (numerous)
* etc.

12 years ago-> Light points vert normal bug and DOF fixes
Geoffrey Bantle [Fri, 7 Mar 2008 02:40:12 +0000 (02:40 +0000)]
-> Light points vert normal bug and DOF fixes

If light points are not given a unit normal they will
not show up correctly in some applications. Further DOF
nodes were not being exported correctly.

12 years agoRemove extraneous class qualifiers for gcc 4.2 / 4.3 on OSX.
Stephen Swaney [Fri, 7 Mar 2008 01:19:36 +0000 (01:19 +0000)]
Remove extraneous class qualifiers for gcc 4.2 / 4.3 on OSX.
Thanks go to jensverwiebe via IRC.

12 years agoAttempt to fix [#6757] linked objects made "local" still not editable
Campbell Barton [Thu, 6 Mar 2008 23:45:17 +0000 (23:45 +0000)]
Attempt to fix [#6757] linked objects made "local" still not editable
But not sure exactly what the user is doing.
Made game logic work on linked objects and disabled "Add Material" for linked mesh data.

12 years agoPyAPI - Window.TestBreak() - True if the user pressed escape.
Campbell Barton [Thu, 6 Mar 2008 22:45:11 +0000 (22:45 +0000)]
PyAPI - Window.TestBreak() - True if the user pressed escape.

12 years agoPython API
Ken Hughes [Thu, 6 Mar 2008 21:43:22 +0000 (21:43 +0000)]
Python API
----------
Bugfix #8472: texture.image setter did not accept None to remove an image, or
set the image type once an image was assigned.

12 years agoMade python scripts save and load in the blend file so you can have the same scripts...
Campbell Barton [Thu, 6 Mar 2008 21:25:15 +0000 (21:25 +0000)]
Made python scripts save and load in the blend file so you can have the same scripts running when you open a blend file.
Also scripts will re-run on undo rather then closing.

This is done by saving and loading the name of the script or textblock of the 'Script' datablock, connected to the ScriptSpace. This way when there is a name but the script dosnt run.
Blender runs the script or text block if available.

12 years ago* on win32 with msvc USE_OPENAL was defined for the entire source. Made it so that...
Nathan Letwory [Thu, 6 Mar 2008 21:01:55 +0000 (21:01 +0000)]
* on win32 with msvc USE_OPENAL was defined for the entire source. Made it so that it is defined only there where needed when needed.
* dxguid is necessary only when building WITH_BF_OPENAL=1. I already added the mingw version to our SVN in lib/windows/openal/lib and now I made sure it is linked against only when needed.

12 years agoFSA fix:
Ton Roosendaal [Thu, 6 Mar 2008 19:26:44 +0000 (19:26 +0000)]
FSA fix:

If you composite using multiple scenes, the "use FSA" button had to be set
or disabled for each scene. Now you can just set/disable FSA for the scene
that does the compositing. You can only disable FSA in other scenes if it
was set before though.

(Any understands these lines? :)

12 years agoBugfix #8477: Reset button for StretchTo/Limit-Distance Constraints Broken
Joshua Leung [Thu, 6 Mar 2008 10:02:25 +0000 (10:02 +0000)]
Bugfix #8477: Reset button for StretchTo/Limit-Distance Constraints Broken

Unfortunately, using BUT instead of BUTM won't work for these buttons. Although they now work, there is less tactical feedback (i.e. button depresses when clicked), and their colouring doesn't suggest to the user that they do something (i.e. grey not 'orange').

12 years agoChange the current line number to the cursor color when line numbers is toggled
Ricki Myers [Thu, 6 Mar 2008 01:54:04 +0000 (01:54 +0000)]
Change the current line number to the cursor color when line numbers is toggled

12 years agoCloth bugfix for jumpy cloth (users were complaining), so the mass can be changed...
Daniel Genrich [Thu, 6 Mar 2008 01:21:40 +0000 (01:21 +0000)]
Cloth bugfix for jumpy cloth (users were complaining), so the mass can be changed on GUI now (reference: in old blendfiles, mass=1.0 was used)

12 years agoI didn't get any comments so I'm assuming its a good idea.
Kent Mein [Wed, 5 Mar 2008 21:11:24 +0000 (21:11 +0000)]
I didn't get any comments so I'm assuming its a good idea.

This makes it so the following are equal.
blender -w -p 0 0 500 500
blender -p 0 0 500 500 -w

Just move initalization for full screen to before the loop starts.
so it doesn't matter where a -p shows up to override fullscreen.

Kent

12 years ago== Makefiles ==
Chris Want [Wed, 5 Mar 2008 20:58:29 +0000 (20:58 +0000)]
== Makefiles ==

Patch from GSR to correctly disable processing of po's when
international support is disabled.

12 years agoFix for undo optimization commit, compiler error on msvc.
Brecht Van Lommel [Wed, 5 Mar 2008 17:51:35 +0000 (17:51 +0000)]
Fix for undo optimization commit, compiler error on msvc.

12 years agoBugfix: shaded mode or baking could crash, didn't always create
Brecht Van Lommel [Wed, 5 Mar 2008 17:19:57 +0000 (17:19 +0000)]
Bugfix: shaded mode or baking could crash, didn't always create
memarena but it's being used now in more places so needs to be
created always.

12 years agoBugfix: crash inserting keyframes with missing pose channel. Also
Brecht Van Lommel [Wed, 5 Mar 2008 17:12:09 +0000 (17:12 +0000)]
Bugfix: crash inserting keyframes with missing pose channel. Also
changed some memcpy calls to memmove since memcpy doesn't allow
the buffers to overlap, but it's probably harmless.

12 years agoUndo optimization: now big chunks of memory are not written as single
Brecht Van Lommel [Wed, 5 Mar 2008 15:13:41 +0000 (15:13 +0000)]
Undo optimization: now big chunks of memory are not written as single
memory blocks anymore, but smaller fixed size blocks, so that diffing
can be more effective. For example helps in sculpt mode when making
only local changes to the mesh, previously it would copy the whole
MVert array for each undo step.

12 years agoBugfix for wrong OpenMP flags when using icc (proposed by jensverwiebe via IRC)
Daniel Genrich [Wed, 5 Mar 2008 14:58:33 +0000 (14:58 +0000)]
Bugfix for wrong OpenMP flags when using icc (proposed by jensverwiebe via IRC)

12 years agoBugfix: recent command line changes broke running with ./blender -w,
Brecht Van Lommel [Wed, 5 Mar 2008 11:42:40 +0000 (11:42 +0000)]
Bugfix: recent command line changes broke running with ./blender -w,
was using uninitialized variables.

12 years agoRestored code from over a year ago, tests to allow anti-aliased
Ton Roosendaal [Wed, 5 Mar 2008 10:03:31 +0000 (10:03 +0000)]
Restored code from over a year ago, tests to allow anti-aliased
shadowbuffers. At the time the results were not satisfying enough,
but we now suffer a shadow problem that might well be solved with
this feature.

Problem:
Temporal aliasing of shadowbuffers when small details move (like strands).

In this case it doesn't work to simply increase the shadowbuffer size,
because strands are pixel-sized. Huge shadowbuffers make strand shadows
almost disappear. So... the shadowbuffer resolution has to be not too high.

Instead of increasing the buffer size, we then create multiple buffers,
each on different subpixel positions (a bit like "FSA" :).

So! Shadowbuffer sampling then works as follows;

1) You take multiple samples in the shadowbuffer, on different locations
   inside (or around) the rendered pixel.
   That option was aready available as "Samp" button in Lamps

2) Set amount of sample buffers. It is default 1, but can be 4 or 9.

The results of setting it to '4' or '9' buffers you can see here:
http://www.blender.org/bf/filters/index3.html

Actually, deep shadowbuffers could solve it probably too! Anyhoo...

12 years agoEnabled auto-snap (frame) for all newly created Action Editor instances
Joshua Leung [Wed, 5 Mar 2008 06:11:00 +0000 (06:11 +0000)]
Enabled auto-snap (frame) for all newly created Action Editor instances

12 years ago* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding...
Joshua Leung [Wed, 5 Mar 2008 03:59:44 +0000 (03:59 +0000)]
* Patch by Leandro Inocencio (cesio) to redraw Action Editor after hiding/unhiding bones
* Fixes for compiler warnings

12 years agoFixed warning in drawtext.c
Ricki Myers [Wed, 5 Mar 2008 03:04:55 +0000 (03:04 +0000)]
Fixed warning in drawtext.c

12 years ago-> Short names fix
Geoffrey Bantle [Wed, 5 Mar 2008 01:31:00 +0000 (01:31 +0000)]
-> Short names fix

Short names (less than 8 characters) were not getting exported
correctly for blender objects with no FLT props attached

12 years agoBugfix: the shadow samplenr increment to reuse shadow results in
Brecht Van Lommel [Tue, 4 Mar 2008 19:58:22 +0000 (19:58 +0000)]
Bugfix: the shadow samplenr increment to reuse shadow results in
the renderer could lead to results being reused for unrelated
points, result was one wrong pixel or strand per part. Now instead
of setting the sample counter to 0 multiple times, it keeps a global
counter per thread for the whole render.

12 years agoFix bug where if you selected something then left clicked you would lose the selectio...
Ricki Myers [Tue, 4 Mar 2008 18:50:02 +0000 (18:50 +0000)]
Fix bug where if you selected something then left clicked you would lose the selection buffer.
now when you left click it checks to see if there is text selected

12 years agoI broke it for the case where -w and -W are not called. This should fix that up...
Kent Mein [Tue, 4 Mar 2008 18:38:18 +0000 (18:38 +0000)]
I broke it for the case where -w and -W are not called.  This should fix that up as well.

Kent

12 years agoSmall change in the logic for -w -p The previous changes didn't quite work all the...
Kent Mein [Tue, 4 Mar 2008 18:31:57 +0000 (18:31 +0000)]
Small change in the logic for -w -p The previous changes didn't quite work all the time.
This should simplify things.

Kent

12 years agoBugfix: auto IK + autokeyframe didn't work correct with the don't
Brecht Van Lommel [Tue, 4 Mar 2008 13:33:19 +0000 (13:33 +0000)]
Bugfix: auto IK + autokeyframe didn't work correct with the don't
inherit scale option yet, scale of the bone would slowly change.
Now it's still not 100% accurate, but that's unavoidable, at least
the effect is much reduced.

12 years agoAction Editor - malefico feature request:
Joshua Leung [Tue, 4 Mar 2008 11:29:32 +0000 (11:29 +0000)]
Action Editor - malefico feature request:

Show Selected Action-Channels hidden in groups. Use the hotkey Shift ~  to do so. The name of this feature needs reviewing...

12 years agochange error in typing
Ricki Myers [Tue, 4 Mar 2008 02:43:51 +0000 (02:43 +0000)]
change error in typing
GlobalLock on line 914

12 years agoAdded Copy and Paste functions to GHOST.
Ricki Myers [Tue, 4 Mar 2008 00:41:30 +0000 (00:41 +0000)]
Added Copy and Paste functions to GHOST.
- Moved WIN32 code to ghost and added code for other systems.
- Added functions getClipboard(flag), and putClipboard(buffer, flag)
    -Flag is used on X11 to request selection buffer or clipboard.
    -If any other system uses flag = 1 the function returns doing nothing.
- Changed ctrl +c/v and shift+ctrl + c/v to do the same thing (use the clipboard).
- Changed the menu items (copy, paste) to use the clipboard.

12 years agoPyAPI: create scene sequence data if its not there when getting scene.sequence
Campbell Barton [Mon, 3 Mar 2008 21:43:31 +0000 (21:43 +0000)]
PyAPI: create scene sequence data if its not there when getting scene.sequence

12 years ago[#8434] Normal manipultor does not align with normals (like in 2.45)
Martin Poirier [Mon, 3 Mar 2008 19:57:48 +0000 (19:57 +0000)]
[#8434] Normal manipultor does not align with normals (like in 2.45)

Bring back multivert normal average for the normal manipulator/orientation.

When selecting more than three vertice, the averaged normal of all selected is used to get orientation Z-axis.

NOTE: This is only applicable when NO faces are selected, otherwise it uses the averaged normal of the faces (excluding vertice that aren't part of a face). This is not new behavior

CHANGES FROM 2.45: Selecting 2 or 3 vertice doesn't use normal averaging but uses virtual edge and face orientations instead.