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-11-28Cleanup: 'area' vs 'region'Julian Eisel
Apparently this is the result of some sloppiness during 2.5 project and since then it confused people who were trying to understand the area-region relation (myself included). Sorry if this causes merge conflicts for anyone, but at some point we really had to do it :/
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-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-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
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-07-06Bugfix: Selecting object channels in NLA editor didn't make the object activeJoshua Leung
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-07Style cleanupCampbell 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-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-19style cleanup: switch statements, include break statements within braces & ↵Campbell Barton
indent. also indent case's within the switch (we already did both of these almost everywhere)
2013-07-01NLA Bugfix: When clicking on a channel name in the channel list while still inJoshua Leung
tweakmode, this will now result in tweakmode being exited instead of going into a weird limbo-land where channel selection has changed (but tweakmode is still active but not drawn)
2013-06-09NLA Editor: It is now possible to add strips to AnimData blocks with no existingJoshua Leung
tracks As a convenience feature for those who are loading in action libraries and using these to quickly block out things in the NLA editor, it is now possible to add strips to AnimData blocks without first manually creating empty tracks to add these strips to. Simply ensure that such empty AnimData blocks are selected (Hint: click on the action line of the affected AnimData block to do so), and try to add a strip normally.
2013-05-08code cleanup: remove references to BLI_rand.hCampbell Barton
2013-03-23A major code update for making the DNA file specification of Freestyle settingsTamito Kajiyama
and RNA for it independent of the build flag for enabling Freestyle. Suggested by Sergey Sharybin through a code review of the branch. * Many #ifdef WITH_FREESTYLE blocks were removed to always have Freestyle-specific DNA file specification and RNA for it built in Blender. This will allow Freestyle setting survive even when a non-Freestyle build is used for loading and saving files. It is noted that operations are still conditionally built through #ifdef WITH_FREESTYLE blocks. * To this end, new blenkernel files BKE_freestyle.h and intern/freestyle.c have been added. All API functions in FRS_freestyle_config.h as well as some of those in FRS_freestyle.h were moved to the new files. Now the relocated API functions have BKE_ prefix instead of FRS_.
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-16Some more assorted fixesJoshua Leung
* More duplicate/wrong comments (copy+paste errors) * Brough Calculate/Clear Motion Path UI for bones more in line with the Object version
2013-03-16NLA "Add Track" can now be used to add tracks to previously empty AnimDataJoshua Leung
blocks, provided the blocks in question are in fact selected.
2013-03-14Quick fixes for previous commitJoshua Leung
* Missing word in tooltip for operator * Ensure that filters are set appropriately so that effect is visible immediately
2013-03-14NLA Editor: Operator to add AnimData to selected objects so that they can appearJoshua Leung
This commit introduces an operator in the Add menu - this operator ensures that all selected objects have AnimData attached to them (even if they don't have any actions/drivers yet). By doing this, these objects can at least appear in the NLA Editor, which will allow them to have strips added to them in future without having to create throwaway actions first (NOTE: there's still some stuff coming to allow that). Also, renamed NLA_OT_delete_tracks -> NLA_OT_tracks_delete
2013-03-14Remove OPTYPE_REGISTER flag from click handler operator for anim editorsJoshua Leung
1) It made no sense to show this as the last operator which was used, since these can only be used from the anim editors (and not the 3D View where this panel appears most of the time) 2) Mouse select operators in other places didn't do this 3) There aren't really any editable parameters for this operator anyway 4) It's highly dependent on valid mouse coordinates as input. Apart from that, undo still works fine, so no need to really keep this here.
2013-03-14More AnimData selection fixesJoshua Leung
* Not all supported datatypes would show up in the NLA Properties Region when selected * Clicking on the name part of the "Active Action" tracks now selects the AnimData block that action is attached to
2013-03-14Bugfix: Selecting AnimData "expanders" in AnimEditors works againJoshua Leung
Somewhere along the line, this functionality broke, even though the code to handle these settings was still in place for many of these. The main implication of this fix is that it should now be possible to select a particular AnimData block, which makes it possible to do things such as changing the action associated with that AnimData block (i.e. via the "Animation Data" panel in the NLA Editor), as well as other operations which I've had on the todolist for a while. Stay tuned!
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2012-12-20Another big patch set by Bastien Montagne, thanks a lot!Tamito Kajiyama
* Made Freestyle optional (turned on by default). * Fix for missing bpath.c updates in the previous merge of trunk changes.
2012-10-29Merged changes in the trunk up to revision 51718.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/makesrna/intern/rna_scene.c release/datafiles/startup.blend
2012-10-21style cleanup: trailing tabs & expand some non prefix tabs into spaces.Campbell Barton
2012-08-12Merged changes in the trunk up to revision 49797.Tamito Kajiyama
2012-08-08Disable saving property defaults for many of the properties for animation-editorJoshua Leung
click activated operators to prevent any further errors
2012-07-14Merged changes in the trunk up to revision 48893.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/CMakeLists.txt source/blender/blenloader/intern/readfile.c source/blender/editors/animation/anim_filter.c source/blender/makesrna/RNA_enum_types.h
2012-07-07style cleanup: use c style comments in C codeCampbell Barton
2012-05-12Merged changes in the trunk up to revision 46557.Tamito Kajiyama
Conflicts resolved: source/blender/blenkernel/intern/material.c source/blender/blenkernel/intern/subsurf_ccg.c source/blender/blenloader/intern/readfile.c source/blender/editors/animation/anim_channels_defines.c source/blender/makesrna/intern/rna_scene.c Additional changes: * Fix for recent changes of BKE_* function renaming. * Fix for an "attempt to free NULL pointer" in BlenderStrokeRenderer::RenderStrokeRepBasic().
2012-05-08style cleanup: nlaCampbell Barton
2012-05-05Merged changes in the trunk up to revision 46309.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/editors/interface/resources.c source/blender/editors/mesh/editmesh_tools.c
2012-04-29style cleanup: function calls & whitespace.Campbell Barton
2012-04-29style cleanup: whitespace / commasCampbell Barton
2012-04-01Merged changes in the trunk up to revision 45308.Tamito Kajiyama
Conflicts resolved: source/blender/editors/interface/resources.c source/blender/editors/mesh/editmesh_select.c source/blender/editors/space_view3d/drawobject.c
2012-03-31move debug flag into its own global var (G.debug), split up debug options.Campbell Barton
--debug --debug-ffmpeg --debug-python --debug-events --debug-wm This makes debug output easier to read - event debug prints would flood output too much before. For convenience: --debug-all turns all debug flags on (works as --debug did before). also removed some redundant whitespace in debug prints and prefix some prints with __func__ to give some context.
2012-03-25Merged changes in the trunk up to revision 45133.Tamito Kajiyama
Conflicts resolved: source/blender/blenloader/intern/readfile.c source/blender/blenloader/intern/writefile.c source/blender/bmesh/intern/bmesh_construct.c source/blender/bmesh/intern/bmesh_mesh_conv.c source/blender/bmesh/intern/bmesh_mesh_conv.h source/blender/editors/interface/interface_templates.c source/blender/editors/interface/resources.c source/blender/editors/mesh/bmesh_select.c source/blender/editors/mesh/bmesh_tools.c source/blender/editors/space_view3d/drawobject.c source/blender/render/intern/source/shadeoutput.c
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2011-09-21Merged changes in the trunk up to revision 40413.Tamito Kajiyama
Conflicts resolved: source/blender/makesrna/intern/rna_scene.c
2011-09-19/blender/editors: Removed final points in UI strings and messages.Bastien Montagne
Plus a few cuts in very long lines…