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
2013-11-16pose mode: extend selection flipping to use the same method as editmode.Campbell Barton
adds extend and active only opton.
2013-11-16code cleanup: armature functionsCampbell Barton
- added BKE_pose_channel_get_mirrored (matching editmode function ED_armature_bone_get_mirrored) - editbone_name_exists -> ED_armature_bone_find_name
2013-11-06patch [#37305] Quick Hack: Armature Mirror SelectCampbell Barton
from Terry Struven (tlstruven), with some modifications.
2013-11-04code cleanup: remove unused operator (select all handles this case now)Campbell Barton
2013-10-29patch [#37218] Split operator for armaturesCampbell Barton
from Henrik Aarnio (hjaarnio)
2013-07-19patch [#35789] Quick hack select more/less tool for armaturesCampbell Barton
by Pedro Riera (priera), Andrey Dubravin and parts rewritten by myself.
2013-02-28Renaming the remaining PoseMode files for consistency (camelCase toJoshua Leung
underscores_style)
2013-02-28Code Maintenance - Splitting up Armature/Pose Editing FilesJoshua Leung
This commit splits editarmature.c and poseobject.c into several files, such that certain types of functionality are (mostly) self-contained within particular files (instead of being mixed in with other functionality in a large file). In particular, this was done so that: 1) Armature EditMode tools are now in the armature_*.c files only, and Pose Mode tools in pose_*.c files only. - In one or two cases, this hasn't been possible as the two modes rely on much of the same shared infrastructure. 2) The "clear loc/rot/scale" operators and pose show/hide are no longer housed in editarmature.c 3) Selection operators, Transform operators, structural (add/delete) operators, and supporting utilities for the modes (enter/exit/roll-calculations) are not all interleaved in an ad-hoc manner Notes: * I've tried to ensure that the history of the new files has been maintained by doing svn copy {editarmature.c/poseobject.c} {armature_*.c/pose_*.c} Unfortunately, this means that the diffs are a bit messy. * There should be no functional/logic changes here. Just code moving around and cosmetic comment tweaks where needed. * #includes have largely been untouched for now, but could be cleaned up later * CMake changes untested, but should work in theory.
2012-07-03First load of spell and typo fixes (mostly UI messages, but also one or two ↵Bastien Montagne
pieces of code using mis-spelled names).
2012-05-09style cleanup: graph & armatureCampbell Barton
2012-05-06Bugfixes for Motion Path drawing/updating in light of the recent changes:Joshua Leung
* Added proper "update" operators in place of the abuse of the calculate operators, so now the display ranges won't get overwritten everytime (with the default values) you go to update the paths. * Display range settings in properties editor now actually work. Before, the "In Range" mode only displayed the entire paths.
2012-04-29patch [#30834] Quick Hack: Select similar for bones in edit modeCampbell Barton
from Felix Schlitter (dalai) made some changes to select length measurement.
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2012-01-14remove *.select_inverse operators where the *.select_all operator has an ↵Campbell Barton
invert option.
2011-11-05use (const char*) rather than (char*) where possible.Campbell Barton
also removed some unused function definitons.
2011-08-15Restoring "Clear User Transforms" operatorJoshua Leung
This can now be found as Pose -> Clear Transforms -> Reset Unkeyed, or via the operator search (known by its old name there)
2011-08-12Bye bye vile relics of extinct version control systems,Joshua Leung
Causing a flurry of refresh file prompts post-commit, Confusing local diffs and causing merge conflicts, Stating the obvious; redundant and useless... We shall not miss thou, blasted expand $keywords$
2011-07-09Ctrl-R sets rotation mode for Pose BonesJoshua Leung
2011-07-07Patch [#23682] Add sort+move to bone group list in panelJoshua Leung
Thanks Torsten Rupp (rupp) for the patch! This patch adds the abilities to sort the bone group list in the properties panel and to move bone groups up/down in the list (similar like for vertex groups)
2011-06-27fix [#27778] Set Bone Flags - No Scale - Toggle seems not to work.Campbell Barton
Toggling options on the selection is better done as a generic operator. Replace ARMATURE_OT_flags_set and POSE_OT_flags_set with WM_OT_context_collection_boolean_set and use menus to access it with specific settings. This way its easy make a key shortcut which toggles any boolean on any collection - sequences, metaballs, objects, bones etc.
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-03-24Animation Tool: Propagate PoseJoshua Leung
This tool automates the process of copying a pose to successive keyframes, making it easier for animators to go back and change the pose for some controls which remain "static" for periods of time. Previously, animators would need to do a "{Ctrl-Pageup Ctrl-V} * number_of_static_keyframes" dance for each set of controls that this happened on, which is not too good ergonomically speaking. There are two modes exposed via the menu (Pose->Propagate): - "Pose Propagate" - also known as the 'WHILE_HELD' mode, which propagates to all keyframes that are holding the same value - "To Next Keyframe" - which only propagates the pose to the closest keyframe in the occurring after (but not including) the current frame Additionally, there are a few other modes that can be used, though they are less useful for direct use from the UI, though they can be used via the PyAPI as need be. --- Also, I did some cleanups in the "Pose" menu to bring it more into line with the Object mode one. There are some more tweaks that could still be done here, such as bringing the keyframing operator entries under a submenu too (as in the Object mode version) to get the length of this under control.
2011-03-13Pose Sliding Tools - Custom Property Support + Other bugfixesJoshua Leung
- Custom properties are now affected by the Pose Sliding tools too. This is now more important to support, given that modern rigs use these a lot for facial expressions/posing. By and large, this should work fine, though discrete integer values may experience a bit of trouble - Fixed potential bugs with the code which detects which F-Curves are relevant to a PoseBone's transforms (+ custom props). This was prone to being tricked by certain setups if the names of the bones contained some of the keywords these were searching for. - Shuffled some code around: moved bulk of logic out of vec3 case into new function for single-value, since it was really doing per axis already
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-23add 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.Campbell Barton
2011-02-16Forgot to actually hook up this operator...Joshua Leung
2011-02-16PoseLib Bugfixes, Cleanups, and Missing OperatorsJoshua Leung
* All the various index-related issues should finally be sorted now. It seems you cannot just partially implement some of these active index getter/setters... * Standardised the call used by PoseLib operators to get the Object from which they get the active PoseLib data from * PoseLib operators which require some existing data to work now use a poll() which checks for this * Added back the operator used to make standard actions into ones usable by PoseLib * Added a dummy operator for the apply active pose button which really just calls the same backend functions as "Browse Interactive", but which has a nicer frontend (naming + description) for the purpose of being used in this way * Also, removed some useless code from here
2011-02-16Pose Lib: Start of PoseLib UI in Armature buttonsJoshua Leung
This presents a UI from which PoseLibs can be assigned/removed from Objects. From here, it is also possible to see the list of poses and add/remove poses from this list. Known Issues: - [Py/RNA/Operators BUG ALERT!] If after immediately starting Blender you try to remove a pose from the PoseLib using the UI buttons, you'll get a an error the first time you do so (but not for subsequent attempts). This seems to be caused by the "pose" enum (dynamically generated) of the POSELIB_OT_pose_remove operator, which does not seem to be getting initialised when the operator's exec gets called without the invoke having been called previously - Changing the active Pose Library still seems to be broken (to be fixed soon) Todos: - Operator button to make the selected pose get shown in the 3d view - Restore the "validate action" operator and add that to this panel - Rename pose access
2011-01-12Added operator to show all armature layers (similar to the 3D ViewJoshua Leung
"Show All Layers"). This has been mapped to Ctrl-Accentkey If necessary, you can alter your keymaps so that this operator is invoked with its "all" property disabled. This will only toggle the first row (first 16) layers, which is useful in most rigs for only enabling all the layers with rig controls and not showing the layers with rig mechanics.
2011-01-11- Added operator to clear all transforms from Pose Bones. This makesJoshua Leung
it easier to reset a rig to its default pose again - Refactored clear pose operators to separate out the common parts, and made sure that they all had descriptions
2010-12-04Maintenance, Campbell Barton
- remove some redundant declarations - changed VertexTangent and Path structs to avoid compiler alignment padding.
2010-10-15bugfix [#24256] Wrong bone subdivision number in tweak panel.Campbell Barton
there were 3 operators for armature subdivision, now only have 1 (as with mesh). + remove unused warnigns.
2010-09-19patch [#23897] ARMATURE_OT_{hide,reveal}Campbell Barton
from Dan Eicher (dna)
2010-07-14Patch #22807: Add select/deselect buttons to armature bone group panelJoshua Leung
Patch submitted by Torsten Rupp (rupp)
2010-06-20etch-a-ton bugfixMartin Poirier
Add Convert operator and button (missing in 2.5) Fix stroke selection (uneeded separate operator and missing redraw) Map sketch operators to LEFTMOUSE and RIGHTMOUSE instead of SELECTMOUSE AND ACTIONMOUSE (more in line with other sketching operators, might work better with swapped mouse buttons)
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero
2010-02-19apply visual transform to poseCampbell Barton
So constrainted bones can have their transform applied to their loc/scale/rot, then remove the constraints
2010-02-19Pose Tools Cleanup:Joshua Leung
Moved some of the generic code used to determine the F-Curves linked to PoseChannel transforms (as used by the Pose Sliding tools) into a separate file, in preparation for migration of PoseLib tools to this system too. This should make it easier to add some useful new functionality to the PoseLib browsing system (pending in a later commit).
2010-02-12correct fsf addressCampbell Barton
2010-01-25Restored missing PoseMode Operators:Joshua Leung
* Select Grouped Selects bones in the same layer or same group as the selected ones. Optimised the code for the select same groups too. * Flip Quats Flips quaternion values so that the rotation progresses over a different path while maintaining the same endpoint orientations.
2009-11-301. Extend option for 3d view border select now does something (default True ↵Martin Poirier
to keep same behavior) 2. Add action parameter to Select_All_Toggle operators, rename to Select_All. Options are Toggle (default), Select, Deselect, Invert (same as select swap). This makes it possible to map separate hotkeys for select all and deselect all. NOTE for Aligorith: I didn't change animation operators for select_all which already had an Invert operator. These should be fixed eventually.
2009-11-25add access to bone add/remove from rna. eg.Campbell Barton
bone = arm.edit_bones.new("SomeBone") arm.edit_bones.remove(bone) regify (WIP)
2009-11-10use armature active bone as a pointer rather then a flag for each bone that ↵Campbell Barton
needs looking up. - rna vars arm.bones.active & rna.edit_bones.active - needed special undo support. - readfile.c loads. - duplicate and copy_armature support. - keep the draw flag, renamed to BONE_DRAW_ACTIVE, only use for openGL drawing. Note: it may be better to allow active/unselected as with objects.
2009-11-02Pose bone menu (Ctrl+G) wasnt working, replace with a reference to python menu.Campbell Barton
2009-09-192.5 - Pose Enhancement Tools Joshua Leung
This commit restores the 'Relax Pose' tool, and also introduces two others: 'Push Pose' and 'Pose Breakdowner'. Be aware that this commit is just the initial starting point, with some parts yet to be done. A short description of these tools follows: * Relax Pose (Alt-E) - makes the current pose more like the poses on either side of it * Push Pose (Ctrl-E) - exaggerates the current pose * Breakdowner (Shift-E)[not working yet] - when this works, it will allow for interactive selection of a good in-between pose to act as a breakdown. Todo's: * Connect up the 'percentage' slider in the operator settings to allow these effects to be dialed in/out, exaggerating/relaxing/moveing-between-keyframes by varying degrees until the desired effect is reached. * Allow these effects to be interactively dialed in/out. The idea is to use the mouse to interactively set the percentage slider value initially, then use the percentage slider to tweak later. * Figure out why breakdown breaks down
2009-07-262.5 - More armature/bone operator tweaks Joshua Leung
* Restored quick operators for moving bones between layers and switching visible armature layers. The popup used here (based on the layers template) is not optimal yet - you can click on multiple layer buttons to enable/disable them, but you need to move your mouse outside the area for it to confirm. * Separate armatures works again. I've tweaked the arguments to ED_object_duplicate() to make this work (besides, the other users of this wouldn't have been affected). * Added some missing special (transform) operators to the menus + keymaps
2009-07-262.5 - Restoring 'set bone setting' operators for Armatures/PoseModeJoshua Leung
In the future, it might be a good idea to look for more efficient alternatives...
2009-07-252.5 - Restored most of the remaining Armature/Pose OperatorsJoshua Leung
* Armature: - added: fill, merge, separate - renamed: duplicate, align * Pose: - added: apply pose * Armature Edit menu has been converted to use operators/layout now