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
2018-07-30Clean Keyframes operator tweaksJoshua Leung
By popular demand, the CLean Keyframes operator will now leave handles and other interpolation settings untouched. Previously, it would recreate the keyframes from scratch, keeping only the frame + value, under the assumption that the handle information was "bad" (i.e. the source of bumps and roughness, due to bad hand tweaking). However, since most animators use this on hand-keyed animation instead of motion-capture data, this assumption didn't hold, and was actually overly destructive - wiping out lots of hand-adjusted curve data.
2018-06-07Cleanup: remove moar G.main usages.Bastien Montagne
Notes: * Really need to address RNA setters case, end up adding way too much G.main here these days... :/ * Added Main pointer into bAnimContext, helps a lot in anim code ;)
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-06-01Cleanup: trailing whitespace (comment blocks)Campbell Barton
Strip unindented comment blocks - mainly headers to avoid conflicts.
2017-11-19Fix T53229: "Sample Keyframes" errors with multiple pairs of keyframes selectedJoshua Leung
There were 2 issues here (first was the one reported): 1) Curve shape changes if multiple consecutive pairs of keyframes are selected. The problem is that after the first pair is handled, subsequent pairs get sampled on the basis of the modified curve. 2) With multiple separate "islands" selected, unselected points in between would get ignored, causing the entire curve to get sampled.
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-01-16Cleanup/refactor: move BKE_deform_flip_side_name & co to BLI_string_utilsBastien Montagne
Functions like that do not have anything to do in BKE really, even less when actually more used for bones than vgroups!
2017-01-16Cleanup/refactor: get rid of fixed name limit in BKE_deform_flip_side_name & co.Bastien Montagne
Those were forcing to use vgroup name define in bones area, or even mixing with maxbonename... ugly, and totally avoidable.
2016-04-15Code Cleanup: Add proper defines (with ANIM_* prefix) for animation-related ↵Joshua Leung
copy-paste buffer free callbacks
2016-03-13Keyframing: Added ToolSetting for choosing default keyframe typeJoshua Leung
To make it easier for animators working in a multipass pose-to-pose workflow when inserting breakdown keyframes and so forth, it is now possible to specify the "type" of keyframe being created (i.e. the colour of the keyframe, when drawn in the Dope Sheet). Usage: 1) Choose the type of keyframe ("Keyframe", "Breakdown", "Extreme", etc.) from the new dropdown located between the AutoKeying and KeyingSet widgets on the timeline header. 2) Insert keyframes 3) Rejoyce that your newly created keyframes have now been coloured for you already in the DopeSheet. Todo: * Look into a way of using the actual keyframe colours (from the theme) for the icons of these types.
2016-02-05Fix T46037: Moving keys in NLA tweak mode on offset actions results in ↵Joshua Leung
Bezier handles getting stretched unreasonably Patch by Alexander Gavrilov (angavrilov) Reviewed by Joshua Leung (aligorith)
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-11-23Cleanup: use `rna_enum_` prefix for RNA enumsCampbell Barton
Definitions could shadow local vars.
2015-10-01Fix T46321: 3D view not refreshed immediatelly after pasting keyframe in ↵Joshua Leung
dope sheet (for a single channel)
2015-08-06Fix T45166: Keyframes pasted at wrong position when NLA strip has offsetJoshua Leung
Paste keyframes code seemed to have overlooked the NLA mapping issue, causing keyframes to get pasted in the wrong places.
2015-07-29Clean channels tool for Hwoozeberry.Antony Riakiotakis
Basically it's a clean keyframes tool, but also removes a channel if the only remaining keyframe has the default value only and is not used by drivers or generative modifiers. It's was used to help with performance of keyframe-heavy scenes in gooseberry. Note, as always the curve left after the clean tool is used is not the same as the original, so this tool is better used before doing custom editing of fcurves and after initial keyframe insertion, to get rid of any unwanted keyframes inserted while doing mass keyframe insertion (by selecting all bones and pressing I for instance)
2015-07-09Curve selection, de-duplicate & cleanupCampbell Barton
2015-05-06Cleanup: use functions we already use elsewhere for bone detectionAntony Riakiotakis
instead of the ninja code that we use now.
2015-04-10Only selected keys will get cleaned by the action and graph cleanAntony Riakiotakis
operators
2015-03-16Fix T43997: Paste fcurve keeps handle selectionCampbell Barton
2015-02-06cleanup: styleCampbell Barton
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-12Cleanup: styleCampbell Barton
2015-01-10Fix building with very strict flags, use size_t rather than int for string ↵Bastien Montagne
length. Reported on bf-committers.
2015-01-10cleanup: style & warningsCampbell Barton
2015-01-09BLI_string: BLI_str_ends_with -> BLI_str_endswithCampbell Barton
Loosely following Python str convention.
2015-01-09Gooseberry animation request: Paste flipped pose in actionAntony Riakiotakis
and graph editor. This was a tricky commit that was not so straightforward to make work. The information for bones is not easy to come by in the animation curves, however we do have some string manipulation tricks to make it happen. Testing in gooseberry worked for the rigs there, commiting to master now
2014-11-29Cleanup: unused headersCampbell Barton
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-08-27Fix T41266: Copy and paste operation on f-curves do not respect keyframe ↵Bastien Montagne
tangent handles... Added an extra option to `insert_bezt_fcurve()`, to allow full override of existing keyframes when pasting (in this case, we do not want to inherit handles from existing curve!).
2014-08-27CleanupCampbell Barton
2014-05-29Cleanup: Use doxy for more structured commentsCampbell Barton
2014-05-18Fix T40201: Keyframe edits fail to update the viewportCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-03-22A few spelling fixesJoshua Leung
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-25UI: remove unnecessary confirmation popupsEmanuel Claesson
This makes a number of operators no longer ask for confirmation, rather it will show an info message after performing the operation. Ref T37422 for decision. In particular, these were changed: * Delete objects, bones, keyframes, masks, mask curves, motion tracks, markers. * Clear and delete keyframes in the 3D view. * Align bone to parents. * Separate bones from armature. * Group/ungroup metastrips in sequencer. * Copy/paste objects to/from buffer. Reviewed By: brecht, dingto Differential Revision: http://developer.blender.org/D35
2013-07-27Style Cleanup for r.58659Joshua Leung
Use proper RNA API function that was designed to be used in this case instead of using ugly syntax
2013-07-27fix for possible use of uninitialized variable in pastebuf_match_path_property()Campbell Barton
wasn't checking if RNA_path_resolve() succeeded.
2013-05-26code cleanup: typosCampbell Barton
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-09-04code cleanup: move file string defines into BLI_path_utils.h, ↵Campbell Barton
BKE_utildefines is now unused but keep incase we want to add defines there later.
2012-06-17style cleanup:Campbell Barton
also fix for building ghost test and fix double free in one of the tests
2012-06-11Cosmetic fixesJoshua Leung
* PoseBone struct didn't have an icon * Comment fixes (stil referenced IPO's)
2012-06-11fix for crashes in smooth-curves and clean-curves fcurve operators - missing ↵Campbell Barton
NULL checks.
2012-06-10style cleanup: use capital camel case names for typedef'sCampbell Barton
2012-06-01Action Group Colors for Bones (Part 2)Joshua Leung
Colors used by Bone Groups are now copied/assigned to Action Groups too when they're created now. This completes the work started in r.46960 to restore this functionality from 2.48. Currently, there is no control over when/whether these colors are copied over (although it is possible to disable the display of these colors for relevant animation editors if desired). Originally I was going to make this a more generic Keying Sets feature, though that turned out to be a bit too complex to manage. Other notes: * Split out the code for copying colors to a common library function