blender.git
10 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).

10 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)

10 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.

10 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

10 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

10 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.

10 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.

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

10 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

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

10 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

10 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

10 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

10 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

10 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

10 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

10 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.

10 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...

10 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

10 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).

10 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.

10 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

10 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

10 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

10 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

10 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.

10 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.

10 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).

10 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

10 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.

10 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

10 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

10 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.

10 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.

10 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

10 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

10 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

10 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.

10 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).

10 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.

10 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.

10 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

10 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)

10 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

10 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 = arm.edit_bones.new("SomeBone")
 arm.edit_bones.remove(bone)

regify (WIP)

10 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.

10 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)

10 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

10 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.

10 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).

10 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.

10 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.

10 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.

10 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'

10 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

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

10 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.

10 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

10 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.

10 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.

10 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

10 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

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

* 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.

10 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.

10 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.

10 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 ?)

10 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.

10 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

10 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

10 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.

10 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)

10 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)

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

10 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.

TODO:
Make the confirmation popup fade out after a fixed time.

10 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

10 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.

10 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.

10 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.

10 years ago- new pyrna api functions srna & prop path_to_id(), useful when setting driver target...
Campbell Barton [Mon, 23 Nov 2009 23:17:23 +0000 (23:17 +0000)]
- new pyrna api functions srna & prop path_to_id(), useful when setting driver target paths.
  This means you can have a pose bone for eg and get the path...
   pose.bones["Bone"]
 uses rna internal functions, so will work for sequence strips etc.

- StructRNA.get(), used for getting ID props without exceptions...
 val = C.object["someKey"]
 or..
 val = C.object.get("someKey", "defaultValue") # wont raise an error

- change rna property for testing if rna props are editable, test the flag rather then calling the function since the function depends on blenders state.

- fix a python exception with the ID-Property popup UI (when editing in more then 1 step)

10 years agoadded a function to duplicate bPoseChannel's internal data - constraints, id-props...
Campbell Barton [Mon, 23 Nov 2009 23:03:04 +0000 (23:03 +0000)]
added a function to duplicate bPoseChannel's internal data - constraints, id-props etc.
 duplicate_pose_channel_data(), the code to do this was inline in editarmature.c

duplicating editbones now duplicates posebone id-props

also removed an if test for &channew->constraints since it will always be true.

10 years agoImprove links.
Guillermo S. Romero [Mon, 23 Nov 2009 21:17:53 +0000 (21:17 +0000)]
Improve links.

10 years ago2.5 bugfix: splash would crash when .Blog contained file names without a
Brecht Van Lommel [Mon, 23 Nov 2009 20:06:09 +0000 (20:06 +0000)]
2.5 bugfix: splash would crash when .Blog contained file names without a
slash in them. Also removed the ctrl+alt+f1 shortcut key, was for testing.

10 years agoFixed weird wrong names in Add menu.
William Reynish [Mon, 23 Nov 2009 19:59:42 +0000 (19:59 +0000)]
Fixed weird wrong names in Add menu.

10 years agoFixed a link and added irc.freenode.net for clarity
William Reynish [Mon, 23 Nov 2009 19:26:59 +0000 (19:26 +0000)]
Fixed a link and added irc.freenode.net for clarity

10 years agofixed some error reporting issues with calling operators
Campbell Barton [Mon, 23 Nov 2009 18:08:42 +0000 (18:08 +0000)]
fixed some error reporting issues with calling operators

10 years agofix for crashes displaying long strings in menu's
Campbell Barton [Mon, 23 Nov 2009 17:55:52 +0000 (17:55 +0000)]
fix for crashes displaying long strings in menu's

10 years agoworkaround for an error with BKE_reportf (actually BLI_dynstr_vappendf)
Campbell Barton [Mon, 23 Nov 2009 17:36:44 +0000 (17:36 +0000)]
workaround for an error with BKE_reportf (actually BLI_dynstr_vappendf)
fixes a crash that happens when formatting a python exception into a report. - for now use pythons string formatting function.

happens when running the simple operator template so not sure if its worth re-tagging :S

10 years agoTwo files missing in case conversion in r24816.
Guillermo S. Romero [Mon, 23 Nov 2009 17:27:00 +0000 (17:27 +0000)]
Two files missing in case conversion in r24816.

10 years agoRemove forced sse compile flags on render for linux. This is very bad.
Martin Poirier [Mon, 23 Nov 2009 17:12:15 +0000 (17:12 +0000)]
Remove forced sse compile flags on render for linux. This is very bad.

Use user flags instead.

10 years ago2.5 bugfix: 3d view zoom operator delta had wrong range.
Brecht Van Lommel [Mon, 23 Nov 2009 17:07:30 +0000 (17:07 +0000)]
2.5 bugfix: 3d view zoom operator delta had wrong range.

10 years agobugfix: uninitialized values
Campbell Barton [Mon, 23 Nov 2009 16:58:24 +0000 (16:58 +0000)]
bugfix: uninitialized values

10 years ago2.5 bugfix: transformation constraint values did not have correct range.
Brecht Van Lommel [Mon, 23 Nov 2009 16:53:29 +0000 (16:53 +0000)]
2.5 bugfix: transformation constraint values did not have correct range.

10 years agoNew CLICK event value. If RELEASE is not handled and last event was PRESS of same...
Martin Poirier [Mon, 23 Nov 2009 16:24:28 +0000 (16:24 +0000)]
New CLICK event value. If RELEASE is not handled and last event was PRESS of same type, redo handlers with CLICK value (this means you can "click" key events too).

Leftmouse+Ctrl to extrude now mapped to Click instead of Release. Release was used to avoid conflict with lasso, but it isn't safe with modal operators that use Press to confirm (subsequent Release then extruded). Click is semantically closer to what we want here.

10 years agouse decorators for python attributes, added bone.length
Campbell Barton [Mon, 23 Nov 2009 16:04:19 +0000 (16:04 +0000)]
use decorators for python attributes, added bone.length

10 years agomade release log link point correctly to the release log.
William Reynish [Mon, 23 Nov 2009 15:41:57 +0000 (15:41 +0000)]
made release log link point correctly to the release log.

10 years agoremove F7 for running test.py, was useful when we had a py api but not text editor :)
Campbell Barton [Mon, 23 Nov 2009 15:22:23 +0000 (15:22 +0000)]
remove F7 for running test.py, was useful when we had a py api but not text editor :)
this gets rid of F7 next to all the presets

10 years agolinks to Python API docs from splash and help menu
Campbell Barton [Mon, 23 Nov 2009 15:20:56 +0000 (15:20 +0000)]
links to Python API docs from splash and help menu

10 years ago2.5: fix python error when showing 3d view properties panel
Brecht Van Lommel [Mon, 23 Nov 2009 15:19:30 +0000 (15:19 +0000)]
2.5: fix python error when showing 3d view properties panel
with no active bone.

10 years agoBeta -> Alpha ;)
William Reynish [Mon, 23 Nov 2009 15:17:37 +0000 (15:17 +0000)]
Beta -> Alpha ;)

10 years agomissing include for memset()
Campbell Barton [Mon, 23 Nov 2009 15:08:42 +0000 (15:08 +0000)]
missing include for memset()