Commit Graph

10210 Commits

Author SHA1 Message Date
Campbell Barton
2c78254f96 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. 2008-03-13 21:41:28 +00:00
Brecht Van Lommel
6e24c23176 Fix for bug #5641: edge slide doesn't work straight after remove
doubles. Also fixed some 64bit warnings in this file.
2008-03-13 21:14:11 +00:00
Brecht Van Lommel
15215493bf Two bugfixes:
- Clicking below the list of items in the shift+f4 databrowser could crash.
- Text window crashed when making it zero size.
2008-03-13 19:40:36 +00:00
Martin Poirier
ecc4ccf68f Fix compiling error.
Typo in text.c
2008-03-13 18:47:55 +00:00
Brecht Van Lommel
174c09c718 Fix for bug #8421: curve shape keys were resetting the curve radius to 0.0. 2008-03-13 18:36:33 +00:00
Ricki Myers
217db14ae7 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.
2008-03-13 17:30:29 +00:00
Brecht Van Lommel
abc79af975 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.
2008-03-13 15:55:35 +00:00
Ricki Myers
b3dab57232 Patch #8488: UserPref to switch between pan/paste on MMB in text editor. 2008-03-13 15:12:19 +00:00
Daniel Genrich
4d3c9e88ed Fixing compiler wanring 2008-03-13 14:38:29 +00:00
Brecht Van Lommel
89247a96e9 Fix for bake texture antialiasing commit, AO with constant jitter
didn't work. Also fixed a warning.
2008-03-13 14:36:17 +00:00
Brecht Van Lommel
6ca3b4a441 Fix for use of uninitialized value in active edge drawing. 2008-03-13 12:38:00 +00:00
Brecht Van Lommel
733f65cb53 Fix for bug #8387: active uv layer index could become invalid in editmode. 2008-03-13 11:42:32 +00:00
Brecht Van Lommel
e625266162 Fix for bug #8385: vector inputs of texture node in the compositor did
not work correct, it should use bNodeStack inputs like other nodes.
2008-03-13 11:26:18 +00:00
Brecht Van Lommel
363dcf9535 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.
2008-03-13 10:58:36 +00:00
Brecht Van Lommel
4afa6a2594 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.
2008-03-13 10:27:35 +00:00
Joshua Leung
923b577b26 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)
2008-03-13 10:24:40 +00:00
Brecht Van Lommel
2c937f0769 Fix for bug #8502: AO was being computed unnecessarily if it was
excluded from the combined pass and the AO pass was disabled.
2008-03-13 09:58:21 +00:00
Daniel Genrich
691e2d5ca8 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 2008-03-13 01:24:59 +00:00
Peter Schlaile
db15615b5b == 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...
2008-03-12 22:01:57 +00:00
Peter Schlaile
4eb225b817 == Sequencer ==
This fixes:
[#8521] Sequencer: numpad zoom is inconsistent
2008-03-12 21:53:09 +00:00
Benoit Bolsee
3444d6612a 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).
2008-03-12 21:33:24 +00:00
Brecht Van Lommel
598e075717 Baking now does material texture anti-aliasing if the OSA button is
enabled, result of that is mainly visible for image textures.
2008-03-12 20:22:05 +00:00
Brecht Van Lommel
d73ed401da 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.
2008-03-12 19:55:37 +00:00
Brecht Van Lommel
de718de316 Bugfix: recent insert keyframe optimization had an error in it
that made replacing the last keyframe not work correct.
2008-03-12 16:53:11 +00:00
Brecht Van Lommel
4cc603090e 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.
2008-03-12 16:04:03 +00:00
Joshua Leung
85350f5eef 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.
2008-03-12 11:19:07 +00:00
Campbell Barton
af93553640 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. 2008-03-12 11:13:57 +00:00
Daniel Genrich
51c58f3ca2 Bugfix for wrong initial cloth settings pretending to be cotton 2008-03-12 10:41:47 +00:00
Campbell Barton
4c6ff955ed quick fix for null check that crashed blender when reading some files. 2008-03-12 10:20:45 +00:00
Campbell Barton
c8d9d60a99 Added python access to TEXFACE_ALPHA 2008-03-12 09:04:07 +00:00
Daniel Genrich
33a6bf610e 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 2008-03-12 01:42:39 +00:00
Brecht Van Lommel
3c561ec216 Added an Alpha Convert compositor node, to convert between
premultiplied and key alpha.
2008-03-11 14:40:27 +00:00
Brecht Van Lommel
7f6889a63b Bugfix: render instancing didn't work correct with layer ipo's,
each instance should have it's own layer.
2008-03-11 12:29:59 +00:00
Joshua Leung
51a8a60d96 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
2008-03-11 11:22:27 +00:00
Campbell Barton
294f884a7d 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
2008-03-11 09:00:09 +00:00
Matt Ebb
eed5a7ec33 Tiny tweak, added a space in the node title between custom name and node type. 2008-03-11 05:31:50 +00:00
Matt Ebb
ef98283f6a * Small tweaks to the bevel modifier UI 2008-03-11 01:17:56 +00:00
Matt Ebb
a49aaa6b00 Increased the maximum allowed 'Max Dist' value in raytraced reflections 2008-03-11 00:45:44 +00:00
Benoit Bolsee
b1ef25663a 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.
2008-03-10 21:30:35 +00:00
Campbell Barton
2563733a5d 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. 2008-03-10 20:58:53 +00:00
Brecht Van Lommel
4ecf0fffaf Fix for msvc compiler error in tiff saving. 2008-03-10 20:12:45 +00:00
Stephen Swaney
55b05d66a6 fix ugly code compiler warning: empty body in an if-statement 2008-03-10 19:32:20 +00:00
Brecht Van Lommel
59195b3e18 Fix for tiff 16bit saving commit, had memory leak. 2008-03-10 17:11:18 +00:00
Kent Mein
d5773b5c64 removed a duplicate line.
Kent
2008-03-10 16:59:08 +00:00
Daniel Genrich
cfc3a37a37 Another try to fix IRIX compile 2008-03-10 12:30:24 +00:00
Campbell Barton
2b42733105 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
2008-03-10 12:17:58 +00:00
Brecht Van Lommel
0ec0f2a02f 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.
2008-03-10 11:39:37 +00:00
Matt Ebb
397ece0008 * 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.
2008-03-10 05:22:18 +00:00
Martin Poirier
cbfbe53ebe == 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).
2008-03-10 00:27:17 +00:00
Daniel Genrich
1a4f7a861e Cloth: Fixed wind force/speed calculation (was exploding with openmp before) 2008-03-09 22:55:49 +00:00