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
2022-06-02Cleanup: remove "<pep8 compliant>" from headersCampbell Barton
It can be assumed that all scripts comply with basic pep8 formatting regarding white-space, indentation etc. Also remove note in best practices page & update `tests/python/pep8.py`. If we want to exclude some scripts from make format, this can be done by adding them to `ignore_files` in: source/tools/utils_maintenance/autopep8_format_paths.py Or using `# nopep8` for to ignore for individual lines. Ref T98554
2022-04-19Cleanup: run autopep8 on release/scripts/startup/Campbell Barton
2022-03-21UI: Use title case for labelsHans Goudey
2022-03-18Animation: Blend To Default ImplementationChristoph Lendenfeld
Add a new operator to the Graph Editor that blends selected keyframes to their default value. The operator can be accessed from Key>Slider Operators>Blend To Default Value Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D9376 Ref: D9367
2022-03-14Revert "Animation: Sensible frame range for motion paths"Sybren A. Stüvel
This reverts commit 1558b270e9fcbc2e23fa248b0e7e770dddae155c. An earlier commit (rB101fadcf6b93c) introduced some new functionality, which was overlooked in reviewing this commit & got broken. Will re-commit after the issue has been fixed. Ref: D13687
2022-02-28Animation: Sensible frame range for motion pathsColin Marmont
Motion paths can now be initialised to more sensible frame ranges, rather than simply 1-250: - Scene Frame Range - Selected Keyframes - All Keyframes The Motion Paths operators are now also added to the Object context menu and the Dopesheet context menu. The scene range operator was removed, because the operators now automatically find the range when baking the motion paths. The clear operator now appears separated in "Selected Only" and "All", because it was not clear for the user what the button was doing. Reviewed By: sybren, looch Maniphest Tasks: T93047 Differential Revision: https://developer.blender.org/D13687
2022-02-11File headers: SPDX License migrationCampbell Barton
Use a shorter/simpler license convention, stops the header taking so much space. Follow the SPDX license specification: https://spdx.org/licenses - C/C++/objc/objc++ - Python - Shell Scripts - CMake, GNUmakefile While most of the source tree has been included - `./extern/` was left out. - `./intern/cycles` & `./intern/atomic` are also excluded because they use different header conventions. doc/license/SPDX-license-identifiers.txt has been added to list SPDX all used identifiers. See P2788 for the script that automated these edits. Reviewed By: brecht, mont29, sergey Ref D14069
2022-01-25Animation: Equalize Handle OperatorKevin C. Burke
The Equalize Handles operator allows users to make selected handle lengths uniform: either respecting their original angle from the key control point or by flattening their angle (removing the overshoot sometimes produced by certain handle types). Design: T94172 Reviewed by: sybren Differential Revision: https://developer.blender.org/D13702
2022-01-07Cleanup: use static sets for comparison, quiet unused arg warningsCampbell Barton
2021-12-25Breakdown ImplementationChristoph Lendenfeld
This patch adds the breakdown (or tween) functionality to the graph editor. The factor defines the linear interpolation from left key to right key. Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D9375 Ref: D9375
2021-12-25Blend To Neighbor ImplementationChristoph Lendenfeld
This patch adds the blend to neighbor operator to the Graph editor. The operator acts like the blend to neighbor operator for a pose context, just working on keyframes. Reviewed by: Sybren A. Stüvel Differential Revision: https://developer.blender.org/D9374 Ref: D9374
2021-11-11UI: Introduce View pie in more editorsPablo Vazquez
#### Motivation The View pie menu is a convenient way to access operators such as `Frame Selected` and `Frame All` which are usually mapped to `PERIOD` or `HOME` keys on the right side of most keyboard, making it hard hard to reach with the left hand. The motivation for this patch comes from working with a 75% keyboard (no numpad). Most laptops face a similar problem. #### Implementation The View pie menu has been added to the following editors and sub-modes where applicable: * Node Editor * Video Sequencer * Dopesheet * Graph * NLA * Image * Clip * Outliner More options could definitely be added to this menu for convenience, as long as it maintains the common options in the same place (Frame Selected on the left, Frame All on the right). For positioning I went with the following layout: {F11791186, size=full} I've added `Zoom 1:1`to the Image Editor and the VSE Preview since there is no way to reset the zoom on keyboards without numpad (unless Emulate Numpad is turned on). The Outliner uses `Show Active` and `Show Hierarchy` which are the closest ones to the equivalent in other editors. Should `Show Active` be renamed to `Frame Selected`? The shortcut assigned is the same as the 3D Viewport (`ACCENT_GRAVE`). #### Screenshots Node Editor {F11778387, size=full} Dopesheet {F11778400, size=full} Graph {F11778403, size=full} Image Editor (Paint and View) {F11791113, size=full} Image Editor (Mask) {F11791114, size=full} UV Editor {F11791119, size=full} Clip Editor (Tracking) {F11791137, size=full} Clip Editor (Mask) {F11791140, size=full} Clip Editor (Graph) {F11791151, size=full} View operators are not yet implemented in Clip Editor Dopesheet mode (left a note about this in the menu poll). Reviewed By: #user_interface, campbellbarton Differential Revision: https://developer.blender.org/D13169
2021-09-17UI: expose "Lasso Select" & "Extrude to Cursor" in menusCampbell Barton
- Show "Lasso Select" in menus (along with Box & Circle select) - Show "Extrude to Cursor" (along with other extrude actions). - Rename operators that add/extrude on Ctrl-Click since their names were inconsistent. This is mainly for discoverability.
2021-03-25Fix T83390: Remove temporary, for-one-release deprecation hintsSybren A. Stüvel
Revert "Point users to new location of "Show Group Colors" option", commit rB6ed6741ee35930bf81fad9a5eb6bb17eea168725. These deprecation hints were intended for one release only, and thus can be removed now.
2021-03-22Cleanup: clang-format, trailing spaceCampbell Barton
Minor manual tweak to prevent wrapping an array into columns.
2021-03-09Graph Editor: FCurve Show Extrapolation ToggleWayde Moss
Adds toggle to graph editor (View->Show Extrapolation). When disabled, then fcurves only draw over the keyframe range. For baked fcurves and ghost fcurves, the range is all sampled points. It is intended for frequent use so anybody could assign hotkey or add to quick favorites that's why GE-View is the best place for it. Show Extrapolation is the default. Reviewed By: sybren, Stan1, looch Differential Revision: http://developer.blender.org/D10442
2020-12-04Point users to new location of "Show Group Colors" optionSybren A. Stüvel
In ad85256e7108 the "Show Group Colors" option was changed from a per-editor option to a user preference. Since so many people wanted to turn this option off, this makes sense. However, this move caused some confusion because the option was just gone from the menu. This commit adds a dummy menu item. It's disabled, and the tooltip explains that the option can now be found in Preferences. T83390 was created to track the removal of these hints. Reviewed by: Severin Differential Revision: https://developer.blender.org/D9735
2020-12-03Fix: remove `show_group_colors` from graph editor menuSybren A. Stüvel
The `show_group_colors` option was moved to the user preferences in ad85256e71, but accidentally remained in the graph editor menu.
2020-10-28Add a Un-Bake FCurves operatorSebastian Parborg
We already had the ability to bake fcurves but no way to convert the baked result back without using python. This patch adds and operator that is available now next to the bake operator in the drop down menu, Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6379
2020-10-19Animation: Improve labels on Snap menu in graph editorSybren A. Stüvel
Add "Selection to" as prefix for those menu items that move the selected keyframes to something, for both the Key → Snap menu and the Shift+S pie menu. No functional changes.
2020-10-16Animation: Snap Cursor Value operatorSybren A. Stüvel
Add operator to snap the 2D Cursor value to selected keyframes. This is doing almost the same as the "Cursor to Selected" operator, except that it doesn't affect the current frame, just the Y-coordinate (the value) of the 2D cursor. The "snap cursor" operators are added to the Key → Snap menu and to the Snap pie menu. This means that these menus are now extended in meaning, to not only mean "snap the selected keyframes to the cursor", but also for some options "snap the cursor to selected keyframes". This fixes T76596.
2020-08-03Fix missing shortcut indicators and crash on shortcut changeJulian Eisel
Fixes T78346. The shortcut display and change code is context sensitive. To make it work correctly the context needs to be set properly. When executing operators from the dropdowns, the active region is the header, but the shortcut handlers are set for the main region. So make sure that is used instead. This also sets the main region active for context menu operators, where this issue shouldn't be present. Doing it anyway shouldn't hurt though and fixes this issue in case somebody displays the context menu in the header as dropdown too.
2020-02-17Keymap: minor tweaks so box-select shortcuts show in the menuCampbell Barton
2019-12-16Cleanup: pep8, unused vars, line lengthCampbell Barton
2019-12-12Cleanup: some variables had unused naming but were usedCampbell Barton
2019-12-04Make curve decimation only take into account the selected curve pointsSebastian Parborg
Previously the decimation would take the whole curve into account when decimating and not just the selected part. This also contains various smaller bug fixes for the fcurve decimation. Reviewed By: Sybren Differential Revision: http://developer.blender.org/D6286
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-11-21Add curve decimate in the graph editorSebastian Parborg
Added a animation curve decimate operator in the graph editor Reviewed By: Sybren Differential Revision: http://developer.blender.org/D4841
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-08-06UI: rename Border to Box SelectCampbell Barton
Missed in previous renaming commits.
2019-08-06Fix T68283: Missing operator in graph context menuCampbell Barton
2019-06-17Fix missing keyframe type operation in dopesheet and timeline context menuJean First
Differential Revision: https://developer.blender.org/D5055
2019-06-11Fix T65393: Error live editing UI scriptsCampbell Barton
Disable relative imports for UI scripts.
2019-05-24Fix T65057: Duplicate from context menu won't workWilliam Reynish
Wrong operator context was used here.
2019-05-19UI: Icons updateWilliam Reynish
A few icons were missed in the last update. - Added dedicated icon for showing hidden objects in the Graph Editor - Added new, more descriptive icon for F-Curve snapshots - Tweaks for Toggle Full Screen and Collections icons This should be the final set for 2.80. Thanks to Andrzej Ambroż for contributing this icon set.
2019-05-07UI: Add copy/paste icons to Graph and Dopesheet editor context menusWilliam Reynish
Consistent with others
2019-04-20UI: remove redundant row for header templateCampbell Barton
If it's members need to be aligned the template can handle it.
2019-04-19Cleanup: mark unused arguments in UI scriptsCampbell Barton
Quiet's pylint W0613 warning, also remove some unused args.
2019-04-18UI: move region toggling to propertiesCampbell Barton
Each space had separate operators, duplicating logic. Use RNA properties instead so adding the ability to toggle other region types (floating redo region for eg) doesn't need to have an extra operator per space type. It's also nicer to show a check-box for something which can be toggled.
2019-03-14Cleanup: unused importsCampbell Barton
2019-03-13Cleanup: pass context to draw method instead of accessing from bpyCampbell Barton
Allows for context overrides/mocking.
2019-03-12Cleanup: rename specials -> context_menuCampbell Barton
In keeping with convention to match code & UI naming. - No user visible changes. - Include 'menu' in the name since context is an overloaded term. - While a few of these are panels, from a user perspective they are still context menus.
2019-02-26UI: Move Pivot next to Orientation in headerWilliam Reynish
-The pivot point and orientation of any transform are strongly related -It matches the comma-key and period-key on the keyboard who are neighbours -We get slightly nicer grouping this way, with the two axis-related options on the left and the two toggles on the right Reviewers: pablovazquez, campbellbarton Differential Revision: https://developer.blender.org/D4413
2019-02-18Markers: Make marker lines in sequencer and graph editor optionalJacques Lucke
- Makes it possible to show a vertical line for every marker in the graph editor. - Makes the marker line visiblity optional in the sequencer and graph editor. Request from @hjalti. Reviewers: brecht Differential Revision: https://developer.blender.org/D4348
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-11-29UI: menu items for Ctrl-Tab dope sheet/graph switchingCampbell Barton
Make this shortcut discoverable.
2018-10-08UI: layout tweaks for headers.William Reynish
* Move all copy & paste operators into the menus. There was no real reason why these particular operators should be in the header and not in the menus, like all other operators * Move ‘Update Automatically’ toggle from UV/Image Editor header into menu. * Move the pin toggle next to the ID blocks, because it is related. * Move OpenGL render from sequence header into View menu. * Sequence editor display mode and channels are now not expanded.
2018-10-05UI: rename Border Select -> Box SelectCampbell Barton
See: T56648