Commit Graph

12695 Commits

Author SHA1 Message Date
Campbell Barton
540c0e0795 uvcalc_lightmap would raise an error on meshes with no faces.
auto-threads wasnt working for baking.
2008-05-14 16:40:25 +00:00
Martin Poirier
b65d4f95fc Missing hotkey in menu for Align to Transform Orientation 2008-05-14 14:53:12 +00:00
Brecht Van Lommel
7806a44134 Minor particle system fixes:
- Changed some tooltips.
- Refresh with reactors and shared particle settings.
- Copying of child particles.
2008-05-14 13:30:36 +00:00
Martin Poirier
d1e1332e07 Final fix fo revision 14827
Fixing UV Quad Constraint when cancelling transform. Also, transdata conversion is a bit faster for all UV transforms.

Patch by Cambo, reviewed and revised.
2008-05-14 12:24:38 +00:00
Martin Poirier
c56f484da8 == Transform orientation bugfix ==
Fallback to global if the selected orientation doesn't exists.

This only happens when switching between scenes or screens(orientations are per view3d)
2008-05-14 09:30:27 +00:00
Joshua Leung
9fdb4965a3 NLA and IPO now have the "AfterTrans Keyframe" option that prevents the creation of duplicate keyframes after transform. 2008-05-14 09:00:22 +00:00
Peter Schlaile
f98085bd7e == FFMPEG ==
Not all versions of ffmpeg seem to have av_find_opt. Added my own version... grmbl.
2008-05-13 20:32:52 +00:00
Martin Poirier
2c4fd39142 Todo [#5743] Rotate dosnt work at high zoom
Fixed by only conditionally resetting the start of the triangle used to calculate the angle to when an angle is actually measured (so really small angle don't result in continuous deltas of 0 degree).

However, the smallest rotation angle is still limited by the precision of the acos function (here: 0.02 degrees, 0.02 / 30 with Shift pressed).
2008-05-13 13:20:47 +00:00
Campbell Barton
b303fa96ac canceling UV transform would still run the be_square function 2008-05-13 10:19:28 +00:00
Martin Poirier
f4a20f4cc1 [#8146] Objects rotate in wrong direction when using numeric input (R x <num>)
Don't flip axis to face camera on num input.
2008-05-13 10:17:46 +00:00
Campbell Barton
33120a1825 disabled drawing the 2d image cursor when painting, added copy bevel weight to the edge copy menu. 2008-05-13 10:04:04 +00:00
Campbell Barton
4e59c3ec53 [#11152] [C] key shortcut is broken in UV/Image Editor
Only allow this inside paint mode.
2008-05-13 06:12:33 +00:00
Geoffrey Bantle
af30d9b2b0 -> Fix for bug in 'Select Non-Manifold'
Select non-manifold would select stray vertices even when in
non-vertex modes. Fixed.
2008-05-13 02:22:57 +00:00
Campbell Barton
ac71783e8d last commit had a typo, also adjusted teh and colour instances 2008-05-12 21:12:10 +00:00
Campbell Barton
a0cd3d67ed confined unprofessional print to debug mode ;) 2008-05-12 20:59:46 +00:00
Campbell Barton
4903751c4d mirror face UVs and color was rotating, shift for alternate axis also wasnt implimented 2008-05-12 18:30:50 +00:00
Brecht Van Lommel
f44c22e69c Fix for bug #11128: render window shows undithered image. 2008-05-12 17:41:03 +00:00
Brecht Van Lommel
916120b98c Fix for bug #11114: boids physics went wrong when the distance between
particles was exactly 0.0, for example with emission from verts.
2008-05-12 17:30:32 +00:00
Peter Schlaile
d2fcba7f65 == Ipo ==
This fixes [#11118] Record Mouse in IPO Curve Editor 2.46rc3
and adds thereby a new feature: correct audio sync to IPO mouse recording :)
2008-05-12 17:16:54 +00:00
Jiri Hnidek
c471b6db74 Bug fix of #10999. mbproc->start was useless. 2008-05-12 16:22:49 +00:00
Brecht Van Lommel
2c9e8e7593 Fix for bug #11140: explode modifier could run out of memory quite
quickly because it allocated a totvert*totvert size array, now uses
edgehash instead.
2008-05-12 11:48:55 +00:00
Peter Schlaile
97dd2fe33e == FFMPEG ==
Added (disabled) MKV support. Might come handy later, if someone finds
out, why it instantly crashes after 2 frames.

Made it impossible to set min_rate higher than max_rate in render buttons
panel.
2008-05-12 09:01:15 +00:00
Campbell Barton
b01e2c4a84 swapped the order of the UV snap menu so Cursor->Selection the 4th, as with the 3d view. 2008-05-12 07:32:46 +00:00
Joshua Leung
3fd3571964 Bugfix for Separate Armatures:
Constraint relinking now works correctly for this tool, so it should be safe to be used by users now.
2008-05-12 04:25:53 +00:00
Ken Hughes
e9706d6f0d Move variable declaration, wouldn't compiler with MSVC (reports by jms). 2008-05-11 22:51:56 +00:00
Peter Schlaile
c8673be3d6 == FFMPEG ==
Add ffmpeg expert option (meaning _all_ ffmpeg option) to render dialog
using properties.

Also adds: H264 preset, that doesn't screw up output.
2008-05-11 20:40:55 +00:00
Campbell Barton
e459d5518e transform manipulator didnt follow the active face in some cases, also rotate about active mixed with normal did not work as it did in 2.45, where the active edge could be used
as a rotation 
axis (this is quite useful)
2008-05-11 19:58:46 +00:00
Benoit Bolsee
96486b356f fix BGE bug #8668: Behavior of os.getcwd() is not consistent between operating systems
Add a function GameLogic.expandPath() that works like Blender.sys.expandpath() and is also available in the BlenderPlayer.
Fix the game actuator in the BlenderPlayer to work like in Blender: 
- try first to load the .blend from the current working directory
- if not found, try to load from the startup .blend or runtime base directory
2008-05-11 18:45:30 +00:00
Campbell Barton
6da415d406 bad mistake in last commit, though it still worked. 2008-05-11 14:29:11 +00:00
Jean-Luc Peurière
360e2f091e protecting by #ifdef0 debug prints for ndof 2008-05-11 13:33:27 +00:00
Campbell Barton
50a282559c revealing selected faces in the UV window with sync selection disabled and when both UV and editmode were are in face-sel-mode would result in selected faces having unselected
edges.
2008-05-11 13:28:57 +00:00
Ton Roosendaal
e969685df4 Bias for irregular lamp buffers now allow minimum of 0.001.
For larger architecture environments it was proved to be necessary.
2008-05-11 13:27:22 +00:00
Campbell Barton
9bf4e60cb8 Shift+H in editmode with only faces selected would result in selected faces having unselected edges. 2008-05-11 13:10:56 +00:00
Joshua Leung
97e72570d1 NLA Transform Bugfixes:
* Scaling NLA-strips now resets their scale setting correctly at all times
* Added safe-guards against negative scaling being created through the use of the transform tools.

Note: at scale 0 or thereabouts, there will still be a little blip, when keyframes are scaled as if scale were 1.0f. It's quite harmless.
2008-05-11 13:07:40 +00:00
Joshua Leung
2d96d1189f Fix compiler warnings in particle.c and editface.c.
* unitialised/unused vars
2008-05-11 12:57:01 +00:00
Campbell Barton
b9c66e88ea added encoding "# coding: utf-8" to the headers of scripts that python would not run with execfile('....'), python would also riase the error, though there is no practicle use
for running these scripts outside blender.

The error looked like this.
SyntaxError: Non-ASCII character '\xe4' in file ./3ds_export.py on line 10, but no encoding declared; see http://www.python.org/peps/pep-0263.html for details
2008-05-11 12:41:12 +00:00
Joshua Leung
50bbc0ff23 More bugfixes for Armature Separation/Joining:
* Move armatures out of posemode before joining/separating, so that bones don't mysteriously disappear after the operation
* Added an undo push and fixed up hotkey access for armature separation
2008-05-11 12:34:56 +00:00
Ton Roosendaal
7cceaf13ea Anticipating the final final final rc build #5! 2008-05-11 12:34:39 +00:00
Joshua Leung
cfc767d981 Bugfix:
Found a little bug in the Armature Joining code due to the 'imat' var being defined twice and used for two different things. This was brought to light by Valgrind output (thanks Campbell)
2008-05-11 12:17:52 +00:00
Joshua Leung
1decc569dd Separating armatures should now be more stable than it was, but is still too unstable to enable for release. So for now, the old warning stands. 2008-05-11 11:53:12 +00:00
Campbell Barton
a2528b4123 fix for [#11136] Segmentation fault when copying objects with hairs 2008-05-11 11:34:39 +00:00
Stephen Swaney
aa471f6a80 fix compiler warnings.
tsk tsk - implicit declaration of functions.
2008-05-11 06:11:23 +00:00
Stephen Swaney
a2c10ff1e7 Initial commit for BPy Particle patch #8557 from Cedric Paille
Thanks, Cedric!

*** WARNING ****   This is a Work In Progress   *** Warning ****
2008-05-11 04:15:21 +00:00
Joseph Eagar
33568c3f24 =BPy bugfix=
Little python bugfix, events were never sent to space handlers when using the
manipulator.  This is necessary for e.g. movable pivot pyconstraints.
2008-05-11 02:28:01 +00:00
Campbell Barton
5122cae732 fix for [#11121] mouse wheel dont work when playing animation 2008-05-10 19:05:46 +00:00
Chris Want
5e5dc2e938 Reverting vrml97_export.py to it's state at revision 14751 because:
1) Bug #6692 is actually a feature request. While I do think that
Michalis' patch is a worthy change, we don't have time to test
this at this stage in the release cycle (and svn is supposedly
closed to new features anyways). I'm sorry Michalis, this will
have to wait until after release.

2) I have looked at bug #8814 a while ago, but I have not yet found
a good solution (and perhaps the solution is to *not* export faces 
without materials assigned). I don't have time to assess whether
revision 14774 presents a worthwhile change or not, and I have no
time to test before release. Also I don't like that the 'fix' for
#8814 is mixed with a fix for a previous faulty commit.

3) Again, another commit to a script I maintain without consulting
me first. Not cool!

Chris
2008-05-10 14:05:35 +00:00
Campbell Barton
a404e4aead added access to object alpha since there is alredy ipo access 2008-05-10 13:09:34 +00:00
Campbell Barton
3870080d3f sequencer non-square-pixel display didnt offset correctly, also made this only work with images. (not luma waveforms etc) 2008-05-10 12:43:53 +00:00
Brecht Van Lommel
0bc5855e5d Fix for second part of bug #11107: physics systems were referring to
vertex groups with a number, but this got out of sync if any vertex
group was deleted, now it properly updates it.
2008-05-10 12:33:15 +00:00
Campbell Barton
639ea26638 fix for [#1473] align camera to view : no IPO update 2008-05-10 10:57:22 +00:00