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
2021-01-26UI: Fix ugly alignment of timeline popover buttonsHans Goudey
Apparently things have changed since {rB98d205508977a6f72bf55}, and putting the buttons in two separate rows is no longer enough to keep the right-most popover button in the timeline header from aligning with the menu buttons. This just adds a separator large enough to avoid the alignment.
2020-12-16Cleanup: pep8Campbell Barton
2020-10-29Anim UI: Playback Sync menu improvementSybren A. Stüvel
Relabel the Playback Synchronisation menu so that it's clear: - what does happen (instead of describing what does //not// happen), and - that the synchronisation options don't just affect audio. The changes are: - Change label from "Audio" to "Sync" - Change the labels of the sync enum: - No Sync → Play Every Frame - Frame Dropping stays the same - AV-sync → Sync to Audio The "Audio" label has moved one option down, as that option does actually relate to audio. Reviewed By: looch, Severin, HooglyBoogly, campbellbarton Differential Revision: https://developer.blender.org/D9269
2020-10-06UI: Add auto keyframing popoverHans Goudey
For other areas in Blender that have a toggle and related settings, we put a popover with the settings right next to the toggle. This combination is nice because it organizes the settings without making interaction slower. It also makes the settings more discoverable since they're right next to the toggle. Differential Revision: https://developer.blender.org/D8537
2020-09-17Cleanup: don't register dope-sheet header typesCampbell Barton
These are only used to hold static methods, there is no reason to register them.
2020-09-07UI: Changes to timeline playback popoverHans Goudey
The current playback popover has some issues: - Using labels instead of headers is inconsistent with the rest of the interface - Incomplete context and description for some properties - Ugly large spacing This commit fixes these problems by using headers. Differential Revision: https://developer.blender.org/D8434
2020-07-01UI: use term 'Current Frame' instead of 'Playhead'Campbell Barton
Keep terminology consistent, 'Current Frame' is used nearly everywhere.
2020-05-15Fix T76778: Dopesheet "Show Errors" affects timelineSybren A. Stüvel
Since the timeline is a variation of the dopesheet, it also respects some of the dopesheet settings. The "Selected Only" setting is overridden from a scene property (since rB4904eadc0f38) and the "Display Hidden" dopesheet setting seems to be ignored. This commit adds the remaining "Show Errors" setting to the menu, allowing it to be updated from the timeline.
2019-12-12Cleanup: some variables had unused naming but were usedCampbell Barton
2019-11-30UI: allow to hide markers region per editorAlessio Monti di Sopra
Instead of having the option to show marker lines, make the marker region optional. - Added a Show Markers entry in the View menu of the animation editors. - If the markers region is not active then the Marker menu gets hidden. - Removed marker menu from the driver editor and don't allow to use marker operators.
2019-08-27UI: fix jumping of play/pause buttons, add more space when showing subframesYevgeny Makarov
Differential Revision: https://developer.blender.org/D5604
2019-08-22UI: Remove "Show Frame Indicator" optionJacques Lucke
This option was doing nothing in Blender 2.80. I don't really see a reason for keeping it around. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5552
2019-04-19Cleanup: use staticmethod where appropriateCampbell Barton
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-03-13Cleanup: redundant staticmethod useCampbell Barton
staticmethod shouldn't be used unless it's necessary, in that case a comment should be included especially when subclassing non-staticmethods from RNA.
2019-03-13Cleanup: pass context to draw method instead of accessing from bpyCampbell Barton
Allows for context overrides/mocking.
2019-02-26UI: Show marker lines in remaining animation spacesJacques Lucke
This also includes fixed/slighly refactored drawing code for marker lines. The old code used the wrong height. Reviewers: brecht Differential Revision: https://developer.blender.org/D4411
2018-12-21RNA: naming, user-preferences -> preferencesCampbell Barton
2018-12-20UI: correct error in recent UI cleanupCampbell Barton
2018-12-20Cleanup: remove intermediate menu drawing functionCampbell Barton
2018-12-17Merge branch 'master' into blender2.8Campbell Barton
2018-12-17Cleanup: use 'tool_settings' name everywhere in UI scriptsCampbell Barton
2018-10-31Add an option to do keyframe insertion in a cycle-aware fashion.Alexander Gavrilov
When enabled, inserting keyframes into F-Curves with simple cyclic extrapolation (the same conditions as required for cycle-aware auto handle smoothing to activate) will take the cycle into account: - Keyframes that are being inserted outside of the cycle bounds are remapped to be inside the cycle. Thus it is not necessary to be within the main iteration of the cycle when tweaking. This becomes especially useful in the final animation tweaking phase when the channel keys may be staggered for overlap, so the actual master period is different for different channels. - Modifying one of the end points of a cycle also changes the other end point when appropriate, to preserve smooth transition. This feature applies to both manual keyframe insertion using 'I', and auto-keyframing. Differential Revision: https://developer.blender.org/D3140
2018-09-06UI: rename Translate/Grab to Move in UI, shortcuts stay the same.Brecht Van Lommel
2018-08-28Fix some UI script errors after recent keyword changes.Roel Koster
Differential Revision: https://developer.blender.org/D3654
2018-08-28UI: text keyword argument to labelCampbell Barton
Prepare for keyword only args
2018-08-15Fix T55587: bugs with popovers in collapsed menus, like the timeline header.Brecht Van Lommel
2018-07-13UI: remove space/region from popover argsCampbell Barton
Instead use global panel-type list.
2018-07-02Fix ugly half alignment in timeline header.Brecht Van Lommel
2018-07-02UI: Header consistency for animation editorsPablo Vazquez
2018-06-26Merge branch 'master' into blender2.8Campbell Barton
2018-06-11UI: split left/right header buttonsCampbell Barton
- Added flexible separators to Clip, Graph, Dopesheet, Image, Node, Timeline, 3D View. - Added graying out for Proportional Editing menus to avoid popping when right-aligned. - Slightly re-arranged some controls, so they can be on correct side of the separators. Patch by @billreynish
2018-06-11UI: Separator spacerDalai Felinto
This support layout.separator_spacer() to be used by headers as a way to dynamically separate the ui buttons. Right now no UI file is changed, though we can use this right away in the timeline, and shortly after in the viewport header (moving settings from the topbar to it). Original design by William Reynish. Review: Campbell Barton D3468
2018-06-05Merge branch 'master' into 28Campbell Barton
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-05-25Timeline: Move Keying settings from sidebar to header as popoverPablo Vazquez
Having them on the sidebar means we have to expand the editor every time.
2018-05-24UI: View menu area operators now in submenuCampbell Barton
2018-05-10Timeline Header Cleanup - Part 3: Consolidate options in a "Playback" popoverJoshua Leung
The "Playback" popover now combines options from several old menus and scattered around in other places.
2018-05-10Timeline Header Cleanup - Part 2: Rearrange buttons (WIP)Joshua Leung
NOTE: This is all still heavily WIP, and still requires some additional layout engine magic to make it all nice. * Moved current frame, and start/end frame buttons to the end * Put playback controls in the center * Remove other more obscure buttons (e.g. Frame menu, lock frame to frame range) More to follow in next commit...
2018-05-10Timeline Header Cleanup - Part 1: Move Keying Set + Autokeying Settings to ↵Joshua Leung
Properties Region (NKEY) Now all Keying Set and Auto Keyframing settings can be found the in NKEY Properties Region (right-hand-side hidden tab/drawer). This way, we have more room to display the full names of the settings, without clogging up the timeline header.
2018-05-03Cleanup "Sync Mode" (i.e. Av Sync/Framedropping) stuffJoshua Leung
* Remove the "sync_mode" dropdown from timeline header, and move it into the Playback menu instead. * Remove the confusing "Frame Dropping" and "AV Sync" entries from the Playback menu. These were supposed to be mutually exclusive (or else, the "sync_mode" menu would break). * Turn AV Sync on by default * Commented out the Frame Dropping and Av Sync RNA Properties too. THere doesn't seem to be any valid reason for these to exist?
2018-04-30Fix: UI layout for "Pause" button on timeline header was broken (leaving a gap)Joshua Leung
A recent change in the UI layout code probably broke how the scale_x for layouts was getting handled. This was leaving a large gap (and causing layouts to pop) when trying to scrub the timeline. This commit fixes this with a manually-found value that largely seems to get rid of the popping problem. There's still a little jumping (1-2 px) but it's less distracting now.
2018-04-24Markers: Move "Bind Camera to Marker" from 'View' Menu to the Markers menu ↵Joshua Leung
proper It was always weird that this tool for markers was stored in a different menu where it was hard to find.
2018-04-23Fix: View All/Selected entries in new "timeline" not workingJoshua Leung
These entries were still referring to the old standalone timeline editor
2018-04-20Dopesheet-Timeline: Removal of Timeline Editor!Joshua Leung
This commit removes all references to the old timeline editor. Unfortuantely, the removal of the Timeline spacetype defining functions has ended up breaking the version patching code I'd been working on earlier (as now, the editor gets marked as "unknown/info" before we get a chance to patch it!)
2018-04-20Move the set start/end frame operators from Timeline to Animation moduleJoshua Leung
Eventually the idea is that they'll get remapped to some more global/generic hotkey that can get used across all animation editors (see T54728). However, to facilitate the removal of the timeline editor, it's better we do this now.
2018-04-20Dopesheet-Timeline: First steps towards making the Timeline a mode of the ↵Joshua Leung
DopeSheet Editor For many years, animators have been requesting the ability to edit keyframes in the timeline. However, implementing such tools in the timeline quickly becomes a slippery slope, where we'll eventually end up having to duplicate all the functionality from the dopesheet editor. Discussing with William and Pablo this morning, we realised that perhaps it might be possible to just make the Timeline a mode of the Dopesheet Editor (and kill off the old standalone Timeline), meaning that we essentially get all the Dopesheet Editor goodness for free! Also, with some proposed UI updates (i.e. allowing "submodes" of editors to be part of the the main editors selector), it might not even matter that there isn't an "actual" timeline editor anymore. This commit implements the following changes (which are actually sufficient for supporting most basic workflows): * Timeline mode in Dopesheet Editor * Tweaks to UI code to make the Timeline header/menus show up in Dopesheet editor TODO: * Hide channels list when switching to timeline mode * Port over cache-file indicators * Add missing timeline-only settings that need a new home in the dopesheet * Go through fixing all timeline editor operators (e.g. Bind to camera) * Port over start/end frame shading (and adjust preview range rendering to make the distinction between these clear) * Remove old timeline editor, and transfer over any leftover code
2018-03-05Error passing context arg to marker menuCampbell Barton
own mistake in 6981861fcfd
2018-02-07Cleanup: Python context accessCampbell Barton
Avoid access from bpy when it's already declared.
2017-06-09UI: Fix some small ui inconsistenciesAaron Carlisle
- Use "..." to indicate non immediate action. - First letter of words in labels should be capitalized.