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
2019-04-09Cleanup: styleCampbell Barton
2019-04-05Interface: New region type 'Footer', used by text editorGeorge Vogiatzis
* It can be hidden by dragging it up/down. * It can be at the top or bottom, independent of the header. * It uses the color theme from the header. * It does not change its color, when the area becomes active. Currently, it is used in the text editor to display the file path. Differential Revision: https://developer.blender.org/D4601
2019-03-14Fix T62425: topbar showing wrong buttons at some UI scales.Brecht Van Lommel
2019-03-13Fix T62436: New added Torus won't appear in Local ViewCampbell Barton
Add Object.local_view_get/set Alternate fix which supports removing from local view & checking if an object is in local view. Also avoids redundant refresh. Matches 2.7x Object.layer_local_view capabilities more closely, without exposing the flag directly.
2019-03-09Merge branch 'blender2.7'Julian Eisel
Conflicts: intern/cycles/blender/addon/properties.py intern/cycles/device/opencl/opencl_split.cpp
2019-03-09Fix stashed full-screens returning to wrong layoutJulian Eisel
Steps to reproduce were: * Maximize area (Shift+Spacebar in 2.7, Ctrl+Spacebar in 2.8) * Open temp file browser (Ctrl+O) * Cancel file browser (Esc) - should return to previous full-screen * Press "Return to Previous" button The previously maximized area would turn into a file-browser. Note that the issue will still happen when opening old files saved while in maximized area full-screen.
2019-03-09Fix T57655: Crash opening 2.79 file saved with maximized areaJulian Eisel
During screen to workspace/workspace-layout conversion, the first layout of each workspace would be activated. For temporary full-screens, this used to be the full-screen layout (IIRC), apparently it's now the the layout to return to on "Back to Previous". So the 'previous' layout would be activated, not the full-screen one. When actually pressing "Back to Previous" now, the operator would first free the active layout (which it assumes to be the temp full-screen - wrongly in this case) and then try to activate the non-full-screen one, causing use-after-free.
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-02-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-16Cleanup: rename SPACE_IPO -> SPACE_GRAPHCampbell Barton
2019-02-06Fix T61136: Header alignment preference has no effectCampbell Barton
Users expect this to apply to existing files, adjust this to apply on load, defaults to off.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-05UI: Preferences Redesign Part 2Severin
(Part 1 was 00963afc14978b) Does the following changes visible to users: * Use panels and sub-panels for more structured & logical grouping * Re-organized options more logically than before (see images in D4148) * Use flow layout (single column by default). * New layout uses horizontal margin if there's enough space. * Change size of Preferences window to suit new layout. * Move keymap related options from "Input" into own section. * Own, left-bottom aligned region for Save Preferences button. * Adjustments of names, tooltips & icons. * Move buttons from header into the main region (except editor switch). * Hide Preferences header when opened in temporary window. * Use full area width for header. * Don't use slider but regular number widget for UI scale. * Gray out animation player path option if player isn't "Custom" Internal changes: * Rearrange RNA properties to match changed UI structure. * Introduces new "EXECUTE" region type, see reasoning in D3982. * Changes to panel layout and AZone code for dynamic panel region. * Bumps subversion and does versioning for new regions. RNA changes are documented in the release notes: https://wiki.blender.org/wiki/Reference/Release_Notes/2.80/Python_API/Preferences_API Design & implementation mostly done by @billreynish and myself. I recommend checking out the screenshots posted by William: https://developer.blender.org/D4148#93787 Reviewed By: brecht Maniphest Tasks: T54115 Differential Revision: https://developer.blender.org/D4148
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-11-12Revert "Fix for hidden regions becoming active"Campbell Barton
This reverts commit 484faaea4f314d4c598b77d56cf7fe5a167afcc0. Causes T57729, will look into an alternative fix.
2018-11-07Cleanup: remove some useless BKE_library and BKE_main includes.Bastien Montagne
Makes it simpler to make some changes... Also fix order of some includes (use alphabetical please).
2018-11-07Fix for hidden regions becoming activeCampbell Barton
2018-10-29UI: Vertical Properties Editor TabsJulian Eisel
Moves the Properties editor context switching to a vertical tabs region. Design Task: T54951 Differential Revison: D3840 The tabs are regular widgets, unlike the 'old' toolshelf tabs. This means they give mouse hover feedback, have tooltips, support the right-click menu, etc. Also, when vertical screen space gets tight, the tabs can be scrolled, they don't shrink like the toolshelf ones. The tab region is slightly larger than the header. The tabs are scaled up accordingly. This makes them nicely readable. The header is quite empty now. As shown in T54951, we wanted to have a search button there. This should be added next. Implementation Notes: * Added a new region type, RGN_TYPE_NAVIGATION. * Having the tabs in a separate region allows scrolling of the tab-bar, unlike the toolshelf tabs. We might want to remove the scrollbars though. * Added a new region flag RGN_FLAG_PREFSIZE_OR_HIDDEN, to ensure the tab region is either hidden or has a fixed size. * Added some additional flags to support fine-tuning the layout in panel and layout code. * Bumps subversion.
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-02Cleanup: comment blocksCampbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-22Cleanup: styleCampbell Barton
2018-08-21Fix T56472: maximizing editors does not preserve top/status bar hiding.Brecht Van Lommel
2018-08-17UI: save statusbar/topbar collapsed state per screen.Brecht Van Lommel
This can now also be set from the Window menu in addition to dragging.
2018-08-17Fix GPU_viewport size asserts in some cases.Brecht Van Lommel
Now always tag for redraw when region size is changed instead of relying on a redraw tag having been done elsewhere.
2018-07-15WM: rename manipulator to gizmo internallyCampbell Barton
2018-07-06fix c++ comment style in 3cc2a9b934d0Philipp Oeser
2018-07-06Fix T55581: kill running (render) jobs when deleting a scenePhilipp Oeser
also fixed passing WM_JOB_TYPE_ANY to WM_jobs_kill_type() Reviewed By: brecht Differential Revision: https://developer.blender.org/D3498
2018-07-04Workspaces: store view layer per main window, instead of per workspace.Brecht Van Lommel
It was a bit odd that the scene was stored per window but not the view layer. The reasoning was that you would use different view layers for different tasks. This is still possible, but it's more predictable to switch them both explicitly, and with child window support manually syncing the view layers between multiple windows is no longer needed as often.
2018-07-04Workspaces: add main and child windows.Brecht Van Lommel
* Main windows show a topbar and statusbar, and select a workspace and scene. They are created with Window > New Main Window. * Child windows do not show a topbar or statusbar. These follow the workspace and scene of their parent main window. Created with Window > New Window or View > Duplicate Area into New Window. * The purpose of this change is to support multi monitor setups where you just want to put more editors on the other monitors. Without multiple topbars and statusbars, working within a single workspace and scene. Creating multiple main windows is intended to be a concious choice to do different tasks in different workspaces and scenes. * Note these changes do not currently affect how the operating system treats the windows. * When changing the workspace, the layout in all child windows changes. This makes sense if we consider child windows to be just a way to extend the main window across more monitors. In some case it may be useful to keep the same layout though, we can add an option for this depending on user feedback.
2018-06-30UI: Support status-bar hidingSeverin
Just like the top-bar, the status-bar can now be hidden/collapsed by dragging its edge. We display a small line with the editor outline color then, so there is something that can be dragged up to un-collapse the area again. This collapsed state is not written to files yet.
2018-06-30Cleanup: Move area geometry management into an own fileSeverin
Area geometry management is quite complex and not easy to get into. We should gradualy build an API that abstracts away this complexity.
2018-06-30Fix a number of small errors in area coordinate handlingSeverin
For example collapsing the lower part of the topbar with 2x interface scale would hide the top-bar header region. There were also more asserts when changing window size and moving area edges afterwards (same assert as in T55298). Fixes are similar to e626998a262ebe4f. With all the recent fixes I've done, area geometry handling should be stable again. Let's hope I'm right :)
2018-06-29Cleanup: Add/use function to get area width/height from area verticesSeverin
This used to be rather cryptic and it was easy to forget the `+ 1` which in fact is needed to get the correct width/height, see e626998a262ebe4f. This should also fix some minor off-by-one errors.
2018-06-28Change earlier fix to work with hiDPISeverin
Referring to ca8f787349dcdf5. Thought in this case the simple `+ 1` would be correct, but we need to make the same pixel adjustment as we do in other places.
2018-06-28Fix T55298: Failing assert when splitting areas verticallySeverin
There are more related glitches for which I have fixes. Will test them some more and push in a followup commit.
2018-06-28UI: keep some operator text in headers.Brecht Van Lommel
Key shortcuts and explanation about how to use the tool should go to the status bar, but other info can in the header so it's near where the user is working. This distinction has not been made yet for all operators.
2018-06-26UI: move modal operator text from headers to status bar.Brecht Van Lommel
Python API is context.workspace.status_text_set()
2018-06-26UI: decrease status bar height.Brecht Van Lommel
2018-06-25Fix T55360: marker-based Camera switch focal length bug.Bastien Montagne
Scene was missing DEG tag update when its camera was changed based on active 'camera marker'.
2018-06-20Cleanup: naming (make it clear vars are squared)Campbell Barton
2018-06-20Merge branch 'master' into blender2.8Campbell Barton
2018-06-20Merge branch 'master' into blender2.8Campbell Barton
2018-06-20Screen: split ED_area_actionzone_find_xyCampbell Barton
Add ED_area_actionzone_refresh_xy which can tag redraw find no longer changes changes to the action zone.
2018-06-20Cleanup: rename is_in_area_actionzoneCampbell Barton
2018-06-15Cleanup: G.main removal from 2.8-only code.Bastien Montagne