Commit Graph

20929 Commits

Author SHA1 Message Date
Nicholas Bishop
267c8de581 UI/RNA:
* Removed retopo paint code from view3d header
* Added icons to 3dview pivot RNA
* Small warning fix
2009-11-28 20:02:10 +00:00
Nicholas Bishop
55c00c53bc UI/RNA:
* Added icons to proportional edit RNA
* Converted proportional edit and snap buttons in 3dview header to uiItems
2009-11-28 19:38:05 +00:00
Campbell Barton
b52c154f34 - color updating is not working when changing userpefs, added some commented out lines that works when the view in the same window as the userprefs, probably needs a new notifier.
- fix for warning
2009-11-28 19:32:23 +00:00
Nicholas Bishop
96900e793c RNA:
* Added ND_DRAW flag to particle selection mode update
2009-11-28 18:37:56 +00:00
Nicholas Bishop
da442c1d43 UI/RNA:
* Set default particleedit selection mode in add scene (TODO: not yet changed in the default blend)
* Corrected names for particleedit selection mode in RNA, added icons
* Added occlude geometry flag to view3d RNA
* Converted particleedit buttons to uiItems in view3d header
2009-11-28 18:19:34 +00:00
Damien Plisson
baa4a9c7d4 CMake/OSX: remove gcc arguments conflicts raising warnings when building in release mode
Quicktime/Qtkit linkflags fix for i386 platform
2009-11-28 18:19:22 +00:00
Damien Plisson
201f789cee qtkit : improve thread safety, enforce build on OSX 10.5+
qtkit movie creation functions can be started in a worker thread only from OSX 10.5
2009-11-28 18:16:27 +00:00
Thomas Dinges
b3784c4751 * Restored the "Solid OpenGL lamps" Buttons in user Preferences. 2009-11-28 18:08:17 +00:00
Campbell Barton
cd574f32e6 experemental UI introspection added for mindrones,
in python this gives a map of the ui...
 ui_dict = eval(layout.introspect())
