Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-01-31Bugfix [#25876] bpy.ops.constraint.childof_set_inverse has no effectJoshua Leung
This was a two-part bug: a user error + API error. * User Error: before calling bpy.ops.constraint.childof_set_inverse() for a constraint defined on a bone, you firstly need to explicitly make that bone the active bone. To do that, you do armature.bones.active = posebone.bone # or something similar * API Error: active bone setting was a bit too strict. It only allows setting the active bone if the new bone comes from the same armature, but was overlooking the fact that RNA pointers may have been created through the object using the armature instead.
2011-01-12Patch [#24808] B-Bone display sizeJoshua Leung
Submitted by Dan Eicher (dna) Adds the ability to resize b-bones (ctrl+alt+S) using the python api Bone.bbone_x Bone.bbone_z
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-03DAG_id_tag_update was being called with non object ID's and OB_RECALC_* ↵Campbell Barton
flags which only apply to objects. harmless but misleading.
2010-12-13Bugfix #25188: Can't assign "add driver" to hide properties of bonesJoshua Leung
This was set to being not-animatable in r33397. However, I think there are some valid use cases where controlling layer visibility may be a "too heavy handed" approach.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-11-30minor rna changesCampbell Barton
- set matrix values not to be animatable - some matrix values were still accessed as 1d arrays.
2010-11-24Fix #24782: proxy armature Layer state not saved with file. Was in 2.4x butBrecht Van Lommel
not ported to 2.5x, implemented a bit different now to fit RNA better.
2010-11-18Bugfix #24781: Can't use rest position / pose position on linked-group proxy ↵Joshua Leung
armatures
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-10-24rna rename: use_inherit_rotate -> use_inherit_rotation, noticed _rotate is ↵Campbell Barton
not used like this much elsewhere in rna.
2010-10-23rename rna property Bone.use_hinge to use_inherit_rotate because use_hinge ↵Campbell Barton
was inverted - Enabled by default but not a hinge. this also matches 'use_inherit_scale'
2010-09-17patch [#23840] [Pose]Bone.envelope(point=(0,0,0))Campbell Barton
from Dan Eicher (dna) Basically just wraps distfactor_to_bone() and passes the correct head/tail depending on which bone type it's called from. note: renamed envelope() --> evaluate_envelope()
2010-09-16Make sure rna_armature.c compiles. Use BLI_math.h that includes <math.h> and ↵Nathan Letwory
ensures it compiles on all platforms. (fix for r31956).
2010-09-16- bone roll now in degrees not radians.Campbell Barton
- rna buttons with units set now use the units base value for snapping. - bone head/tail radius could be set negative. matt: removed a check in ui_is_but_unit() which made angle buttons return false, what was this for?
2010-09-15- rna properties for bones, select_head, select_tailCampbell Barton
- fix for minor inconsistency in armature selection, entering editmode and selecting a bone would move the manipulator because the selected bones, childs root wasnt selected on entering editmode. - use copy_v3_v3 rather then VECCOPY in editarmature.c
2010-08-24py/rna remove functions now all work in a similar way.Campbell Barton
- some remove() functions took an int argument rather then the item to remove. - disallow None argument. - raise an error if the item isnt in the collection.
2010-08-20rna data path names which are more likely to break animations.Campbell Barton
Added an operator "Update Animation Data", access from the search menu to update drivers and fcurves.
2010-08-19- Properties from base classes are now registered too, this allows class ↵Campbell Barton
mix-in's to define properties. An example of how this is useful - an importer mixin could define the filepath properties and a generic invoke function which can run the subclasses exec for each selected file. - Panels and Menus now skip the property check when registering. - renamed _idproperties_ to _idprops_ in function names, function names were getting very long.
2010-08-18rna rename Bone and Text changesCampbell Barton
2010-08-17apply rna rename most of the show_*, names.Campbell Barton
2010-08-03rna pointer poll function, not used yet.Campbell Barton
2010-07-15Apply first pass of edits to rna values from rna_booleans.txt.Campbell Barton
These are not animated and are best not change names like this too late in the release. ActionGroup.selected -> select: boolean Action Group is selected BezierSplinePoint.hidden -> hide: boolean Visibility status BezierSplinePoint.selected_control_point -> select_control_point: boolean Control point selection status BezierSplinePoint.selected_handle1 -> select_left_handle: boolean Handle 1 selection status BezierSplinePoint.selected_handle2 -> select_right_handle: boolean Handle 2 selection status Bone.restrict_select -> hide_select: boolean Bone is able to be selected Bone.selected -> select: boolean CurveMapPoint.selected -> select: boolean Selection state of the curve point EditBone.restrict_select -> hide_select: boolean Bone is able to be selected EditBone.selected -> select: boolean EditBone.selected_head -> select_head: boolean EditBone.selected_tail -> select_tail: boolean EditBone.locked -> lock: boolean Bone is not able to be transformed when in Edit Mode EditBone.hidden -> hide: boolean Bone is not visible when in Edit Mode NEGATE * FCurve.disabled -> enabled: boolean F-Curve could not be evaluated in past, so should be skipped when evaluating FCurve.locked -> lock: boolean F-Curve's settings cannot be edited FCurve.muted -> mute: boolean F-Curve is not evaluated FCurve.selected -> select: boolean F-Curve is selected for editing NEGATE * FCurve.visible -> hide: boolean F-Curve and its keyframes are shown in the Graph Editor graphs FCurveSample.selected -> select: boolean Selection status GPencilFrame.selected -> select: boolean Frame is selected for editing in the DopeSheet GPencilLayer.locked -> lock: boolean Protect layer from further editing and/or frame changes GPencilLayer.selected -> select: boolean Layer is selected for editing in the DopeSheet Keyframe.selected -> select: boolean Control point selection status Keyframe.selected_handle1 -> select_left_handle: boolean Handle 1 selection status Keyframe.selected_handle2 -> select_right_handle: boolean Handle 2 selection status MeshEdge.selected -> select: boolean MeshEdge.hidden -> hide: boolean MeshFace.hidden -> hide: boolean MeshFace.selected -> select: boolean MeshVertex.hidden -> hide: boolean MeshVertex.selected -> select: boolean MotionPathVert.selected -> select: boolean Path point is selected for editing NlaStrip.selected -> select: boolean NLA Strip is selected NlaTrack.locked -> lock: boolean NLA Track is locked NlaTrack.muted -> mute: boolean NLA Track is not evaluated NlaTrack.selected -> select: boolean NLA Track is selected Object.restrict_render -> hide_render: boolean Restrict renderability Object.restrict_select -> hide_select: boolean Restrict selection in the viewport Object.restrict_view -> hide: boolean Restrict visibility in the viewport Object.selected -> select: boolean Object selection state ObjectBase.selected -> select: boolean Object base selection state PoseBone.selected -> select: boolean Sequence.right_handle_selected -> select_right_handle: boolean Sequence.selected -> select: boolean SplinePoint.selected -> select_control_point: boolean Selection status TimelineMarker.selected -> select: boolean Marker selection state Sequence.left_handle_selected -> select_left_handle: boolean ActionGroup.locked -> lock: boolean Action Group is locked Bone.hidden -> hide: boolean Bone is not visible when it is not in Edit Mode (i.e. in Object or Pose Modes) SplinePoint.hidden -> hide: boolean Visibility status FModifier.muted -> mute: boolean F-Curve Modifier will not be evaluated note: rebaned uv_select to select_uv
2010-07-122.5: remove armature "B-Bone Rest" option, this was only added to keepBrecht Van Lommel
broken behavior for backwards compatibility, it's been there long enough now to be removed.
2010-05-04Great patch by Harley Acheson fixing about 80 typos and spellingDaniel Salazar
mistakes in makesrna
2010-04-04no functional changes. use sizeof() and MAXFRAMECampbell Barton
2010-04-02rna naming, *_frame --> frame_*Campbell Barton
2010-03-24remove unused rna includesCampbell Barton
2010-02-12correct fsf addressCampbell Barton
2010-02-11Operation Dot-Kill finishedDaniel Salazar
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-02-11Bugfix #21081: auto ik option not work for proxy objectJoshua Leung
Several properties of armatures were being checked for proxy-suitability with too-harsh criteria. Softened this on a few properties to make them usable again.
2010-01-31Armature RNA: Removed old properties for armature-only bone pathsJoshua Leung
2009-12-29flag to make rna props 'thick wrapped', so returning a property wont try ↵Campbell Barton
maintain a reference to the original rna property with callbacks. also needed for functions that return vectors/matrix's
2009-12-17autorigging front end, access in pose mode armature panel (at the bottom)Campbell Barton
demo: http://download.blender.org/durian/metarig_demo.ogv sintel base rig also, would like to include more generic/simple rigs eventually
2009-12-11* rename 'rna_path' --> 'data_path', rna and dna are for internal use and ↵Campbell Barton
are not descriptive. * armature.pose_position: POSE_POSITION, REST_POSITION --> POSE, REST * rigify now forces rest pose mode * updated neck_flex to keep original bones unchanged
2009-12-10raise an error when adding/removing editbones when the armature is not in ↵Campbell Barton
editmode (without this blender crashes)
2009-12-09some more rig options, fix typoCampbell Barton
2009-12-09- added editbone.matrix, readonly, utility property that calculates the ↵Campbell Barton
matrix from the bone roll - spine fixes - arm now uses the average Z axis to place the poll target
2009-12-08setting and editbone parent to NULL wasnt workingCampbell Barton
2009-12-08RNA:Brecht Van Lommel
* Property update functions no longer get context, instead they get only Main and Scene. The RNA api was intended to be as context-less as possible, since it doesn't really matter who is changing the property, everything that uses the property should be updated. * There's still one exception case that use it now, screen operations still depend on context too much. It also revealed a few places using context where they shouldn't. * Ideally Scene shouldn't be passed, but much of Blender still depends on it, should be dropped when we try to support multiple scene editing. Change was planned for a while, but need this now to be able to call update without a context pointer.
2009-12-04rna functionCampbell Barton
editbone.align(vector), to align the bones z axis to a localspace direction. finished leg rig pose mode data
2009-12-02rename armature RNA propsCampbell Barton
armature_matrix --> matrix_local armature_head --> head_local armature_tail --> tail_local
2009-11-29Armature Bugfixes:Joshua Leung
* 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-28py/rna apiCampbell Barton
- object.modifiers.add()/remove() - armature.edit_bones.active wasnt named correctly
2009-11-28Durian Rigging Requests: (Armature Layers + Rotation Locking Tweaks)Joshua Leung
* Increased the number of Armature and Bone Layers from 16 to 32. Please note that older versions of Blender may not correctly resolve the layers that bones are on when loading new files. * Newly added objects are now made by default to allow locking of 4-component rotations using 4 separate locks (i.e. one by component) instead of requiring the obscure 'W' toggle (renamed '4L' now) to be enabled first. The objects in the default scene need modifying manually though.
2009-11-25Pose Bone "Local Location" option. This is enabled by default, disabling itBrecht Van Lommel
puts the bone location in pose space rather than local bone space.
2009-11-25add access to bone add/remove from rna. eg.Campbell Barton
bone = arm.edit_bones.new("SomeBone") arm.edit_bones.remove(bone) regify (WIP)