Commit Graph

18173 Commits

Author SHA1 Message Date
Campbell Barton
2f80f813f3 * made seqence swap into 1 operator with left/right enum option
* allow sequence swapping even when the strip has an effect
* only recalc the effect when its needed
2009-12-15 10:04:54 +00:00
Campbell Barton
7fc799d4a9 utility functions for getting the corner angles of a quad or tri: angle_quad_v3 & angle_tri_v3 2009-12-15 09:39:46 +00:00
Campbell Barton
ec7a6129ea number button precission was far too low, description also bit. 2009-12-15 01:03:05 +00:00
Campbell Barton
ded4cbb553 solidify would only work as expecyed if all faces were selected, added an override to extrude that means it runs without removing selected faces first, even on a partial selection 2009-12-15 00:53:34 +00:00
Campbell Barton
9fe37d9970 improve solidify results by weighting the faces influence on a vertex by the corner angle of each face before displacing 2009-12-15 00:24:30 +00:00
Joshua Leung
20748a38ac Bugfix #20384: target data path of driving not correct when loading old rig from 2.49b 2009-12-15 00:10:03 +00:00
Campbell Barton
9633d198fb solidify from 2.4x (ported from python to C)
- shell_angle_to_dist() was using degrees
2009-12-14 23:35:13 +00:00
Roland Hess
6d59a84732 Patch [19862]: Properly map UV Project from View with camera object.
Previously, calling Project from View for UVs when viewing through a camera produced bad results. You had to scale and stretch the resulting UVs, never resulting in a true "from view" with a camera. Now, what you get in the UV editor is what you saw through the camera.
2009-12-14 23:19:59 +00:00
Andrea Weikert
03e1afe7ac Sequencer:
* fix crash due to missing preview region
* had to bump up subversion to catch all files saved without preview region in sequencer.
2009-12-14 22:59:41 +00:00
Martin Poirier
4942013093 Support -noaudio in background mode too (it was initialized even in bg, that should be fixed). 2009-12-14 22:29:10 +00:00
Andrea Weikert
18cc2b76c2 Sequencer drawing cleanup (Part 1)
Separated preview drawing into own ARegion, this should make using View2D possible
The Sequencer now has three view types: Sequencer, Preview and split Sequencer/Preview.

Changing the preview can be done either by the combobox in the header or toggling through those types with CTRL+TAB.

Notes:
* Icon for split Sequencer/Preview view missing still. 
* Naming items in the comboboxes can be improved (just Preview instead of Image Preview?)

