Commit Graph

20908 Commits

Author SHA1 Message Date
Matt Ebb
49b828f7fe A few new mouse navigation config options to help transitioning users
* Dolly zoom Vertical/Horizontal switch
  Changes between using vertical or horizontal mouse movement for zooming

* Invert Zoom Direction
   Inverts the vertical or horizontal mouse movement for dolly zoom
2009-11-28 04:43:15 +00:00
Matt Ebb
aa3ed47848 * New tool - Join as Shapes
Available in object mode (Object -> Join as Shapes), only works for meshes at 
the present. Will merge all selected objects as shape keys on the active object, 
if the vertex count is the same.

This does not keep references to the external objects like in some applications, 
rather it's a quick way to update the shapes on the active object (perhaps after 
importing new versions from external applications).
2009-11-28 04:04:01 +00:00
Joshua Leung
54c5859578 Durian Rigging Requests: (Armature Layers + Rotation Locking Tweaks)
* Increased the number of Armature and Bone Layers from 16 to 32. Please note that older versions of Blender may not correctly resolve the layers that bones are on when loading new files.

* Newly added objects are now made by default to allow locking of 4-component rotations using 4 separate locks (i.e. one by component) instead of requiring the obscure 'W' toggle (renamed '4L' now) to be enabled first. The objects in the default scene need modifying manually though.
2009-11-28 03:49:45 +00:00
Roland Hess
c6b4c2716a Head/Tail property was never added for Track To and Stretch To constraint types. Added to RNA and changed UI check. 2009-11-28 03:45:40 +00:00
Joshua Leung
afe4879991 Bugfix #20125: View 2D Zoom to Border was missing modal keymap
TODO: a better keymap for specifying zoom in or out mapped to LMB and RMB respectively for zoom to border is required. The current behaviour only allows zoom in...
2009-11-28 02:53:11 +00:00
Dalai Felinto
f3692d5e72 BPlayer fix (we were still using old scene.r instead of scene.gm here) and more stubs update from Mitchell Stokes (Moguri)
(+ a fix in a logic_window.c comment)
2009-11-28 01:26:14 +00:00
Martin Poirier
e96bd73513 Shaded view toggle key (Shift-Z) not needed anymore. 2009-11-27 21:15:01 +00:00
Thomas Dinges
22f49ffe71 * Small Cleanup. 2009-11-27 18:55:59 +00:00
Campbell Barton
c3884d9547 shoulder improvements, fixes for linking arm/palm/finger together 2009-11-27 17:07:50 +00:00
Martin Poirier
20a2100a36 Add missing snap properties to transform operator.
This is used to force snap on and off when needed.

Also, when transform is not run modal, it will use default values for PET and snap properties (False) instead of scene settings. No need to force them off when calling transform with Exec.
2009-11-27 16:15:34 +00:00
Campbell Barton
994776811f edge loop delete was using snap, making it not actually delete the edge loop 2009-11-27 15:15:03 +00:00
Martin Poirier
794685da79 CLICK missing from *other* event rna enum (how many of these do we need?!) 2009-11-27 14:58:13 +00:00
Campbell Barton
552134db45 new palm rig type + some refactoring to make names less confusing for the arm rig
linked text would not run
2009-11-27 13:24:04 +00:00
William Reynish
05079dd773 Re-commit of new icons. It seems like the icon update got overridden somehow. 2009-11-27 12:50:08 +00:00
Brecht Van Lommel
93b8098e0e Fix for bug #20039: panning and rotating view makes animation playback slow.
Recent click event changes moved variable up one level too far.

