Commit Graph

47594 Commits

Author SHA1 Message Date
Martin Poirier
8d996df7ce Adding POINTER_GRAB flag to view 2d pan operator, to make it use continuous grab. 2009-12-17 01:19:50 +00:00
Matt Ebb
b9dbd53aea Added search filtering to key map editor - searches in UI names of operators 2009-12-17 01:06:12 +00:00
Campbell Barton
8a61ad3cd2 bugfix [#20054] Continuous Zoom isn't smooth 2009-12-16 23:05:59 +00:00
Campbell Barton
c3401eb5cb camera switching via markers
Currently access by selecting a marking and binding with the active camera from the view menu.

Note:
after long discussion we decieded there is no nice way to do this.. animate pointers? animate multiple camera visibility?, use sequencer? use NLA?.... have a kind of event system (like framechange scriptlinks)... etc
so this is ifdef'd with DURIAN_CAMERA_SWITCH
2009-12-16 19:49:33 +00:00
Brecht Van Lommel
5e48ab8d75 Sculpt:
* Increase epsilon for intersection a bit more, ortho view + small
  faces are problematic.
* Fix a redraw issue with one partial redraw too much at the end of
  the stroke.
2009-12-16 19:19:08 +00:00
Campbell Barton
d71c094bc4 fix for crash when inserting keyframes in a mesh 2009-12-16 17:49:51 +00:00
Campbell Barton
b6d2d9f63a have sequence strip rna not depend on the current editing sequencer context (TODO- rename) 2009-12-16 16:35:31 +00:00
Matt Ebb
3455261e17 First version of updated key map editor UI (in User Preferences)
Now the key maps are displayed in a hierarchical list which you can 
browse through. As well as in the main list, modal key maps are also 
available in context, for example, if you unfold out a Transform key 
map item, you'll be able to fold out and access its modal key map underneath.

More work to do, including search, better operator browsing, etc.
Still need to revise the ordering/hierarchy and clean up naming to be 
consistent too, it's a bit of an 'evolved' mess right now.

Thanks to theeth for some initial work here too.
2009-12-16 10:13:26 +00:00
Campbell Barton
0095b89a67 Solidify was faiing in cases with flat aras because normal calculation assumed some angle between faces. 2009-12-15 23:35:26 +00:00
Brecht Van Lommel
8a6e9fc7ee Bugfix: weight paint combined with pose mode was not working correct
in some cases, setting active vertex group to invalid value.
2009-12-15 18:15:38 +00:00
Brecht Van Lommel
fedea2eb5c Fix #20393: subsurfed objects only allow a single material. 2009-12-15 18:00:22 +00:00
Andrea Weikert
6ef7c3bb2b fix: adding missing new area type RGN_TYPE_PREVIEW to rna enum. 2009-12-15 17:53:17 +00:00
Campbell Barton
8aa8efb327 * rna attributes for sequence strips - seq.start_frame_final & seq.end_frame_final
these expose the final start and end after offsets are applied. when set this is like grabbing the handle and moving it.
* made swapping strips shuffle effects and check for overlap.
2009-12-15 11:27:46 +00:00
Joshua Leung
18b9385c53 Small Durian Request for animation editors:
Assigned borderselect for animation channels to LMB-tweak too, so it is now possible to select a bunch of channels by simply click-dragging.
2009-12-15 10:46:19 +00:00
Campbell Barton
df8c1f5b91 animation system wasnt being updated when rendering with the sequencer 2009-12-15 10:35:50 +00:00
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