Matt Ebb [Fri, 4 Dec 2009 04:41:32 +0000 (04:41 +0000)]
Fix for [#19921] pressing NumpadDot on isolated mode centers the 3D cursor
Matt Ebb [Fri, 4 Dec 2009 04:28:50 +0000 (04:28 +0000)]
* Fix for incorrect disabling after baking cloth sim
* Fix for time cursor getting 'stuck' after baking point caches
Joshua Leung [Fri, 4 Dec 2009 03:51:52 +0000 (03:51 +0000)]
Bugfixes: Deleting Keyframes + F-Curves
This commit fixes #19908 and #20239. Deleting keyframes will now delete the F-Curves they came from too, if the F-Curves don't have any more keyframes and/or F-Modifiers providing any further motion info.
Campbell Barton [Fri, 4 Dec 2009 02:32:34 +0000 (02:32 +0000)]
rna function
editbone.align(vector), to align the bones z axis to a localspace direction.
finished leg rig pose mode data
Matt Ebb [Fri, 4 Dec 2009 01:38:36 +0000 (01:38 +0000)]
Fix for [#19884] Curve resolution slider not affecting anything
Martin Poirier [Fri, 4 Dec 2009 01:28:00 +0000 (01:28 +0000)]
Fix for cache path.
Operator for background baking (no support in netrender itself yet).
Martin Poirier [Fri, 4 Dec 2009 01:26:42 +0000 (01:26 +0000)]
Print baking progress to console when window is not available.
Martin Poirier [Fri, 4 Dec 2009 01:25:43 +0000 (01:25 +0000)]
Cleaning: update a couple of functions to use scene from context instead of from screen.
Matt Ebb [Fri, 4 Dec 2009 01:21:55 +0000 (01:21 +0000)]
Partial fix for [#19874]
can use RMB to cancel joining areas, same as splitting
Matt Ebb [Fri, 4 Dec 2009 00:54:40 +0000 (00:54 +0000)]
Fix for [#20229] Booleans crash on edge case.
Matt Ebb [Fri, 4 Dec 2009 00:49:02 +0000 (00:49 +0000)]
Fix for [#19478] Shortkeys for switch to Quad view mode is not working
changed default quad view shortcut to Ctrl Alt Q
Martin Poirier [Thu, 3 Dec 2009 22:48:00 +0000 (22:48 +0000)]
Only set baking progress function to cursor when a window is present.
This enables baking in background mode (instead of just crashing).
Campbell Barton [Thu, 3 Dec 2009 22:44:11 +0000 (22:44 +0000)]
leg rig type & metarig example, still need to add IK's
fixed some small bugs too.
Martin Poirier [Thu, 3 Dec 2009 21:56:04 +0000 (21:56 +0000)]
Finish renaming job in Set Center operator to use Origin instead of Center.
Also replace ObData by Geometry and Object Geometry after talk with Matt.
Campbell Barton [Thu, 3 Dec 2009 21:53:01 +0000 (21:53 +0000)]
- property decorators for setting attributes didnt work, hack to prevent every instance of an BPyStructRNA to have its own dictionary, set the tp_dictoffset to 0. attempted to use __slots__ but this doesnt work for some reason.
- made bone.length writable
Matt Ebb [Thu, 3 Dec 2009 21:49:29 +0000 (21:49 +0000)]
Fix for [#20240] Image inputs to the compositor are white when using color management
was missing include
Martin Poirier [Thu, 3 Dec 2009 19:18:00 +0000 (19:18 +0000)]
Make toggle and hold snap method cohabit nicely.
Shift-Tab toggles the global toolsetting snap settings (both in and out of transform).
Holding down Ctrl inverts the snap setting in transform (turns it on when global snap is off and vice versa).
Ctrl-Shift-Tab to select snap mode (only outside of transform for now).
For old (pre 2.5) behavior, just keep global snap off and use Ctrl.
NOTE: transform modal events for snap have change a bit, saved keymap might not work anymore.
William Reynish [Thu, 3 Dec 2009 16:28:50 +0000 (16:28 +0000)]
Added Toggle Full Screen and Duplicate Area to the menus of all the main spaces in Blender
Campbell Barton [Thu, 3 Dec 2009 14:20:35 +0000 (14:20 +0000)]
- curve geometry curve panel wasnt displaying with no active spline
- graph export didnt work for constraints with no subtarget
- utility functions for duplicating a set of bones and blending between 2 sets
Damien Plisson [Thu, 3 Dec 2009 12:16:00 +0000 (12:16 +0000)]
Quicktime Carbon: Fix memory leak when build with cocoa
Joshua Leung [Thu, 3 Dec 2009 10:27:22 +0000 (10:27 +0000)]
Bugfix: Toggle animation channel visibility (shift-v) was not flushing the new values correctly
- Modifying groups did not flush status to channels below
- Objects were always toggled. Still need to figure out why this didn't work right...
Joshua Leung [Thu, 3 Dec 2009 10:23:38 +0000 (10:23 +0000)]
Fix for one of the issues in #20230: Comp Nodes animations not saving to .blend
AnimData was not getting written to files for Node Trees.
Joshua Leung [Thu, 3 Dec 2009 10:18:47 +0000 (10:18 +0000)]
Bugfix #20190: Scaling Bone Joints in envelope drawmode
Made scaling selected joints using SKEY work in the same way as in 2.4x
However, it'd probably be nice to be able to have separate hotkeys for this at a later stage.
Damien Plisson [Thu, 3 Dec 2009 09:59:52 +0000 (09:59 +0000)]
QTkit : update build checks to allow only 10.5+/64bit builds
Other SDK versions do not handle correctly QTKit movie creation in a background thread.
Carbon quicktime should be used for the 32bit builds (USE_QTKIT = 0)
Joshua Leung [Thu, 3 Dec 2009 09:56:31 +0000 (09:56 +0000)]
Bugfix #20219: Timeline navigation
Added missing "View All" (HomeKey) operator for TimeLine
Matt Ebb [Thu, 3 Dec 2009 09:51:02 +0000 (09:51 +0000)]
Fix for color management not working with AVI output, patch by Damien Plisson, thanks!
Matt Ebb [Thu, 3 Dec 2009 09:49:21 +0000 (09:49 +0000)]
Fix for [#20226] 3DView header: hiding menu texts and layer button's issue.
Also: big purge of old 3d view header menus and old unused code
Matt Ebb [Thu, 3 Dec 2009 00:42:02 +0000 (00:42 +0000)]
Fix for [#20168] Particle velocity display toggle issue
Thanks Alan Taylor for the initial patch
Matt Ebb [Thu, 3 Dec 2009 00:17:34 +0000 (00:17 +0000)]
Fix for [#20180] Wrong multiplicator in Random Selection
Also:
Added extend select option to select random (off by default)
Tweaked 'Select Axis' to use an enum for axes
Matt Ebb [Wed, 2 Dec 2009 23:14:58 +0000 (23:14 +0000)]
Fix for [#20154] Shaded draw mode needs to be removed when loading files
Janne Karhu [Wed, 2 Dec 2009 20:53:28 +0000 (20:53 +0000)]
Bug fix: Verlet integration didn't work properly with moving particle emitters.
Thanks for mcreamsurfer for reporting and Farsthary for the patch!
Martin Poirier [Wed, 2 Dec 2009 19:59:57 +0000 (19:59 +0000)]
[#20213] Align to Transform Orientation crashes Blender
Align needs to be call with region context.
Also added checks to prevent this from crashing if not called properly.
Martin Poirier [Wed, 2 Dec 2009 19:32:21 +0000 (19:32 +0000)]
Menu handlers need to return OUT when clicking outside, not OK
Caused crashes with window type selector and a slew of other unwanted behaviors.
Campbell Barton [Wed, 2 Dec 2009 19:13:54 +0000 (19:13 +0000)]
change bone storage class so __slots__ can be used for looping over attributes without getting functions
Thomas Dinges [Wed, 2 Dec 2009 18:35:44 +0000 (18:35 +0000)]
Fixed a part of [#20197] dof node bugs.
* False greying out.
Damien Plisson [Wed, 2 Dec 2009 18:06:39 +0000 (18:06 +0000)]
Mac: Following 10.4 ppc libs availability, update cmake & scons default settings
Campbell Barton [Wed, 2 Dec 2009 16:11:10 +0000 (16:11 +0000)]
multiple script paths broke text template menu
Campbell Barton [Wed, 2 Dec 2009 15:37:07 +0000 (15:37 +0000)]
- bpy.data.add_armature()
- rigify testnig function, creates all example metarigs, processes and generates graphs for before and after.
Damien Plisson [Wed, 2 Dec 2009 15:02:29 +0000 (15:02 +0000)]
Cocoa: suppress unwanted beep when pressing Cmd + key on 10.4
Damien Plisson [Wed, 2 Dec 2009 14:39:49 +0000 (14:39 +0000)]
Quicktime(Carbon/win32) : add operator to raise the "compression settings" quicktime standard dialog
Brecht Van Lommel [Wed, 2 Dec 2009 13:21:22 +0000 (13:21 +0000)]
UI: remove unnecessary colon on toggle array buttons.
Damien Plisson [Wed, 2 Dec 2009 13:05:31 +0000 (13:05 +0000)]
Cocoa: remove errors for all supported SDK/CPU configs
Campbell Barton [Wed, 2 Dec 2009 11:55:47 +0000 (11:55 +0000)]
- include example input rigs for each autorig type, running metarig_template() in each submodule generates the armature and pose bone ID properties.
- rigify.write_meta_rig() exports rigs as python scripts
Brecht Van Lommel [Wed, 2 Dec 2009 11:54:48 +0000 (11:54 +0000)]
AAO Indirect Diffuse
Don't use passes anymore for indirect lighting, people were using this
probably thinking it would do bounces, but that's not the intention of
this feature, it is to reduce problems with light bleeding. I want to
remove this option for AO as well, but will leave it in for now until
there is a better alternative.
Added bounces option for indirect, could be implemented much better,
but perhaps useful for testing now. Existing files need to set this to
1 to get the same results again.
Damien Plisson [Wed, 2 Dec 2009 11:23:11 +0000 (11:23 +0000)]
Quicktime : make dna codecType data store the quicktime codecType value instead of a proxy value
Quicktime codecType data is a 32 bit value (4 chars coded).
Implemented RNA set/get functions for codecType enum to cope with RNA enum values 24bit precision limitation
Implemented dynamic codecType enum list creation
Carbon quicktime now stores codec settings in "clear" in the QuicktimeCodecSettings dna struct (in addition to the closed atom container in QuicktimeCodecData) to be compatible with the QTKit version
+fixed some warnings
Campbell Barton [Wed, 2 Dec 2009 10:32:39 +0000 (10:32 +0000)]
rename armature RNA props
armature_matrix --> matrix_local
armature_head --> head_local
armature_tail --> tail_local
Damien Plisson [Wed, 2 Dec 2009 10:21:10 +0000 (10:21 +0000)]
CMake: remove new GHOST_DropTargetWin32.cpp file from non-win32 platforms builds
Damien Plisson [Wed, 2 Dec 2009 10:10:20 +0000 (10:10 +0000)]
Cocoa: fix delaying issue for events that were fired outside the processEvents function
An example of a visible issue was a delayed wm resize when switching to/from fullscreen mode
Matt Ebb [Wed, 2 Dec 2009 07:56:34 +0000 (07:56 +0000)]
Changes to Color Management
After testing and feedback, I've decided to slightly modify the way color
management works internally. While the previous method worked well for
rendering, was a smaller transition and had some advantages over this
new method, it was a bit more ambiguous, and was making things difficult
for other areas such as compositing.
This implementation now considers all color data (with only a couple of
exceptions such as brush colors) to be stored in linear RGB color space,
rather than sRGB as previously. This brings it in line with Nuke, which also
operates this way, quite successfully. Color swatches, pickers, color ramp
display are now gamma corrected to display gamma so you can see what
you're doing, but the numbers themselves are considered linear. This
makes understanding blending modes more clear (a 0.5 value on overlay
will not change the result now) as well as making color swatches act more
predictably in the compositor, however bringing over color values from
applications like photoshop or gimp, that operate in a gamma space,
will give identical results.
This commit will convert over existing files saved by earlier 2.5 versions to
work generally the same, though there may be some slight differences with
things like textures. Now that we're set on changing other areas of shading,
this won't be too disruptive overall.
I've made a diagram explaining the pipeline here:
http://mke3.net/blender/devel/2.5/25_linear_workflow_pipeline.png
and some docs here:
http://www.blender.org/development/release-logs/blender-250/color-management/
Martin Poirier [Wed, 2 Dec 2009 04:12:16 +0000 (04:12 +0000)]
Reset operator properties for keymap items when operator idname is changed.
This means added operators in the keymap editor will now show options correctly (maybe not for old .B25.blend)
Martin Poirier [Wed, 2 Dec 2009 04:07:40 +0000 (04:07 +0000)]
Restore new snap align icon that was lost in previous changes.
Campbell Barton [Wed, 2 Dec 2009 02:56:22 +0000 (02:56 +0000)]
- finished spine rig generator, (drivers, constraints)
- bug with args passed for class slots being modified in place.
- sort graphviz bones & drivers (useful for diffing 2 armatures)
Martin Poirier [Wed, 2 Dec 2009 01:38:54 +0000 (01:38 +0000)]
remove icon_only option for snap target option in header to make the button wider. Now it's a bit too wide, but at least it can be read.
Guillermo S. Romero [Wed, 2 Dec 2009 01:23:29 +0000 (01:23 +0000)]
SVN maintenance.
Nathan Letwory [Wed, 2 Dec 2009 01:12:22 +0000 (01:12 +0000)]
* make sure we don't choke on what we don't have :°
Nathan Letwory [Wed, 2 Dec 2009 01:05:37 +0000 (01:05 +0000)]
* make sure drop target files are filtered too.
Nathan Letwory [Wed, 2 Dec 2009 00:57:12 +0000 (00:57 +0000)]
Apply patch [#20145] Ghost Win32 roundup patch: Minimum Window Size, Continuous Grab and Drag And Drop
This nice patch by Matt D. (matd in #blendercoders) adds three nice features that can be seen already in the other supported OSes:
* minimum window size: to prevent some bugs with the window manager of Blender, system windows cannot be resized smaller than the minimum size.
* Continuous Grab is finally in Windows! Default settings since alpha 0 already have the feature enabled by default, so grab a new build and enjoy :)
* GHOST support for drag and drop added. This prepares Blender for drag and drop from OS -> Blender. Currently not very useful, since wm needs to be readied for that. But it does work (do BF_GHOST_DEBUG=1 build and drag a file onto a Blender window).
Thanks Matt D.!
Martin Poirier [Wed, 2 Dec 2009 00:53:33 +0000 (00:53 +0000)]
Bugfix: crash when no active object
Misc fixes.
Matt Ebb [Tue, 1 Dec 2009 23:55:33 +0000 (23:55 +0000)]
* Fix for earlier fix, only check for basis metaball if the object's actually a metaball
Campbell Barton [Tue, 1 Dec 2009 22:45:56 +0000 (22:45 +0000)]
- rig spine type WIP, editmode done, still needs pose constraints and drivers.
- bone.translate(vec) utility function
Andrea Weikert [Tue, 1 Dec 2009 20:37:26 +0000 (20:37 +0000)]
fix for [#19990] file browser crash
needed to fix jpg error handling to not return control to the library from jpg_error used as error exit. Needed to add structured exception handling (setjmp/longjmp) - not very nice but needed in this case. (Also recommended in example.c from libjpg and used in gimp ;) )
Campbell Barton [Tue, 1 Dec 2009 19:43:09 +0000 (19:43 +0000)]
circle select modal operator wasnt returning FINISHED so it wasnt getting an undo push
Martin Poirier [Tue, 1 Dec 2009 18:26:18 +0000 (18:26 +0000)]
Additive snap for Transform. Easy snapping between two vertices, in the middle of three faces, ...
A to add the current snapping point to the list
Alt-A to remove the last one
The resulting snapping point is the average of all snap points in the list (and the one under the mouse pointer, if valid).
Snapping between two verts is a matter of moving over the first, pressing A, moving over the other, confirming transform.
Damien Plisson [Tue, 1 Dec 2009 15:46:37 +0000 (15:46 +0000)]
Cocoa: proper implementation of the modifiers key wrong value when application becomes active again
Note: this works fine when running under 10.6, even if compiled with an older sdk
Under 10.4/10.5, workaround remains to assume no modifier key is pressed when the user restores the focus to the application
Campbell Barton [Tue, 1 Dec 2009 14:48:36 +0000 (14:48 +0000)]
select pattern for bones
Campbell Barton [Tue, 1 Dec 2009 12:43:06 +0000 (12:43 +0000)]
more small fixes
Campbell Barton [Tue, 1 Dec 2009 12:25:59 +0000 (12:25 +0000)]
small fixes, also option for fake parent so hierarchy is always from the parent down
Campbell Barton [Tue, 1 Dec 2009 12:02:23 +0000 (12:02 +0000)]
export an armature to graphviz showing hierarchy, constraint and driver relationships, useful for understanding other peoples complicated rigs.
can be extended for 2.4x oops like graph too/
Example of Cessens spine rig
http://www.pasteall.org/pic/show.php?id=378
Damien Plisson [Tue, 1 Dec 2009 11:19:18 +0000 (11:19 +0000)]
Mac scons config: enable cross-compile, set 10.4 as default for ppc (using darwin-8.0.0-powerpc libs), set opencollada not to be built by default
Damien Plisson [Tue, 1 Dec 2009 10:25:21 +0000 (10:25 +0000)]
Eigen: fix 10.5 ppc compile error
Damien Plisson [Tue, 1 Dec 2009 10:23:27 +0000 (10:23 +0000)]
Cocoa: implement Cmd+W to close window, workaround for wrong modifiers key status upon focus retrieval
The carbon GetModifierFlag function (to get the current modifier keys status) is reimplemented in cocoa only from 10.6.
So we need to use a workaround to get the correct modifiers when blender application gets focus back. Current one is to assume no modifiers.
This at least fixes the issue when blender has been hidden using Cmd+H. The Cmd modifier was still seen as ON until the user pressed again on it.
Campbell Barton [Tue, 1 Dec 2009 00:44:53 +0000 (00:44 +0000)]
added autorig neck type
new bone properties
- bone.basename (name without the extension), "Some.Bone.001" --> "Some.Bone"
- bone.children_recursive_basename, gives a chain of children that have the same basename
Campbell Barton [Mon, 30 Nov 2009 22:32:04 +0000 (22:32 +0000)]
User Script support added back.
- the scripts path set in the user preferences or ~/.blender/scripts/ui (io, op, io etc..) will be used to load scripts.
- the default home dir part probably only works in *nix os's
- Added a missing sync callback to vector.toTuple()
Martin Poirier [Mon, 30 Nov 2009 20:20:00 +0000 (20:20 +0000)]
Transform Modal Map:
Adding events for X/Y/Z axis and planar constraints (always use the user orientation, not global first) and for turning constraints off.
Built-in keys (toggle between global, user and off) are not in the map but can be overridden (any events handled by the modal keymap will not enter the built-in map).
Martin Poirier [Mon, 30 Nov 2009 19:43:59 +0000 (19:43 +0000)]
Bugfix: PET circle not drawn correctly in edit mode.
Campbell Barton [Mon, 30 Nov 2009 19:24:13 +0000 (19:24 +0000)]
surfaces were displaying the Geometry panel that only curves need
Brecht Van Lommel [Mon, 30 Nov 2009 18:42:13 +0000 (18:42 +0000)]
Approximate AO: Diffuse Bounce Hack
This brings back the single bounce indirect diffuse lighting for AAO,
it's not integrated well but that will be tackled later as part of
shading system refactor and subdivision changes. The caveats are the
same as AAO, with one extra thing, the diffuse lighting is sampled once
per face, so it will not be accurate unless faces are subdivided.
I'm committing this now so we can start testing it for Durian, and
since changes need to make it work properly are planned.
Thomas Dinges [Mon, 30 Nov 2009 18:26:53 +0000 (18:26 +0000)]
Cleanup:
* Deleted "Add" Prefix for mesh.duplicate_move in Toolbar.
* Renamed "duplicate_ipo" property to "duplicate_fcurve"
Thomas Dinges [Mon, 30 Nov 2009 18:06:45 +0000 (18:06 +0000)]
* Disabled "Shaded View" again, not working in 2.5 (yet).
William Reynish [Mon, 30 Nov 2009 14:40:45 +0000 (14:40 +0000)]
Rename Centroid to Origin, following discussions on mailing list.
Campbell Barton [Mon, 30 Nov 2009 14:10:46 +0000 (14:10 +0000)]
better not process events early, could cause troubles later.
added a function - wm_window_get_size_ghost(), which looks into the ghost window directly so events dont need processing first.
Campbell Barton [Mon, 30 Nov 2009 13:58:27 +0000 (13:58 +0000)]
bugfix [#20083] Wrong position of splash screen on dualhead
Campbell Barton [Mon, 30 Nov 2009 12:50:22 +0000 (12:50 +0000)]
curve select toggle was broken from recent select operator update
Campbell Barton [Mon, 30 Nov 2009 12:31:11 +0000 (12:31 +0000)]
convert rigify into a package. advantage is new types can be added into the package without modifying any existing files, the bone 'type' property will find the matching submodule
Joshua Leung [Mon, 30 Nov 2009 11:37:27 +0000 (11:37 +0000)]
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 :)
Campbell Barton [Mon, 30 Nov 2009 11:18:46 +0000 (11:18 +0000)]
better remove doubles for retopo, use 15th the of the average of both splines lengths (less scale dependant)
Joshua Leung [Mon, 30 Nov 2009 11:10:03 +0000 (11:10 +0000)]
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...
Campbell Barton [Mon, 30 Nov 2009 10:21:42 +0000 (10:21 +0000)]
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
Joshua Leung [Mon, 30 Nov 2009 03:10:46 +0000 (03:10 +0000)]
* 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.
Joshua Leung [Mon, 30 Nov 2009 02:42:10 +0000 (02:42 +0000)]
Assorted tweaks for subdivide operator ranges - soft/hard ranges were swapped.
Campbell Barton [Mon, 30 Nov 2009 02:34:49 +0000 (02:34 +0000)]
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
Joshua Leung [Mon, 30 Nov 2009 02:28:50 +0000 (02:28 +0000)]
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.
Campbell Barton [Mon, 30 Nov 2009 01:13:46 +0000 (01:13 +0000)]
- 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.
Joshua Leung [Mon, 30 Nov 2009 00:18:36 +0000 (00:18 +0000)]
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.
Joshua Leung [Sun, 29 Nov 2009 23:54:41 +0000 (23:54 +0000)]
* 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.
Campbell Barton [Sun, 29 Nov 2009 23:14:41 +0000 (23:14 +0000)]
- 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)
Campbell Barton [Sun, 29 Nov 2009 22:42:33 +0000 (22:42 +0000)]
- 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.
Martin Poirier [Sun, 29 Nov 2009 22:16:29 +0000 (22:16 +0000)]
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.
Arystanbek Dyussenov [Sun, 29 Nov 2009 19:16:52 +0000 (19:16 +0000)]
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.
Martin Poirier [Sun, 29 Nov 2009 18:20:26 +0000 (18:20 +0000)]
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).