Also fixes use of timer event for fly operator, it should always check for
which timer it is, not really related to this bug.
2009-11-27 12:43:48 +00:00
Campbell Barton
5ca3d1919c fix for undo crashing when animating proxies that had ID props 2009-11-27 12:42:42 +00:00
Joshua Leung
65c4149f20 Fix for problems with region-flip operator not working from the RMB context menu.
I've had to add a special operator for this, since the generic region-flip operator doesn't seem to be getting the right region from RNA. This operator explicitly searches for an appropriate header region before beginning. I suspect by default, operators get the main region set as being context target...
2009-11-27 11:51:34 +00:00
Joshua Leung
692115356c Durian Request:
Renaming "Sync Audio" to "Realtime Playback" to make it clearer about its purpose. Internally, it's still called "sync_audio" since that's strictly what it represents, but that could be changed later if there is a need.
2009-11-27 11:19:13 +00:00
Joshua Leung
993da72d06 Added RMB-menu to Headers:
This contains two entries - one which calls the region flip operator, and one which calls the maxmize area operator. 

Unfortunately, there seem to be some context issues which are causing the wrong region to get activated for use by the region flipping, meaning that nothing happens.


Also, fixed own typo in 3d-view header/menu code...
2009-11-27 06:24:09 +00:00
Matt Ebb
15087ea783 fix for error in simpledeform modifier ui 2009-11-27 06:22:55 +00:00
Joshua Leung
54701e28fb Animation Playback - Return to original frame
Playback of animation will now be restored to the frame that playback started on when stopping if the SCREEN_OT_animation_cancel operator is used (i.e. ESCKEY). 