Next steps:
* bringing back View2D handling (zoom/pan) for image preview
* experimenting with splitting the Preview ARegion for In/Out editing
2009-12-14 21:42:25 +00:00
Brecht Van Lommel
fd70334242 Fix #20250: smooth view poor performance compared to 2.49. Increased the
frame rate of smooth view from 30 to 100, makes it looks smoother when it
can redraw at that speed, otherwise will simply drop frames anyway.
2009-12-14 21:31:36 +00:00
Campbell Barton
e7b4d36fd6 * new metarig type for the durian dragon leg (original rig by Cessen)
* option to roll the delta of the arm rig.
* fix to copy metarig type
* renamed EditBone.align() --> EditBone.align_roll()
* Added EditBone.align_orientation(other)
* Added bone.vector: same as (bone.tail - bone.head)
2009-12-14 20:56:19 +00:00
Brecht Van Lommel
639dd6d25e Fix #20362: multires conversion from 2.5alpha0 not working. It's still not
entirely the same, the tangets are a bit different at face edges/corners.
2009-12-14 20:47:02 +00:00
Brecht Van Lommel
231ddb67b1 Fix #19897: WM_OT_redraw_timer memory leak using Draw Window. 2009-12-14 20:37:05 +00:00
Brecht Van Lommel
a133e57bf3 Fix #20233: crash when entering - characters in text object, with short
textbox width. I can't tell if this is working correct, the code is very
cryptic, with gotos even, but seems there is not enough space allocated
to permit splitting each character to it's own line.
2009-12-14 20:01:52 +00:00
Brecht Van Lommel
face5047d0 Fix #20113: CLICK events stop working when opening a new file. 2009-12-14 19:39:54 +00:00
Brecht Van Lommel
163d8111be Fix crash loading old files with physics systems without effector weights. 2009-12-14 19:17:27 +00:00
Brecht Van Lommel
35cda1f940 Fix #20076: SSS renders incorrectly when used by objects in a particle system. 2009-12-14 18:27:38 +00:00
Brecht Van Lommel
6e1e8a66bb Fix #20118: uv editor, changing active face did not change image. 2009-12-14 18:15:48 +00:00
Brecht Van Lommel
9a7f6e937b Fix #20345: weight paint crashes with armature modifier without object.
Also fixes:
* Weight paint subsurf drawing.
* Missing pointer endian conversion in paint brushes.
* Use of unitialized variable in screen version patch.
* Multires modifier without mdisps layer crash.
2009-12-14 17:08:02 +00:00
Brecht Van Lommel
6760dbf2ad Bugfix: converting multires with 0 levels would crash. 2009-12-14 15:40:47 +00:00
Brecht Van Lommel
91791da368 Fix #20364 and #20357: AAO crashes for certain combinations of settings. 2009-12-14 15:05:09 +00:00
Brecht Van Lommel
e18b934196 Fix #20354: sculpt mode crash when using smooth brush with multires level 0. 2009-12-14 14:48:46 +00:00
Campbell Barton
d88c776614 edits to the bone copy metarig type from Cessen, pointcache warning fix 2009-12-14 14:42:46 +00:00
Brecht Van Lommel
91215df5c2 Bugfix: clicking outside of color picker could reset color in some cases. 2009-12-14 14:34:57 +00:00
Brecht Van Lommel
a5c020218c Fix #20368: editing keymap item operator name would reset properties
even if the name was not changed.
2009-12-14 14:27:38 +00:00
Brecht Van Lommel
32d5429e35 Fix #20323: closing other window while BGE is running crashes. 2009-12-14 14:16:39 +00:00
Brecht Van Lommel
be6bf5faf6 Fix #20380: Duplicating mesh with Particle Instance Mod, Pole Axis not copied. 2009-12-14 13:45:45 +00:00
Brecht Van Lommel
f922d5d454 Fix #20376: crash with layer sculpt and multires. This is not working
yet, at least prevents the crash for now.
2009-12-14 13:20:47 +00:00
Brecht Van Lommel
d612fdcdec Fix #20377: object layer and modifier realtime setting are now editable
again on library linked objects. The former is ok because it is actually
the scene data being edited, the latter will not be saved to file but is
useful..
2009-12-14 13:15:23 +00:00
Brecht Van Lommel
87a5ce06f3 Fix #20372: crash when strand render enabled with child hairs. 2009-12-14 13:11:22 +00:00
Joshua Leung
b1a39375e5 Keyframing Bugfixes and Feature Requests:
* Added a User-Pref option for the "XYZ to RGB" colour-mode setting for new F-Curves to compliment the one used for Keying Sets. With this option enabled, the builtin Keying Sets also can obey this option.

* Made all places that were previously manually checking the flags for keyframing to use a standard API function to do this now.

* Fixed bug introduced earlier today in commit 25353 by reverting the changes to keyingsets.c. Forgot that delete_keyframe doesn't handle do the "entire array" hack with array_index = -1

