11 years agoBPlayer fix (we were still using old scene.r instead of here) and more stubs...
Dalai Felinto [Sat, 28 Nov 2009 01:26:14 +0000 (01:26 +0000)]
BPlayer fix (we were still using old scene.r instead of here) and more stubs update from Mitchell Stokes (Moguri)
(+ a fix in a logic_window.c comment)

11 years agoShaded view toggle key (Shift-Z) not needed anymore.
Martin Poirier [Fri, 27 Nov 2009 21:15:01 +0000 (21:15 +0000)]
Shaded view toggle key (Shift-Z) not needed anymore.

11 years ago* Small Cleanup.
Thomas Dinges [Fri, 27 Nov 2009 18:55:59 +0000 (18:55 +0000)]
* Small Cleanup.

11 years agoshoulder improvements, fixes for linking arm/palm/finger together
Campbell Barton [Fri, 27 Nov 2009 17:07:50 +0000 (17:07 +0000)]
shoulder improvements, fixes for linking arm/palm/finger together

11 years agoAdd missing snap properties to transform operator.
Martin Poirier [Fri, 27 Nov 2009 16:15:34 +0000 (16:15 +0000)]
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.

11 years agoedge loop delete was using snap, making it not actually delete the edge loop
Campbell Barton [Fri, 27 Nov 2009 15:15:03 +0000 (15:15 +0000)]
edge loop delete was using snap, making it not actually delete the edge loop

11 years agoCLICK missing from *other* event rna enum (how many of these do we need?!)
Martin Poirier [Fri, 27 Nov 2009 14:58:13 +0000 (14:58 +0000)]
CLICK missing from *other* event rna enum (how many of these do we need?!)

11 years agonew palm rig type + some refactoring to make names less confusing for the arm rig
Campbell Barton [Fri, 27 Nov 2009 13:24:04 +0000 (13:24 +0000)]
new palm rig type + some refactoring to make names less confusing for the arm rig
linked text would not run

11 years agoRe-commit of new icons. It seems like the icon update got overridden somehow.
William Reynish [Fri, 27 Nov 2009 12:50:08 +0000 (12:50 +0000)]
Re-commit of new icons. It seems like the icon update got overridden somehow.

11 years agoFix for bug #20039: panning and rotating view makes animation playback slow.
Brecht Van Lommel [Fri, 27 Nov 2009 12:43:48 +0000 (12:43 +0000)]
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.

11 years agofix for undo crashing when animating proxies that had ID props
Campbell Barton [Fri, 27 Nov 2009 12:42:42 +0000 (12:42 +0000)]
fix for undo crashing when animating proxies that had ID props

11 years agoFix for problems with region-flip operator not working from the RMB context menu.
Joshua Leung [Fri, 27 Nov 2009 11:51:34 +0000 (11:51 +0000)]
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...

11 years agoDurian Request:
Joshua Leung [Fri, 27 Nov 2009 11:19:13 +0000 (11:19 +0000)]
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.

11 years agoAdded RMB-menu to Headers:
Joshua Leung [Fri, 27 Nov 2009 06:24:09 +0000 (06:24 +0000)]
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...

11 years agofix for error in simpledeform modifier ui
Matt Ebb [Fri, 27 Nov 2009 06:22:55 +0000 (06:22 +0000)]
fix for error in simpledeform modifier ui

11 years agoAnimation Playback - Return to original frame
Joshua Leung [Fri, 27 Nov 2009 04:14:56 +0000 (04:14 +0000)]
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.