2009-11-28 17:45:23 +00:00
Nicholas Bishop
4780f89370 UI:
* Convert pose buttons in the 3dview header to uiItems. Fixes the spacing between pose buttons and opengl render buttons.
2009-11-28 17:30:56 +00:00
Benoit Bolsee
1c4150f211 BGE: ray casting works on soft body, the hit polygon is also returned. The modifications to Bullet have been reported to Bullet forum. Note: welding is completely disabled on soft body as it breaks the relationship between the soft body collision shape and the graphics mesh without bringing any additional stability (the reverse actually). 2009-11-28 17:30:34 +00:00
Nicholas Bishop
38ba32a423 UI:
* Added icons for the 3d manipulator RNA
* Fixed the snap RNA icon (was off by one)
2009-11-28 17:20:42 +00:00
Campbell Barton
5814a39aed lasso select for editbones missing flush select call 2009-11-28 15:11:10 +00:00
Campbell Barton
510c0facdf operator renaming for more consistent word ordering (_add/_remmove shold be last, ACT_OT_* --> ACTION_OT_*)
ACT_OT_clean --> ACTION_OT_clean
ACT_OT_clickselect --> ACTION_OT_clickselect
ACT_OT_copy --> ACTION_OT_copy
ACT_OT_delete --> ACTION_OT_delete
ACT_OT_duplicate --> ACTION_OT_duplicate
ACT_OT_extrapolation_type --> ACTION_OT_extrapolation_type
ACT_OT_frame_jump --> ACTION_OT_frame_jump
ACT_OT_handle_type --> ACTION_OT_handle_type
ACT_OT_insert_keyframe --> ACTION_OT_insert_keyframe
ACT_OT_insert_keyframe --> ACT_OT_keyframe_insert
ACT_OT_interpolation_type --> ACTION_OT_interpolation_type
ACT_OT_keyframe_type --> ACTION_OT_keyframe_type
ACT_OT_mirror --> ACTION_OT_mirror
ACT_OT_new --> ACTION_OT_new
ACT_OT_paste --> ACTION_OT_paste
ACT_OT_previewrange_set --> ACTION_OT_previewrange_set
ACT_OT_properties --> ACTION_OT_properties
ACT_OT_sample --> ACTION_OT_sample
ACT_OT_select_all_toggle --> ACTION_OT_select_all_toggle
ACT_OT_select_border --> ACTION_OT_select_border
ACT_OT_select_column --> ACTION_OT_select_column
ACT_OT_snap --> ACTION_OT_snap
ACT_OT_test --> ACTION_OT_test
ACT_OT_unlink --> ACTION_OT_unlink
ACT_OT_view_all --> ACTION_OT_view_all
ANIM_OT_add_driver_button --> ANIM_OT_driver_button_add
ANIM_OT_add_keyingset_button --> ANIM_OT_keyingset_button_add
ANIM_OT_delete_keyframe --> ANIM_OT_keyframe_delete
ANIM_OT_delete_keyframe_button --> ANIM_OT_keyframe_delete_button
ANIM_OT_delete_keyframe_v3d --> ANIM_OT_keyframe_delete_v3d
ANIM_OT_insert_keyframe --> ANIM_OT_keyframe_insert
ANIM_OT_insert_keyframe_button --> ANIM_OT_keyframe_insert_button
ANIM_OT_insert_keyframe_menu --> ANIM_OT_keyframe_insert_menu
ANIM_OT_remove_driver_button --> ANIM_OT_driver_button_remove
ANIM_OT_remove_keyingset_button --> ANIM_OT_keyingset_button_remove
FILE_OT_add_bookmark --> FILE_OT_bookmark_add
GRAPH_OT_insert_keyframe --> GRAPH_OT_keyframe_insert
NLA_OT_add_actionclip --> NLA_OT_actionclip_add
NLA_OT_add_meta --> NLA_OT_meta_add
NLA_OT_add_tracks --> NLA_OT_tracks_add
NLA_OT_add_transition --> NLA_OT_transition_add
NLA_OT_remove_meta --> NLA_OT_meta_remove
PARTICLE_OT_remove_target --> PARTICLE_OT_target_remove
PTCACHE_OT_add_new --> PTCACHE_OT_add
2009-11-28 14:37:21 +00:00
William Reynish
ac0039bfdb slight reorganization of 3D view UI region. 2009-11-28 13:39:35 +00:00
Campbell Barton
a2b370dd6f py/rna api
- object.modifiers.add()/remove()
- armature.edit_bones.active wasnt named correctly
2009-11-28 13:33:56 +00:00
Brecht Van Lommel
c4933cccfa Mesh Deform Modifier
* Now support a Surface mode next to the existing Volume mode. This binds
  the mesh to the cage mesh surface rather than it's volume.
* Implemented reusing the bone heat weighting code.
* Advantage is that it works for cage meshes that are not volumes and that
  binding is much faster.
* Weak point is that disconnected components of a mesh are not guaranteed
  to stick together (same problem exists with bone heat weighting).
* Bind weights could still be compressed better to use less memory.

Example file:
http://download.blender.org/ftp/incoming/cloth_mdef_surface.blend
2009-11-28 13:33:17 +00:00
Brecht Van Lommel
b83751d8c2 Math Lib: merging over some changes from the sculpt branch:
* swap v2/v3
* multiply-and-add (madd) v3
* inline v3 short/float conversion
* mul_v3_m3v3
2009-11-28 13:11:41 +00:00
William Reynish
9094f2072e Rename 'Object Center' to 'Centroid'. This makes the Center/Center Cursor etc popup menu much easier to understand. 2009-11-28 11:34:04 +00:00
William Reynish
b4aceb0e40 Fixed some more names after the Python UI API changes 2009-11-28 11:32:09 +00:00
Joshua Leung
bc43e47c2b Bugfix #20127: Crash in dope sheet when opening regression file
Was using wrong pointer to action/keyframe data for shapekey expander channels causing crash
2009-11-28 04:51:15 +00:00
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