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
2015-09-11Fix T45755: Bad NLA text alignmentCampbell Barton
2015-08-25Action Management Feature Request/Regression T45535Joshua Leung
By popular request, restored the ability to shift-click on the X (unlink) button to unlink the action (from the active action slot), clear the Fake User, and also remove the NLA-stashed copy (only works for the current object/NLA stack though).
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-04SCons: Fix for really nasty bug with polluting configuration environmentSergey Sharybin
The issue was caused by the following construction: def = env['SOMETHING'] defs.append('SOMETHING_MORE') Since first assignment was actually referencing environment option it was totally polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-07-01Cleanup: Use bool instead of intJulian Eisel
2015-07-01Cleanup: use boolsCampbell Barton
2015-04-21BLI_string: add BLI_snprintf_rlenCampbell Barton
use when the length of the destination string is needed.
2015-04-14Fix for another NLA drawing bug uncovered by the previous commitJoshua Leung
With multiple strips in tweakmode, only the one tagged as being "active" would get drawn in the correct colours, while all the others would just get drawn as a selected strip instead.
2015-04-14NLA: Shift-Tab toggles tweakmode AND makes that track soloJoshua Leung
To help make it more convenient to edit stashed actions, Shift-Tab (i.e. holding down the Shift key, which "tabbing" into tweakmode as usual to edit the action referenced by the active NLA strip) now flags the NLA Track that the strip occupies as being "solo" too. This allows you to use the NLA to select a stashed action, then Shift-Tab to start editing it without any other actions in the NLA stack interfering. Like the "Next/Previous Layer" tools in the Action Editor, this is designed to help with checking on stashed actions.
2015-04-04Cleanup: use BKE_animdata_* prefixCampbell Barton
2015-04-04WIP: Added dedicated operator for unlinking actions from the Action Editor ↵Joshua Leung
(NLA buttons support to come) After looking into this more carefully, I've found that we do in fact need a dedicate operator to add some custom logic when trying to unlink an action from the editor/datablocks. Specifically, this new operator does the following: 1) When in Tweak Mode, it shouldn't be possible to unlink the active action, or else, everything turns to custard. 2) If the Action doesn't have any other users, the user should at least get a warning that it is going to get lost. 3) We need a convenient way to exit Tweak Mode from the Action Editor 4) If none of the above apply, we can just unlink normally This commit implements this for the Action Editor, with stubs for the NLA Editor too. Those will be fixed next.
2015-04-03Fix: Drawing glitch when renaming animation channelsJoshua Leung
When renaming animation channels, the old names are no longer drawn behind the text boxes anymore. This used to cause problems if the names were long, or if text boxes were set to have transparent backgrounds. Thanks to kopias for reporting on IRC.
2015-03-30Cleanup: use const for typeinfoCampbell Barton
2015-03-30Cleanup: use const for typeinfoCampbell Barton
2015-02-28NLA Drawing TweaksJoshua Leung
* Strips in muted tracks are also drawn with dotted borders now to make it clearer that they are not contributing. TODO: * Perhaps dotted should be used for protected, and opacity for muted instead?
2015-01-25Crash when deleting NlaTrackRomanov Alexander
Steps to reproduce: 1) Create an object, animated with shape keys 2) Copy it with Alt-D 3) Push action down to nla track 4) Select that track and delete it In attached file 1-3 steps are completed. {F138559} Alexander (Blend4Web Team) Reviewers: aligorith Subscribers: yurikovelenov, Evgeny_Rodygin, valentin_b4w, AlexKowel Differential Revision: https://developer.blender.org/D1015
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2014-12-05Fix for typo + memory leakJoshua Leung
2014-12-05Bugfix T42697: Hiding/unhiding NLA strip doesn't update the 3D ViewportJoshua Leung
The Toggle Muting operator was missing code to tag the animation to get recalculated. This was also missing from a few other operators too, including Snap, and Add/Paste FModifiers .
2014-11-30Grease Pencil - Storyboarding Features (merge from GPencil_EditStrokes branch)Joshua Leung
This merge-commit brings in a number of new features and workflow/UI improvements for working with Grease Pencil. While these were originally targetted at improving the workflow for creating 3D storyboards in Blender using the Grease Pencil, many of these changes should also prove useful in other workflows too. The main highlights here are: 1) It is now possible to edit Grease Pencil strokes - Use D Tab, or toggle the "Enable Editing" toggles in the Toolbar/Properties regions to enter "Stroke Edit Mode". In this mode, many common editing tools will operate on Grease Pencil stroke points instead. - Tools implemented include Select, Select All/Border/Circle/Linked/More/Less, Grab, Rotate, Scale, Bend, Shear, To Sphere, Mirror, Duplicate, Delete. - Proportional Editing works when using the transform tools 2) Grease Pencil stroke settings can now be animated NOTE: Currently drivers don't work, but if time allows, this may still be added before the release. 3) Strokes can be drawn with "filled" interiors, using a separate set of colour/opacity settings to the ones used for the lines themselves. This makes use of OpenGL filled polys, which has the limitation of only being able to fill convex shapes. Some artifacts may be visible on concave shapes (e.g. pacman's mouth will be overdrawn) 4) "Volumetric Strokes" - An alternative drawing technique for stroke drawing has been added which draws strokes as a series of screen-aligned discs. While this was originally a partial experimental technique at getting better quality 3D lines, the effects possible using this technique were interesting enough to warrant making this a dedicated feature. Best results when partial opacity and large stroke widths are used. 5) Improved Onion Skinning Support - Different colours can be selected for the before/after ghosts. To do so, enable the "colour wheel" toggle beside the Onion Skinning toggle, and set the colours accordingly. - Different numbers of ghosts can be shown before/after the current frame 6) Grease Pencil datablocks are now attached to the scene by default instead of the active object. - For a long time, the object-attachment has proved to be quite problematic for users to keep track of. Now that this is done at scene level, it is easier for most users to use. - An exception for old files (and for any addons which may benefit from object attachment instead), is that if the active object has a Grease Pencil datablock, that will be used instead. - It is not currently possible to choose object-attachment from the UI, but it is simple to do this from the console instead, by doing: context.active_object.grease_pencil = bpy.data.grease_pencil["blah"] 7) Various UI Cleanups - The layers UI has been cleaned up to use a list instead of the nested-panels design. Apart from saving space, this is also much nicer to look at now. - The UI code is now all defined in Python. To support this, it has been necessary to add some new context properties to make it easier to access these settings. e.g. "gpencil_data" for the datablock "active_gpencil_layer" and "active_gpencil_frame" for active data, "editable_gpencil_strokes" for the strokes that can be edited - The "stroke placement/alignment" settings (previously "Drawing Settings" at the bottom of the Grease Pencil panel in the Properties Region) is now located in the toolbar. These were more toolsettings than properties for how GPencil got drawn. - "Use Sketching Sessions" has been renamed "Continuous Drawing", as per a suggestion for an earlier discussion on developer.blender.org - By default, the painting operator will wait for a mouse button to be pressed before it starts creating the stroke. This is to make it easier to include this operator in various toolbars/menus/etc. To get it immediately starting (as when you hold down DKEy to draw), set "wait_for_input" to False. - GPencil Layers can be rearranged in the "Grease Pencil" mode of the Action Editor - Toolbar panels have been added to all the other editors which support these. 8) Pie menus for quick-access to tools A set of experimental pie menus has been included for quick access to many tools and settings. It is not necessary to use these to get things done, but they have been designed to help make certain common tasks easier. - Ctrl-D = The main pie menu. Reveals tools in a context sensitive and spatially stable manner. - D Q = "Quick Settings" pie. This allows quick access to the active layer's settings. Notably, colours, thickness, and turning onion skinning on/off.
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-16Cleanup: use BLI_listbase_count_ex to avoid redundant loopingCampbell Barton
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell 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-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-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-07-07Fix for RNA_int/enum mixupCampbell Barton
2014-07-06Bugfix: Selecting object channels in NLA editor didn't make the object activeJoshua Leung
2014-06-24Ctrl-F now activates the filter-by-name functionality for Animation EditorsJoshua Leung
2014-05-29Comments: Note direction in doxy argsCampbell Barton
2014-05-29Cleanup: Use doxy for more structured commentsCampbell Barton
2014-05-18Fix T40201: Keyframe edits fail to update the viewportCampbell Barton
2014-05-13More UI messages fixes and tweaks.Bastien Montagne
2014-05-13Usual typo and style fixes in UI messages...Bastien Montagne
2014-05-09Tweaking tooltip for NLA tweakmode enter to be a bit more descriptiveJoshua Leung
2014-05-09NLA Editor Bugfix: Select NLA tracks too when selecting stripsJoshua Leung
2014-05-09NLA Editor: View selected also recenters the view now (as in the DopeSheet ↵Joshua Leung
Editor)
2014-05-07Style cleanupCampbell Barton
2014-05-05Fix: T40016 ID Names translated in menusCampbell Barton
2014-05-05NLA Pushdown Operator: Active animdata option + More error handlingJoshua Leung
* If channel_index = -1, the pushdown operator will try to use the active AnimData block. To see which one this will be, check the properties (NKEY) region in NLA Editor. * Added more detailed error handling for the various cases where things are not in a valid state for pushing down an action. This is notably to stop scripters from putting the NLA into an inconsistent state.
2014-05-05NLA Editor: Added dedicated operator for the pushdown operationJoshua Leung
2014-05-05Code Cleanup: Remove old deprecated NLA channel drawing codeJoshua Leung
2014-05-05NLA Editor: Second part of porting NLA Action channel to standard drawing systemJoshua Leung
This now works (barring one or two minor glitches and the operator on the pushdown button being a bit of a hack). The old drawing code is still in place though, and will be kept around for a little while yet while the last kinks are ironed out.
2014-05-05NLA Editor Drawing: Set up AnimChannelType callbacks for drawing NLA EditorJoshua Leung
This commit lays some of the groundwork needed to port the last of the NLA Editor channel types that's still defined using custom code. By moving this code over to the newer standardised framework, this will enable widgets to have tooltips to make it easier for users to find out what various buttons do. Currently this isn't hooked up to anything though.
2014-05-04Code cleanup: Use enum instead of int in function signatures for ↵Joshua Leung
bAnimChannelType settings callbacks
2014-05-04NLA Editor: Display "tweaking action" status indicator icon in place of ↵Joshua Leung
action-type icon Instead of displaying the "tweaking action" status indicator icon on the right hand side jammed against the mapping/no-mapping toggle (pin), this is now displayed as in place of the action icon used on the left (as the type indicator). This is less messy than the previous situation, which was needed partly due to the abuse of an unsuited icon.
2014-05-04NLA Editor: Added dedicated icons for "pushdown" operator and for indicating ↵Joshua Leung
the "tweaking" state 1) The "pushdown" operation is the actual name for the functionality previously represented by the snowflake. That is, pushing the active action onto the NLA stack as a new strip. The icon that is introduced here is the icon I originally wanted to use here for this purpose (but couldn't at the time the NLA was coded as we didn't have the master SVG available yet). I'm making this change now to hopefully make the "animation-layers" intentions behind the NLA design a lot clearer than they have been so far. 2) Also added a dedicated icon for representing that the active action is in the "tweaking" state (i.e. we're editing a particular strip's action). Previously we were abusing an icon designed for an entirely different purpose, mainly since its identifier looked like it would work.