* Fixed bug with the insert-keyframe code for the array_index = -1 case, where too many channels were being keyed (i.e. an imaginary channel was often keyed in addition to the valid ones)
2009-12-14 12:09:20 +00:00
Brecht Van Lommel
96df285ff6 Fix #20367: game engine crash, origindex layer is now optional. 2009-12-14 10:52:02 +00:00
Joshua Leung
e01b030817 Bugfix #20351:
- Offset parameter of the path constraint has no effect on the animation 
- Path animation was being repeated multiple times even though it was not supposed to
2009-12-14 06:25:42 +00:00
Joshua Leung
2c3eb59f0f A few KeyingSet + Transform Tweaks:
Autokeying for transform functions now gets context-info, allowing for bone paths to be recalculated. 

However, the main purpose of this is to allow KeyingSets to eventually have poll functions.
2009-12-14 03:20:17 +00:00
Matt Ebb
a4d52bd0fd patch [#20342] Notifier patch for modifier rename and particle system rename
by 'ThatHaze'. thanks!
2009-12-13 23:51:41 +00:00
Matt Ebb
3f612b6ea5 Description and more presets for animation players (rv / framecycler).
Also put a bit more logic for guessing player paths based on my system. 
If anyone can make this a bit more clever/bulletproof, please feel free to 
get involved in it, it's all python!
2009-12-13 23:30:18 +00:00
Campbell Barton
6b207579c8 invalid value for BGE PyObjects was inverted 2009-12-13 20:08:57 +00:00
Andrea Weikert
c8fe0daa91 fixing scons and makefile compile.
* added include path due to added bad level #include "WM_api.h"
2009-12-13 19:45:23 +00:00
Campbell Barton
d31d6e71e2 added include path for bad level call 2009-12-13 19:25:05 +00:00
Andrea Weikert
ca16488e81 MSVC 9 compile fixes and cleanups
* added renamed files in revision 25337
* renamed BLI_util.h -> BLI_path_util.h for consistency
* cleanup of #includes: removed BLI_blenlib.h in favour of direct includes of the needed headerfiles in a few places.
* removed debug print in sequencer.c
* added missing include in blenkernel/blender.c -> bad dependency, needs to be fixed still
2009-12-13 17:46:30 +00:00
Campbell Barton
61da7bb866 more sequence -> sequencer rename, also made sequencer swap strip update effects strips 2009-12-13 15:48:57 +00:00
Campbell Barton
abe8c09b8a * renamed BKE_sequence.h and sequence.c --> sequencer
* renamed util.c --> path_util.c since there are more then 1 of these files which makes setting breakpoints annoying.
2009-12-13 14:56:45 +00:00
Campbell Barton
1add5b58e8 mesh.faces.active attribute for Michael Williamson to help port 2.4x UV unwrap scripts 2009-12-13 14:13:25 +00:00
Campbell Barton
c1bfd014bd * rna: memory leak fix for RNA_property_enum_value()
* rigify: generate root-most bones before children, this makes parenting to dynamically created bones work.
2009-12-13 12:26:19 +00:00
Campbell Barton
646575f8d9 clear loc/size/rot wasnt updating child transformations, also removed some warnings 2009-12-13 11:49:17 +00:00
Campbell Barton
b3f03250de use tp_getset rather then checking the string on getattr for 'id_data' attribute 2009-12-13 10:46:34 +00:00
Campbell Barton
a224803fb7 Sequencer unique names for duplicates & metas and name new strips when the operator doesnt set them. 2009-12-13 03:20:29 +00:00
Andrea Weikert
86028a6631 Sequencer: Transform Strip updates (Durian wish)
Removed the Start/End Settings and the effect_fader from the sequencer transform strip. 
The transform strip can now only be animated directly by keying the Scale X, Scale Y, Translate X, Translate Y and Rotation values.

Caveat:
The uniform scale re-uses the Scale X value, so when changing the animation on Scale X in the non-uniform scaling case, the uniform scaling will be affected too. This was done to not break files for Durian. 

Note:
As much as I would have liked to clean up the TransformVars, it caused crashes of earlier versions of blender when opening the file.
The rna identifiers were also kept as to not break any existing animation on those keys.
2009-12-11 22:51:53 +00:00