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
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell Barton
2014-11-16Bugfix T41525: Button keyframe indicators don't work correctly when editing ↵Joshua Leung
NLA Strips When the active action is a NLA strip, the keyframe indicator colors for buttons and the 3D view indicator (i.e. the current frame indicator changes color) didn't work correctly. This was because they were still checking for keyframes in "global" time space, whereas they needed to be applying NLA corrections to "look inside" the remapped action.
2014-11-11UI: cleanup odd string-width checkCampbell Barton
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-11-04Cleanup: spelling (D831)Campbell Barton
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-28Markers: optimize drawingCampbell Barton
- avoid 2x glScalef per marker - skip markers outside the view - merge drawing into a single loop
2014-10-28Cleanup: rename draw_markers_time -> ED_markers_drawCampbell Barton
2014-10-28Markers: show the area that handles marker eventsCampbell Barton
2014-10-28Fix T41041: 'Delete keyframe' removes markers tooCampbell Barton
Operators that trigger UI events (but nothing else) were using 'CANCELLED' making it impossible to tell if an invoke function failed, or opened a menu.
2014-10-10Cleanup: (float)floor -> floorfCampbell Barton
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-10-06Fix T40350: Some texture prop did not have visual feedback they were driven.Bastien Montagne
This is only a (hacky) partial fix, actually, since `RNA_property_animated()` will still not work in those cases... Better that than nothing, though. Thanks to Campbell for review.
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-08-26Fix T41590: When scene scale is not 1.0, and units are "None," Blender ↵Bastien Montagne
assumes translations are in meters. Turned out there were several issues in handling of scale parameter by numinput. Fixed that by factorizing more some code in common with 'usual' numbuttons eval code (new `bUnit_getScaleUnit()` helper will return valid scaled value, depending on given system and type). Now, numinput behaves as expected - using default unit amended by scale in case no unit is given (i.e. entering '20' with a scale of 0.01 will give you 20cm, and '20cm' as well!).
2014-08-25Followup to previous commit: fix same wrong numinput handling in other modal ↵Bastien Montagne
ops. Also stumbled uppon 'move marker' code, was needing a bunch of fixes, cleanup and simplification, and added a candy feature - now you will enter numinput values in seconds when editor is in 'time' mode, instead of frames!
2014-08-18Fix T40653: Modified keymap: MMB not behaving like RMB?Bastien Montagne
Modal frame_change was not terminating on mmb release event...
2014-08-05Cleanup: indentationCampbell Barton
2014-07-30BLI_listbase: consistent name prefixCampbell Barton
2014-07-29Fix T41228: Selection of bones bug.Bastien Montagne
Turns out to be mostly some cleanup in Pose select code, got rid of magic numbers (now understand usual SEL_xxx enums) in ED_pose_deselectall(), which was renamed to ED_pose_de_selectall, and have a new bool parameter to ignore visibility status in its process (was the root of the reported issue). Also factorized slightly "(de)select all" code. Yet this area could use much more cleanup probably...
2014-07-19Defines: replace ELEM3-16 with ELEM(...), that can take varargsCampbell Barton
2014-07-10Fix for invalid memory access in graph editor when deleting the lastLukas Tönne
vertex in a fcurve.
2014-07-07Fix for RNA_int/enum mixupCampbell Barton
2014-07-06Code cleanupJoshua Leung
- Fixed incorrect section heading - Missed one place where short was still used when the specific enum type would be more appropriate
2014-07-06NLA/AnimEditors: Added operator to remove all "empty" AnimData blocksJoshua Leung
It is sometimes possible to end up with a lot of datablocks which have old + unused "AnimData" containers still attached. This most commonly happens when doing motion graphics work (i.e. when some linked-in objects may have previously been used to develop a set of reusable assets), and is particularly distracting in the NLA Editor. This commit adds an operator which removes AnimData blocks (restricted to only those which are visible in the animation editor where it is run from) which are "empty" (i.e. that is, have no active action, drivers, and nla tracks or strips). This operator can be found from the "Edit" menu in the NLA Editor. Although it also works when run from the DopeSheet or Graph Editors, it is of less use there since those won't show these empty AnimData blocks by default (since by definition, such AnimData blocks necesarily have no keyframes or drivers that can be shown), hence there will be no feedback if the operator fails or succeeds.
2014-07-04Style cleanupCampbell Barton
2014-06-30Fix T40862: numinput transform did not take into account scale_length.Bastien Montagne
2014-06-24Code Cleanup - Using the enum types in more API signatures instead of ↵Joshua Leung
relying on coders to do the right thing
2014-06-24Code Cleanup - Replacing shorts with bools and enum typesJoshua Leung
2014-06-24Ctrl-F now activates the filter-by-name functionality for Animation EditorsJoshua Leung
2014-06-24Improve doxygen comment to include some type info to make it more usefulJoshua Leung
2014-06-19Bugfix for Elastic and Back easing typesJoshua Leung
** TO BE PORTED BACK TO 2.71 ** As pointed out by Thomas Beck (plasmasolutions), the current behaviour and/or default values for their parameters didn't quite make sense: 1) Back Easing - The old default value of 0.0 results in some overshoot being applied, while trying to tweak it up or down resulted in some odd jumps and discontinities. I've ended up removing some code here which forcibly using a "back" value of 1.7 when users wanted 0.0 instead. There doesn't seem to be any good reason for this. To ensure that there is still an effect initially, keyframes now get created with back set to 1.7 2) Elastic Easing - The old default settings of <amplitude = 0, period = 0> resulted in a curve without any elastic bounce, which wasn't very useful for motion graphics. Now, default values of amplitude = 0.8 and period = 4.1 get set. These were hand picked by Thomas to work well when the duration of the motion is 10 frames long (i.e. the typical length of such effects when doing motion graphics).
2014-06-19Style cleanups hereJoshua Leung
2014-06-16Feature Request T40643: Animation channels can be renamed by double-clicking ↵Joshua Leung
on them too
2014-06-13GSet, GHash: Add BLI_gset_add, since its common to add members to a setCampbell Barton
also rename BLI_edgeset_reinsert -> BLI_edgeset_add, in this case its the same.
2014-06-13Code cleanup: BLI_strdupn -> BLI_strdupCampbell Barton
2014-06-09Quiet assert in debug mode, deleting mask/gpencil keysCampbell Barton
2014-06-06Code cleanup: styleCampbell Barton
2014-05-29Comments: Note direction in doxy argsCampbell Barton
2014-05-29Cleanup: Use doxy for more structured commentsCampbell Barton
2014-05-22For increased type safety, ANIM_animdata_filter() now specifies the enums ↵Joshua Leung
its arguments can use Hopefully this should help prevent bugs lik T40304 from occurring again.
2014-05-22Previous commit uncovered another bug - Ungrouped FCurves couldn't be ↵Joshua Leung
rearranged still This was because to the filtering code, those FCurves still weren't in any groups, and so couldn't be visible (since a temporary group is created to house them). As a result, the visible-channels list would be empty, causing all hidden FCurves to be treated as hidden.
2014-05-22Fix T40304: Rearranging NLA Tracks (and actually, all animation channels) ↵Joshua Leung
didn't work anymore These were broken by 1f3655d224196129fc6daf20e678199b95321bff, since an argument of the wrong type was getting passed to ANIM_animdata_filter(), resulting in no channels ever being picked up for the "visible channels" list.
2014-05-22Bugfix T40292: Trying to rename shapekey datablocks from AnimEditors renamed ↵Joshua Leung
object instead
2014-05-18Fix T40201: Keyframe edits fail to update the viewportCampbell Barton
2014-05-14Fix FCurve mirror ignoring aligned/free handlesCampbell Barton
2014-05-14Fix T40187: Can't set single keyframe handle as VectorCampbell Barton
ANIM_editkeyframes_refresh was testing handle selection as if those handles were transformed. This is already handled by areas which need it, so simply replace testhandles_fcurve -> calchandles_fcurve. This was causing other bugs such as inserting a keyframe changing handles of unrelated fcurves.
2014-05-09Code cleanup: Define a dedicated "channel_role" field for animchannel typesJoshua Leung
This makes it easier for finding the active or first selected channel (where actual data channels need to be favoured over expanders - which come first), as previously, long switch statements were needed everytime.
2014-05-08Bugfix: "Lock time to frame range" didn't work in the Graph EditorJoshua Leung
This uses a different operator than the other time editors (as it needs to support the setting of the value-cursor too), so the changes here didn't get propagated through.