11 years agoFix for [#20080] Arrows Don't Scale (2.5 Alpha 0)
Matt Ebb [Fri, 27 Nov 2009 00:45:01 +0000 (00:45 +0000)]
Fix for [#20080] Arrows Don't Scale (2.5 Alpha 0)

11 years agoFix for [#20086] Mirror X, Z and Y crashes Blender 2.5 Alpha
Matt Ebb [Fri, 27 Nov 2009 00:34:46 +0000 (00:34 +0000)]
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

11 years agoUV Editor: Added missing Snapping Operator keymaps (Shift-S) + menus (under UV's...
Joshua Leung [Thu, 26 Nov 2009 23:20:31 +0000 (23:20 +0000)]
UV Editor: Added missing Snapping Operator keymaps (Shift-S) + menus (under UV's -> Snap)

11 years agoFix for rev. 24908 - committed the fix, but it was commented out. Forgot to uncomment...
Matt Ebb [Thu, 26 Nov 2009 21:56:31 +0000 (21:56 +0000)]
Fix for rev. 24908 - committed the fix, but it was commented out. Forgot to uncomment it after doublecheck testing, hmm...

11 years agoMSVC project files: enable Blender Game renderer.
Benoit Bolsee [Thu, 26 Nov 2009 20:44:55 +0000 (20:44 +0000)]
MSVC project files: enable Blender Game renderer.

11 years agoFirst changes to implement the 2.5 snapping proposal (discussed back in May and recen...
Martin Poirier [Thu, 26 Nov 2009 19:47:55 +0000 (19:47 +0000)]
First changes to implement the 2.5 snapping proposal (discussed back in May and recently on IRC).

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.

11 years agoSimplify mesh selection type operator and add missing header refresh notifier.
Martin Poirier [Thu, 26 Nov 2009 19:32:33 +0000 (19:32 +0000)]
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).

11 years agoMissing from last commit:
Martin Poirier [Thu, 26 Nov 2009 19:31:25 +0000 (19:31 +0000)]
Missing from last commit:

New snap icons for Increment (gears)

11 years agoPreliminary RNA and DNA changes for further transform snap fixes.
Martin Poirier [Thu, 26 Nov 2009 19:29:57 +0000 (19:29 +0000)]
Preliminary RNA and DNA changes for further transform snap fixes.

Also make the mesh selection type enum available at runtime.

11 years agofixed a crash when duplicating bones with ID-Props
Campbell Barton [Thu, 26 Nov 2009 19:08:56 +0000 (19:08 +0000)]
fixed a crash when duplicating bones with ID-Props
remove duplicate code from armature_duplicate_selected_exec

11 years agomore rna property renaming, axis_x --> use_x, rotationx --> use_rotation_x
Campbell Barton [Thu, 26 Nov 2009 18:45:08 +0000 (18:45 +0000)]
more rna property renaming, axis_x --> use_x, rotationx --> use_rotation_x

11 years agoClick event detection ignores mouse move.
Martin Poirier [Thu, 26 Nov 2009 18:36:24 +0000 (18:36 +0000)]
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.

11 years agorename rotate_like_x --> use_x, for copy loc/size/rot constraints.
Campbell Barton [Thu, 26 Nov 2009 17:54:16 +0000 (17:54 +0000)]
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.

11 years agoFixed typo
Elia Sarti [Thu, 26 Nov 2009 17:20:02 +0000 (17:20 +0000)]
Fixed typo

11 years agofix for crash, Aligorith can you check if this is correct
Campbell Barton [Thu, 26 Nov 2009 17:17:13 +0000 (17:17 +0000)]
fix for crash, Aligorith can you check if this is correct

11 years agoFix warning.
Elia Sarti [Thu, 26 Nov 2009 17:07:14 +0000 (17:07 +0000)]
Fix warning.

11 years agoMathutils vec += vec wasnt running mathutls callbacks
Campbell Barton [Thu, 26 Nov 2009 16:19:20 +0000 (16:19 +0000)]
Mathutils vec += vec wasnt running mathutls callbacks

11 years agominor changes made before commit broke this script
Campbell Barton [Thu, 26 Nov 2009 16:05:32 +0000 (16:05 +0000)]
minor changes made before commit broke this script

11 years agoctrl 1-5 for changing subsurf levels
Campbell Barton [Thu, 26 Nov 2009 15:36:23 +0000 (15:36 +0000)]
ctrl 1-5 for changing subsurf levels

11 years agoallow accessing an array index from an rna button.
Campbell Barton [Thu, 26 Nov 2009 15:03:55 +0000 (15:03 +0000)]
allow accessing an array index from an rna button.

 col.prop(ob, "location", index=1) # would edit the Y axis

11 years agobasic support for Sintels arm rig with property driven ik/fk switching and stretch...
Campbell Barton [Thu, 26 Nov 2009 13:36:15 +0000 (13:36 +0000)]
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

11 years agoSequencer Drawing Code - Refactoring Part 1:
Joshua Leung [Thu, 26 Nov 2009 12:22:43 +0000 (12:22 +0000)]
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

11 years agoBugfix: pose bone was doing double translation in some cases,
Brecht Van Lommel [Thu, 26 Nov 2009 11:38:28 +0000 (11:38 +0000)]
Bugfix: pose bone was doing double translation in some cases,
due to my commit yesterday.

11 years agoPatch #20037: Use named components for Drivers instead of array_index
Joshua Leung [Thu, 26 Nov 2009 11:13:10 +0000 (11:13 +0000)]
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...

11 years agoBugfix #20069: Centre to cursor or centre to mouse, centre object.
Joshua Leung [Thu, 26 Nov 2009 10:19:09 +0000 (10:19 +0000)]
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

11 years agofix for adding drivers to constraints via python.
Campbell Barton [Thu, 26 Nov 2009 09:48:53 +0000 (09:48 +0000)]
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).

11 years agoBGE: allow using dynamic loaded mesh in replaceMesh for soft body. This is a quick...
Benoit Bolsee [Thu, 26 Nov 2009 09:40:37 +0000 (09:40 +0000)]
BGE: allow using dynamic loaded mesh in replaceMesh for soft body. This is a quick fix, it doesn't work yet on skinned mesh.

11 years ago[#20051] x for removing a mesh from a group doesnt scale with ui
Matt Ebb [Thu, 26 Nov 2009 06:32:43 +0000 (06:32 +0000)]
[#20051] x for removing a mesh from a group doesnt scale with ui

11 years agoFix for [#20042] There are remains of "Shaded" draw type in a panel
Matt Ebb [Thu, 26 Nov 2009 06:25:25 +0000 (06:25 +0000)]
Fix for [#20042] There are remains of "Shaded" draw type in a panel

Removed references to shaded view now it's disabled

11 years agoFix for [#20030] selection frame in edit mode turns white
Matt Ebb [Thu, 26 Nov 2009 06:07:56 +0000 (06:07 +0000)]
Fix for [#20030] selection frame in edit mode turns white

11 years agoFix for [#20028] adding objects such as cameras in local view(/) doesn't work
Matt Ebb [Thu, 26 Nov 2009 05:57:34 +0000 (05:57 +0000)]
Fix for [#20028] adding objects such as cameras in local view(/) doesn't work

Was getting the wrong operator context, so there was no view3d available

11 years agoFix for [#20023] Renderer aborts in some cases when rendering only meta-objects with...
Matt Ebb [Thu, 26 Nov 2009 05:01:28 +0000 (05:01 +0000)]
Fix for [#20023] Renderer aborts in some cases when rendering only meta-objects with volume materials.

When metaballs were added to the render, if they weren't the basis ball, they'd be skipped, leaving a render object with no geometry. Now it doesn't add an object in the first place.

11 years agoBugfix #20041: Drivers don't work on bone visiblity
Joshua Leung [Thu, 26 Nov 2009 03:43:39 +0000 (03:43 +0000)]
Bugfix #20041: Drivers don't work on bone visiblity

- Drivers on added to the 'armature' datablock (i.e. keyframing some settings for a "Bone" as opposed to "PoseBone") now evaluate correctly. Added proper recalcs for this case too.

- Also fixed some memory leaks and loading problems I encountered with the test file provided. After having problems loading the test file, I ended up reproducing and finding the error.

11 years agoCursor Grab bugfix: passing NULL for bounds didn't initialize properly.
Martin Poirier [Thu, 26 Nov 2009 02:58:53 +0000 (02:58 +0000)]
Cursor Grab bugfix: passing NULL for bounds didn't initialize properly.

Symptom: first button drag gets stuck on values.

Cause: Buttons didn't set grab bounds, to use the whole window. But Ghost didn't do anything in that case, it left the bounds value as is. It only affected the first cursor grab, because cursor ungrab sets it to -1, which forces it to use the whole window size (checking every mouse move) for subsequent grabs.

Solution: When NULL, init bounds to window size (and don't query every mouse move).

11 years ago* Spline IK 'Joint Bindings' array now available from RNA. This can be used to manual...
Joshua Leung [Thu, 26 Nov 2009 02:13:56 +0000 (02:13 +0000)]
* Spline IK 'Joint Bindings' array now available from RNA. This can be used to manually slide bone joints along the curves for extra tweaking. It's only recommended to be used by advanced users for extra control over the points.

* Added some missing file-reading code to try and get things working better

11 years agoFix for [#20034] Background Image Distortion while zooming and moving around 3D window.
Matt Ebb [Thu, 26 Nov 2009 02:11:07 +0000 (02:11 +0000)]
Fix for [#20034] Background Image Distortion while zooming and moving around 3D window.

This is working around an Apple OpenGL driver bug, chatted to Martin about this in IRC, seems ok. Hopefully can revert this if/when Apple comes up with a driver fix.

11 years agov Cloud to matrix
Jens Ole Wund [Thu, 26 Nov 2009 00:15:26 +0000 (00:15 +0000)]
v Cloud to matrix
nice drawing for soft bodies
BTW could be used by any object by design

11 years agoadding function
Jens Ole Wund [Wed, 25 Nov 2009 23:54:21 +0000 (23:54 +0000)]
adding function
vcloud_estimate_transform(..) to math library
comments there (@math_geom.c) should explain what it does
-- removing attached clutter from softbody.c

11 years agosmall change to BGE callbacks, only allocate empty args once in the callback loop.
Campbell Barton [Wed, 25 Nov 2009 23:35:58 +0000 (23:35 +0000)]
small change to BGE callbacks, only allocate empty args once in the callback loop.

11 years agoAfter talking with Matt about this, added notifier NC_ID to handle ID changes, specif...
Elia Sarti [Wed, 25 Nov 2009 23:13:47 +0000 (23:13 +0000)]
After talking with Matt about this, added notifier NC_ID to handle ID changes, specifically ND_ID_RENAME for ID renaming. Done for outliner, 3d view and properties editor.

11 years agoFix for opening images in the Background Image panel
Matt Ebb [Wed, 25 Nov 2009 22:58:54 +0000 (22:58 +0000)]
Fix for opening images in the Background Image panel

11 years agoEditmesh undo: restore selection counts after undo
Martin Poirier [Wed, 25 Nov 2009 22:38:07 +0000 (22:38 +0000)]
Editmesh undo: restore selection counts after undo

11 years agoDecrease snap delay to 10 ms
Martin Poirier [Wed, 25 Nov 2009 22:14:51 +0000 (22:14 +0000)]
Decrease snap delay to 10 ms

11 years agoPose Bone Local Location: now also works for non-connected bones with parents.
Brecht Van Lommel [Wed, 25 Nov 2009 18:48:29 +0000 (18:48 +0000)]
Pose Bone Local Location: now also works for non-connected bones with parents.

11 years agoVerlet integration method for particles (patch provided by farsthary).
Janne Karhu [Wed, 25 Nov 2009 17:46:10 +0000 (17:46 +0000)]
Verlet integration method for particles (patch provided by farsthary).

11 years agoselected_pchans --> selected_pose_bones, same for visible_pchans
Campbell Barton [Wed, 25 Nov 2009 15:00:29 +0000 (15:00 +0000)]
selected_pchans --> selected_pose_bones, same for visible_pchans
added use_ prefix to bools offset --> use_offset, tail --> use_tail for eg.

11 years agoPose Bone "Local Location" option. This is enabled by default, disabling it
Brecht Van Lommel [Wed, 25 Nov 2009 14:59:02 +0000 (14:59 +0000)]
Pose Bone "Local Location" option. This is enabled by default, disabling it
puts the bone location in pose space rather than local bone space.

11 years agofix for error in sequencer ui from recent changes
Campbell Barton [Wed, 25 Nov 2009 13:17:09 +0000 (13:17 +0000)]
fix for error in sequencer ui from recent changes

11 years agoAnimSys - Transform Locks + RNA:
Joshua Leung [Wed, 25 Nov 2009 12:00:31 +0000 (12:00 +0000)]
AnimSys - Transform Locks + RNA:

The Animation System now respects the Transform Locks too (i.e. lock x-location, etc.) when writing settings. This means that it is no longer necessary to set up "constant drivers" to make sure some values don't get accidentally animated.

Internally, added a new callback for properties in RNA, which is responsible for checking if the item at some array-index is editable. This needs to be manually called for each place which uses rna to set settings for arrays (see the code changes in anim_sys.c for changes how to do this; the same thing needs to be done in the UI code too, and probably in py-api too)

11 years agoED_armature_edit_bone_remove wasnt clearing references from other bones, only affects...
Campbell Barton [Wed, 25 Nov 2009 11:47:53 +0000 (11:47 +0000)]
ED_armature_edit_bone_remove wasnt clearing references from other bones, only affects rna api access

11 years agoadd access to bone add/remove from rna. eg.
Campbell Barton [Wed, 25 Nov 2009 11:05:11 +0000 (11:05 +0000)]
add access to bone add/remove from rna. eg.
 bone ="SomeBone")

regify (WIP)

11 years agoRNA: FModifier generator coefficients wrapped, implemented by Campbell.
Brecht Van Lommel [Wed, 25 Nov 2009 10:39:02 +0000 (10:39 +0000)]
RNA: FModifier generator coefficients wrapped, implemented by Campbell.

11 years agorna py api,
Campbell Barton [Wed, 25 Nov 2009 10:13:24 +0000 (10:13 +0000)]
rna py api,
generic rna function driver_add(), now returns the driver added (or a list of drivers if all channels are set)

11 years agoAssorted fixes - compile + drivers:
Joshua Leung [Wed, 25 Nov 2009 09:25:58 +0000 (09:25 +0000)]
Assorted fixes - compile + drivers:
* Fixed a few compile warnings for scons+mingw
* Driver variables are now added with the ID-type set to ID_OB (objects) by default since this is more convenient

11 years agoFix for [#20008] In the Graph Editor, clicking on the eye doesn't update the GUI
Matt Ebb [Wed, 25 Nov 2009 08:28:57 +0000 (08:28 +0000)]
Fix for [#20008] In the Graph Editor, clicking on the eye doesn't update the GUI

As part of this, fixed a typo in rna flags which was causing some strange behaviour with icons earlier. Reverted the workaround for this, too.

11 years agoAdd guardealloc for RAS_MeshObject.cpp (and clean whitespace).
Guillermo S. Romero [Tue, 24 Nov 2009 23:24:56 +0000 (23:24 +0000)]
Add guardealloc for RAS_MeshObject.cpp (and clean whitespace).

11 years agoBGE: replace mesh works for Soft Body (including reinstantiation of physics soft...
Benoit Bolsee [Tue, 24 Nov 2009 22:44:29 +0000 (22:44 +0000)]
BGE: replace mesh works for Soft Body (including reinstantiation of physics soft body mesh).

Even a static mesh can be used as replacement: the mesh
will be instantiated with the soft body settings of the
object. The position and orientation of the soft body
is preserved after the replacement.

Known limitation: the velocity of the soft body is reset
aftet the replacement. This is because soft body don't
have a well defined velocity.

11 years agodisallow dynamic sized rna arrays to be returned as mathutils types since it gives...
Campbell Barton [Tue, 24 Nov 2009 20:15:24 +0000 (20:15 +0000)]
disallow dynamic sized rna arrays to be returned as mathutils types since it gives unpradictable results if in one case it returns a vector and another a rna float array.

11 years agoFix for continuous grab on X11.
Martin Poirier [Tue, 24 Nov 2009 19:47:57 +0000 (19:47 +0000)]
Fix for continuous grab on X11.

Need to stop accumulating warp coordinates after the first cursor warp (store time of new generated event and skip warp for events time smaller).

There's some interesting X11 code in there, if people are curious.

11 years agoRNA api
Campbell Barton [Tue, 24 Nov 2009 17:12:32 +0000 (17:12 +0000)]
RNA api
- EditBone was missing 'selected'
- renamed 'selectable' to --> 'restrict_select', matching object mode.
- renamed 'active_pchan' --> 'active_pose_bone'

11 years agoavoid operator type lookups when its known
Campbell Barton [Tue, 24 Nov 2009 16:19:15 +0000 (16:19 +0000)]
avoid operator type lookups when its known

11 years agoForgot this file.
William Reynish [Tue, 24 Nov 2009 15:45:45 +0000 (15:45 +0000)]
Forgot this file.

11 years agoUpdated icons. Thanks to jendrzych.
William Reynish [Tue, 24 Nov 2009 15:40:56 +0000 (15:40 +0000)]
Updated icons. Thanks to jendrzych.
Adds icon entries to the force fields.

Also reverted last menu naming commit - this is apparently due to a bug in the Python API that will be fixed.

11 years agobugfix [#19983] clicking onto normal input of a material node crash
Campbell Barton [Tue, 24 Nov 2009 14:03:29 +0000 (14:03 +0000)]
bugfix [#19983] clicking onto normal input of a material node crash
actually happened when clicking on any input

11 years agoRender Buttons:
Thomas Dinges [Tue, 24 Nov 2009 12:55:04 +0000 (12:55 +0000)]
Render Buttons:
* Made Audio Section in "Encoding Panel" easier.

11 years agoFix for last commit, forgot to update collada.
Brecht Van Lommel [Tue, 24 Nov 2009 12:35:06 +0000 (12:35 +0000)]
Fix for last commit, forgot to update collada.

11 years agoFix wrong names in 3D view View menu
William Reynish [Tue, 24 Nov 2009 12:15:17 +0000 (12:15 +0000)]
Fix wrong names in 3D view View menu

11 years ago- use a generic bone class so all 3 bone types (Edit/Pose/Armature) - can have the...
Campbell Barton [Tue, 24 Nov 2009 11:58:49 +0000 (11:58 +0000)]
- use a generic bone class so all 3 bone types (Edit/Pose/Armature) - can have the same utility functions, length, parent_recursive, parent_index(), etc
- change the wiki url to avoid redirects (from Luka)
- removed pose prefix from pose_head/pose_tail/pose_matrix

11 years agoDepsgraph/Drivers
Brecht Van Lommel [Tue, 24 Nov 2009 11:48:16 +0000 (11:48 +0000)]

* Removed ED_anim_dag_flush_update and ED_anim_object_flush_update. These
  were wrapping DAG_* calls and were intended be used instead of them when
  doing a DAG update from editors. That goes against the design in my opinion,
  no matter who calls the DAG, that should update the editors correctly, so
  any special checks in such functions for editors should be avoided.

* Driver RNA properties now do updates again, including DAG scene sorting,
  text buttons no longer update as you type anymore, so this should be
  safe I think.

* Remove scene.update() RNA function, all properties/functions should do this
  automatically, if changing some property or calling a function/operator
  does not do the correct update, that should be fixed.

11 years agoRemoved split region operator. This was only for tests, and was not recoverable.
William Reynish [Tue, 24 Nov 2009 11:40:35 +0000 (11:40 +0000)]
Removed split region operator. This was only for tests, and was not recoverable.

11 years agoMade render quality settings proper percentages.
William Reynish [Tue, 24 Nov 2009 10:55:52 +0000 (10:55 +0000)]
Made render quality settings proper percentages.

11 years agocompile fix when compiling with WAIT_FOR_VSYNC = 1 (btw, is this still used ?)
Damien Plisson [Tue, 24 Nov 2009 10:19:07 +0000 (10:19 +0000)]
compile fix when compiling with WAIT_FOR_VSYNC = 1 (btw, is this still used ?)

11 years agoSpline IK Bugfix:
Joshua Leung [Tue, 24 Nov 2009 09:55:41 +0000 (09:55 +0000)]
Spline IK Bugfix:
"Y Stretch" option was broken in UI due to mismatch between RNA and scripts.

11 years agoquicktime : small ui update to include the two qt import options in the output panel
Damien Plisson [Tue, 24 Nov 2009 09:46:53 +0000 (09:46 +0000)]
quicktime : small ui update to include the two qt import options in the output panel
+ pep8 fixes

11 years ago- added rna api function scene.update(), needed for rig generation to update driver...
Campbell Barton [Tue, 24 Nov 2009 09:24:32 +0000 (09:24 +0000)]
- added rna api function scene.update(), needed for rig generation to update driver deps
- removed some warnings

11 years agoBugfix for Parenting to Bones:
Joshua Leung [Tue, 24 Nov 2009 05:57:47 +0000 (05:57 +0000)]
Bugfix for Parenting to Bones:

Reshuffled the code a bit so that the parent-type gets set before the parent inverse matrices are calculated.

Thanks to Claas Eicke Kuhnen (cekuhnen) on Blender Artists for catching this.

11 years agoExtend handler return values to distinguish between events that have been handled...
Martin Poirier [Tue, 24 Nov 2009 05:03:44 +0000 (05:03 +0000)]
Extend handler return values to distinguish between events that have been handled and passed through and those that haven't been handled at all.

This also solves a bug with Click event (not visible with keymaps that use Click in default)

11 years agoMade select operator return FINISHED only when it did something (only PASSTHROUGH...
Martin Poirier [Tue, 24 Nov 2009 04:59:52 +0000 (04:59 +0000)]
Made select operator return FINISHED only when it did something (only PASSTHROUGH otherwise)

11 years agoAdd CLICK to keymap RNA
Martin Poirier [Tue, 24 Nov 2009 04:30:24 +0000 (04:30 +0000)]
Add CLICK to keymap RNA

11 years agoKeyframing Operator Tweaks for Durian:
Joshua Leung [Tue, 24 Nov 2009 04:21:32 +0000 (04:21 +0000)]
Keyframing Operator Tweaks for Durian:

* Insert Keyframe (IKEY) now only shows the menu requesting to choose a KeyingSet to use if there is no active KeyingSet. To get the old behaviour, the "always_prompt" boolean property for the "ANIM_OT_insert_keyframe_menu" operator should be supplied.

* After inserting/deleting keyframes without the menu, a popup menu confirming that the keyframes have been modified is shown. Please note that you do not need to click on this popup.

Make the confirmation popup fade out after a fixed time.

11 years agoremoved mmb pan/rotate user preference - this is handled by key maps now
Matt Ebb [Tue, 24 Nov 2009 02:07:57 +0000 (02:07 +0000)]
removed mmb pan/rotate user preference - this is handled by key maps now

11 years agocommenting out "Todo" labels from bge player stereo options
Dalai Felinto [Tue, 24 Nov 2009 01:09:19 +0000 (01:09 +0000)]
commenting out "Todo" labels from bge player stereo options
the To Do was more like self-remaining since no one else is currently working with stereo :)
I will get back to that once 2.5alpha0 is out. In the mean time let's have a cleaner interface.

11 years agoRNA update -- added RNA and functions for dealing with the clone UV layer for project...
Roland Hess [Tue, 24 Nov 2009 00:56:52 +0000 (00:56 +0000)]
RNA update -- added RNA and functions for dealing with the clone UV layer for projection painting. This is just the guts -- someone smart can hook up the UI.

11 years agorig-generation from metadata, the idea is to input a simple rig with metadata matchin...
Campbell Barton [Tue, 24 Nov 2009 00:02:21 +0000 (00:02 +0000)]
rig-generation from metadata, the idea is to input a simple rig with metadata matching preset definitions
these are applied by adding constraints, drivers, control bones etc. making it possible to re-apply changes & improvements to many rigs at once.

testcase makes a finger rig (like in BBB) from 3 bones, the base tagged with an id property "type":"finger".

still missing is a way to update the driver dep's

also fixed an error  in the property UI when the active bone is not on the active layer.