Joshua Leung
679da5eb50
Durian Graph Editor Request: Only show handles of selected keyframes
...
This option for the Graph Editor means that only the handles for selected keyframes get shown in the view, eliminating clutter.
Currently, the selection code isn't aware of this option, so clicking anywhere near where a handle might be may often trigger it to show up. This may/may not be desireable, but we'll see how Lee goes with this first :)
2009-11-30 11:37:27 +00:00
Campbell Barton
e1ba5517e6
better remove doubles for retopo, use 15th the of the average of both splines lengths (less scale dependant)
2009-11-30 11:18:46 +00:00
Joshua Leung
a2d757dc7d
Durian Requests for Graph Editor Visibility Toggles (2):
...
Improved the hotkeys for toggling the visibility of channels in the keys area for the Graph Editor.
* VKEY - this is now used for making only the selected channels visible, hiding everything else
* Shift-VKEY - the old toggling behaviour
In addition to this, I've made these toggling operators flush the visibility flags up/down the hierarchy, just like clicking on the channels manually do. There are still a few minor oddities to iron out, but it should be better than before.
Also, fixed a bug with these toggling operators introduced during my earlier commit to make filtering work ok. It's always tricky getting these layers of checks just right, so hopefully nothing breaks now again...
2009-11-30 11:10:03 +00:00
Campbell Barton
e526047061
retopo: use a smaller scale for faces that are modeled where 1.0==1m, will eventually try to use a method that doesnt depend on scale like this
...
grease pencil point.co wasnt a vector when it should be
2009-11-30 10:21:42 +00:00
Joshua Leung
7fd2a2da6f
* Grease Pencil drawing now works with Repeat Last operator. Stroke info is now saved when drawing strokes, but unfortunately, the post-draw settings tweaking doesn't work from the toolbar still (due to missing region context info)
...
* Added some update callbacks/flags for F-Curve properties, so changing the colour of an F-Curve updates in realtime.
2009-11-30 03:10:46 +00:00
Joshua Leung
caa11aae04
Assorted tweaks for subdivide operator ranges - soft/hard ranges were swapped.
2009-11-30 02:42:10 +00:00
Campbell Barton
9b0a3ee9ce
previous commit for retopo converted the strokes into a curve first, better to use the grease pencil data directly. renamed coordinates --> co, matching mesh verts
2009-11-30 02:34:49 +00:00
Joshua Leung
3f37f32e17
scons + gcc linking fix for bullet softbodies:
...
Upped the priority for the softbody module so that gcc linkers (mingw, linux-gcc) would be able to resolve the dependencies. MSVC still worked though.
2009-11-30 02:28:50 +00:00
Campbell Barton
dc1af66d8a
- grease pencil drawing on the surface of objects (only when enable face snap & projection, a bit hidden I know)
...
- retopo operator to convert grease pencil drawn topology into geometry, not in the convert menu yet since its not quite finished, use the operator search menu for retopo. will test this week and see what needs fixing.
2009-11-30 01:13:46 +00:00
Joshua Leung
3d1f297489
Added temporary compiling fix for MSVC after Campbell's rounding commit.
...
Copied (in if-defs - for msvc win32/64) the python math functions used for dealing with the lack of a 'round()' function.
2009-11-30 00:18:36 +00:00
Joshua Leung
a96f6f2e15
* Moved rotation initialisation code for new objects to 'the other' add object function that campbell fixed earlier. This should mean that the py-api does everything in the right way now.
...
* Tried adding 'Load Factory Settings' to File menu, but I seem to be running up against some RNA bugs. Can be removed if is too problematic.
2009-11-29 23:54:41 +00:00
Campbell Barton
2bef608fb3
- new objects added from the rna api defaulted to quat rotation, not even using an identity quat.
...
- making meshes in python isnt nice at the moment, added a helper function.
mesh.from_pydata(verts, edges, faces)
2009-11-29 23:14:41 +00:00
Campbell Barton
d98093a91a
- added a new math function double_round, useful for rounding a number to a number of decimal places.
...
- added Mathutils vector method, vec.asTuple(round), since this is tedious in python and fairly common task.
2009-11-29 22:42:33 +00:00
Martin Poirier
cd154da973
1. Extend option for 3d view border select now does something (default True to keep same behavior)
...
2. Add action parameter to Select_All_Toggle operators, rename to Select_All.
Options are Toggle (default), Select, Deselect, Invert (same as select swap). This makes it possible to map separate hotkeys for select all and deselect all.
NOTE for Aligorith: I didn't change animation operators for select_all which already had an Invert operator. These should be fixed eventually.
2009-11-29 22:16:29 +00:00
Arystanbek Dyussenov
92b4316708
Merge from COLLADA branch into trunk of -c 24572 (cmake and scons for OpenCollada @ 675, Linux) and 25001 (bone animation import). See corresponding log entries for more detail.
2009-11-29 19:16:52 +00:00
Martin Poirier
edf32a6fb0
Gimbal orientation defaults to Normal instead of Global when bone or object is not using euler orientation (Normal is bone axis for pose and Local axis for object, so this is more useful than defaulting to Global).
2009-11-29 18:20:26 +00:00
Peter Schlaile
a22cfe99db
== Sequencer ==
...
Brought back default effect fading: (adding a wipe effect makes it
wipe by default for the length of the strip)
First round in upgrading IPOs from older versions. (works for non-IPO
case now and sets at least the new "default effect fade"-flag)
Still non-working for old IPOs, since Sequence-Strips aren't real IDs!
And: non-frame-lock case should stretch the FCurve to the right length!
2009-11-29 18:14:16 +00:00
Martin Poirier
ae16f46573
Fix CLICK event for modal operators.
...
modal operators should return RUNNING_MODAL|PASSTHROUGH for unhandled events to be able to receive clicks correctly (this needs to be fixed for other modal operators).
Maybe it's time to have "handled" flag in event instead.
2009-11-29 16:49:26 +00:00
Campbell Barton
3b72584b7d
- access to a nurbs points was broken - sizeof(BPoint) vs sizeof(BPoint *)
...
- renamed CurvePoint --> SplinePoint
- renamed point.point --> point.co (less stupid, matches vertex.co)
- access point.co was a 3D vector rather then a 4D vector with the Nurbs weight included.
- rename point.weight --> point.weight_softbody, move point.point[3] --> point.weight
- sorted RNA structs (for pedaticness only)
2009-11-29 16:42:51 +00:00
Nicholas Bishop
e08b6b8376
UI:
...
* Removed hardcoded shortcut keys in 3dview header tooltips
* Removed an unused function
2009-11-29 06:10:26 +00:00
Nicholas Bishop
46e1abeda7
UI:
...
* Finished fixing the layer UI template. It's now used in the 3dview header rather than the custom layer grid.
2009-11-29 06:04:39 +00:00
Joshua Leung
7c21fa3b72
Armature Bugfixes:
...
* Bugfix #20136 : unclear tool tip for inherit rotation toggle
* Bugfix for Apply Pose as Restpose (Ctrl A in Pose Mode): missing call to free edit-data was causing drawing code to only draw editbones until editmode was entered + toggled
* Added missing notifier for deleting F-Modifiers, so deleting F-Modifiers now updates the view correctly afterwards
2009-11-29 05:56:39 +00:00
Joshua Leung
625a360b4b
Animation Editor (mostly Graph Editor) bugfixes:
...
* Durian Report / Own Todo: Action Groups with no F-Curves in them visible were still shown in the animation editors. After several failed attempts in the past, finally got this working by making a little shuffling + a simpler solution.
* Bugfix #20134 : Graph Editor Keys -> Transform Menu was using the wrong operators. C+P error from copying menus over from Dopesheet
* Muting Action Groups didn't draw all F-Curves contained in group as being muted too.
2009-11-29 04:52:01 +00:00
Nicholas Bishop
65edb6e55f
UI:
...
* Moved more of 3dview header to python
* Fixed the layout of the ui layers template to show the correct number of buttons
* Added support for layer icons (active layer, used layers)
2009-11-29 02:42:47 +00:00
Joshua Leung
16efe1ac46
UI Scripts Bugfixes:
...
* Toolbar shows "Loopcut and Slide" instead of "Loopcut" now
* Follow Path "Offset" option was broken by one of the "use_*" prefix commits
2009-11-29 02:14:34 +00:00
Campbell Barton
36cbf42e5d
Draw function for operators (just like panels), used for the redo popup, file selector and redo tool panel.
...
Used for ply export & select pattern.
2009-11-29 01:49:22 +00:00
Campbell Barton
03c897da1b
[ #20103 ] Shortcut (Ctrl Space) not working for to show 3d transform manipulator
2009-11-29 00:13:34 +00:00
Campbell Barton
8b897879cd
pep8 cleanup in ui and op dirs, added popup to select pattern
2009-11-28 23:37:56 +00:00
Campbell Barton
98a7a11e55
bugfix [ #20091 ] Crash when starting render on meta-edit mode
...
note: EM_DO_UNDO wasnt used because EM_FREEDATA wasnt set
2009-11-28 22:45:47 +00:00
Nicholas Bishop
2b9cdd5ebd
UI:
...
* Started moving buttons out of the C 3dview header template and into the python UI script
2009-11-28 22:35:56 +00:00
Nicholas Bishop
c6edbe5f2b
UI:
...
* Removed most of the manual positioning from the 3dview header
2009-11-28 21:52:37 +00:00
Campbell Barton
9e6d1705a4
bugfix [ #20050 ] Hex color value fields capped to 2 characters on first paste.
...
also use memmove rather then a loop for deleting the selected text
2009-11-28 21:45:34 +00:00
Nicholas Bishop
ac4cf783a2
UI/RNA:
...
* Added icon to paint mask RNA
* Added v3d->scenelock RNA
* Moved more of the 3dview header to use uiItems
2009-11-28 21:27:28 +00:00
Campbell Barton
2e61294cbc
simple fixes
...
[#20123 ] "Import" menu entry becomes empty
[#20141 ] In Object menu Make Links appears twice - SVN 24970
also moved OBJs name cleaning func to bpy.utils.clean_name(name, replace="_")
2009-11-28 20:50:31 +00:00
Campbell Barton
c7f1ec7c3a
bugfix [ #20143 ] .obj import fails
2009-11-28 20:26:22 +00:00
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