All other ways of stopping playback (pause button, alt-a) should act more like toggles, and do not reset the playhead.
2009-11-27 04:14:56 +00:00
Matt Ebb
2cb7a0b25c Fix for [#20080] Arrows Don't Scale (2.5 Alpha 0) 2009-11-27 00:45:01 +00:00
Matt Ebb
f3fbef04e9 Fix for [#20086] Mirror X, Z and Y crashes Blender 2.5 Alpha
Was wrong operator context

* Also added back 3d view locking options to view properties
2009-11-27 00:34:46 +00:00
Joshua Leung
d5267611f1 UV Editor: Added missing Snapping Operator keymaps (Shift-S) + menus (under UV's -> Snap) 2009-11-26 23:20:31 +00:00
Matt Ebb
af244d0403 Fix for rev. 24908 - committed the fix, but it was commented out. Forgot to uncomment it after doublecheck testing, hmm... 2009-11-26 21:56:31 +00:00
Benoit Bolsee
b6ea979690 MSVC project files: enable Blender Game renderer. 2009-11-26 20:44:55 +00:00
Martin Poirier
74715d00cc First changes to implement the 2.5 snapping proposal (discussed back in May and recently on IRC).
http://wiki.blender.org/index.php/User:Theeth/Snapping

The new widget isn't there yet, but the rest works, including:

Increment (gears) is now a snap mode

Ctrl click to toggle snap on or off (in transform and 3d view)
Shift+Ctrl click to select snap mode (3d view only)

Snap status (on/off) is persisted in tool settings, no need to always turn it back on when entering transform.

It's still possible to have something resembling the old system by editing the transform modal keymap to snap on on ctrl press and snap off on key release.
2009-11-26 19:47:55 +00:00
Martin Poirier
6ca1c913d3 Simplify mesh selection type operator and add missing header refresh notifier.
Also remove REGISTER flag from operator (no need to see this in operator history).
2009-11-26 19:32:33 +00:00
Martin Poirier
b658febb6a Missing from last commit:
New snap icons for Increment (gears)
2009-11-26 19:31:25 +00:00
Martin Poirier
deb942702d Preliminary RNA and DNA changes for further transform snap fixes.
Also make the mesh selection type enum available at runtime.
2009-11-26 19:29:57 +00:00
Campbell Barton
5457ab4fc3 fixed a crash when duplicating bones with ID-Props
remove duplicate code from armature_duplicate_selected_exec
2009-11-26 19:08:56 +00:00
Campbell Barton
9d026b30e7 more rna property renaming, axis_x --> use_x, rotationx --> use_rotation_x 2009-11-26 18:45:08 +00:00
Martin Poirier
7762aa8027 Click event detection ignores mouse move.
This makes it less tricky (don't have to hold the mouse extra still) but tweak events (like lasso) still  don't result in a click.
2009-11-26 18:36:24 +00:00
Campbell Barton
0a7b235199 rename rotate_like_x --> use_x, for copy loc/size/rot constraints.
including rotate in the property name isnt needed since its a copy rotation constraint.
2009-11-26 17:54:16 +00:00
Elia Sarti
3764c1ea26 Fixed typo 2009-11-26 17:20:02 +00:00
Campbell Barton
102f57ef26 fix for crash, Aligorith can you check if this is correct 2009-11-26 17:17:13 +00:00
Elia Sarti
a1b6b99a97 Fix warning. 2009-11-26 17:07:14 +00:00
Campbell Barton
383093957a Mathutils vec += vec wasnt running mathutls callbacks 2009-11-26 16:19:20 +00:00
Campbell Barton
c3937c93d5 minor changes made before commit broke this script 2009-11-26 16:05:32 +00:00
Campbell Barton
64f552356a ctrl 1-5 for changing subsurf levels 2009-11-26 15:36:23 +00:00
Campbell Barton
cd104206e7 allow accessing an array index from an rna button.
col.prop(ob, "location", index=1) # would edit the Y axis
2009-11-26 15:03:55 +00:00
Campbell Barton
68b100232b basic support for Sintels arm rig with property driven ik/fk switching and stretch bones to display connections, still need to do shoulder hinge and hand delta offset bones 2009-11-26 13:36:15 +00:00
Joshua Leung
0eb70a4ca9 Sequencer Drawing Code - Refactoring Part 1:
- Started cleaning up the sequencer drawing code by firstly decoupling the different draw modes from each other (i.e. timeline view doesn't call image view). 

- Also separated out a few distinct few phases in sequencer-timeline drawing into different functions instead of being lumped in the single one. Recoded part of this to make it less ugly too...

- Made markers get drawn again in the sequencer timeline view
2009-11-26 12:22:43 +00:00
Brecht Van Lommel
7828f822df Bugfix: pose bone was doing double translation in some cases,
due to my commit yesterday.
2009-11-26 11:38:28 +00:00
Joshua Leung
802cc77f71 Patch #20037: Use named components for Drivers instead of array_index
This patch, by Elia Sarti (vekoon), simply adds the possibility to specify the final array component of the RNA path in the path itself, 
e.g. using location[0] or location["x"] or even location.x,  
instead of specifying this using an "array_index"

This should be easier for users to understand the driver system. The array-indices have been kept (but hidden from the UI under standard situations) since they are theoretically a tad faster than the in-path lookups still, and are easier for internal-tools to set for now...
2009-11-26 11:13:10 +00:00
Joshua Leung
baac1f2267 Bugfix #20069: Centre to cursor or centre to mouse, centre object.
- Was missing notifier after editing
- Menu entries go bad naming after the UI api renaming
2009-11-26 10:19:09 +00:00
Campbell Barton
9712e3a670 fix for adding drivers to constraints via python.
the RNA constraint api was checking the current context when getting the constraint driver path and renaming constraints.
this made scripts not work properly so changed this to search for the constraint pose channel user within the object (if the object its self is not the user).
2009-11-26 09:48:53 +00:00
Benoit Bolsee
8d9fba6568 BGE: allow using dynamic loaded mesh in replaceMesh for soft body. This is a quick fix, it doesn't work yet on skinned mesh. 2009-11-26 09:40:37 +00:00
Matt Ebb
6e467285cf [#20051] x for removing a mesh from a group doesnt scale with ui 2009-11-26 06:32:43 +00:00
Matt Ebb
42e8eb36bd Fix for [#20042] There are remains of "Shaded" draw type in a panel
Removed references to shaded view now it's disabled
2009-11-26 06:25:25 +00:00