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-02-27Cleanup: Main struct member namesCampbell Barton
Rename latt to lattice and don't use plural names.
2019-02-26Cleanup: indentation, trailing spaceCampbell Barton
2019-02-23fix T59951: View all sequences does not take into account region overlapRichard Antalik
fix centering preview Reviewed by: Brecht Differential revision: https://developer.blender.org/D4388
2019-02-21UI: better widget drawing with thick line width.Harley Acheson
When the line width was larger than the UI scale, there was not enough space for thicker widget outlines to draw properly. Now widgets are made a little larger to accommodate the thicker outlines. Differential Revision: https://developer.blender.org/D4368
2019-02-21UI: improve corner splitting feedback by showing custom cursors.Harley Acheson
* Two cursors for horizontal and vertical split. * Four cursors for each join direction. * One cursor to indicate when splitting is not possible. Differential Revision: https://developer.blender.org/D4264
2019-02-21UI: increase corner splitting hit area to include screen edges.Harley Acheson
Differential Revision: https://developer.blender.org/D4242
2019-02-20WM: support dynamic keymap handlersCampbell Barton
Add getter callback support for 'WM_HANDLER_TYPE_KEYMAP' type handlers this is needed for key-maps which change based on the active tool. Replaces 'sneaky_handler' hack which temporarily inserted a handler.
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-16DNA: rename SpaceButs -> SpacePropertiesCampbell Barton
2019-02-16Fix T61512: Crash switching workspace with fullscreen areaDalai Felinto
In this case we simply create a new screen area that copies the currently fullscreened area. Note: At the moment there is no indicative in the non-main window that we are in fullscreen. That happens because this information is part of the bar and we have no topbar in this window.
2019-02-13Fix T61487: quick favorites crash outside of open preferences windowPhilipp Oeser
2019-02-07Show all useful metadata fields in editorsSergey Sharybin
Is available when doing "View -> Show Metadata". Will draw all the fields which are not part of the stamp at the bottom of the image. Couple of hand-picked fields are ignored, since those are not very useful to be seen. Aimed to ease review of rendered shots. Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4316
2019-02-06Improvements and fixes to Cycles metadataSergey Sharybin
This is a request by the studio here to make it possible to see how many samples were used to render a specific shot or a frame. It is a bit more tricky than simply stamping number of samples from a scene since rendering is happening in multiple ranges of samples. This change makes it so Cycles saves configured number of samples for the specific view layer, and also stores start sample and number of samples when rendering only a subrange of all samples. The format used is "cycles.<view_layer_name>.><field>", which allows to have information about all layers in a multi-layer EXR file. Ideally we can store simplified "cycles.<field>" if we know that there is only one render layer in the file, but detecting this is somewhat tricky since Cycles operates on an evaluated scene which always have single view layer. The metadata is shown in the Metadata panels for clip, image and sequencer spaces. Example screenshot which shows the metadata: {F6527727} Reviewers: brecht Reviewed By: brecht Subscribers: fsiddi Differential Revision: https://developer.blender.org/D4311
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-05Edit Mesh: Fix some problem with new implementationClément Foucault
- Add manual depth offset to vertices and edges. - Revert to plain edge decoration. - Fix active edge coloring. - Remove active face display if not in face selection mode. - Add wide line support.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
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-31Fix T61013: changing top/status bar editor type can be changed with shortcut.Brecht Van Lommel
2019-01-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25WM: don't set repeat flag w/ interactive repeatCampbell Barton
This allows operators to distinguish between redo and executing repeat last operator, needed for T60777 fix.
2019-01-25Revert "WM: Repeat Last no longer reuses skip-save properties"Campbell Barton
This reverts commit 1d908bffddb4c9815a986305ad4588032b81deee. Enough uses of repeat last expect skip-save properties to be set, transform being the most obvious example T60777#605681. I wanted to avoid operators having account for two kinds of 'skip-save' but this may be unavoidable.
2019-01-24WM: Repeat Last no longer reuses skip-save propertiesCampbell Barton
PROP_SKIP_SAVE is often used as a way to detect the difference between adjusting options from the redo panel and initial execution. Repeat last operator was executing with skip-save properties set, preventing operators from initializing them based on the context. Fixes 60777.
2019-01-23UI: make editor corner splitting / joining more reliable.Harley Acheson
* Add threshold for minimum amount of mouse movement for dragging to get activated. * Limit angles at which dragging is considered an action, do nothing if mouse does not clearly move up/down/left/right. * Increase action zone size vertically. Differential Revision: https://developer.blender.org/D4227
2019-01-17GPU: Rename GPU_shader_get_uniform to GPU_shader_get_uniform_ensureClément Foucault
This is in order to make the API more multithread friendly inside the draw manager. GPU_shader_get_uniform will only serve to query the shader interface and not do any GL call, making it threadsafe. For now it only print a warning if the uniform was not queried before.
2019-01-16Cleanup/sanitize usages of G.debug_value.Bastien Montagne
There was no documentation at all, some very bad practices (like using G.debug_value > 0 as some sort of global debug print switch), and even an overlapping use of '1' value... Also, python setter did not check for valid range (since this is a short, not an int).
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-15Cleanup: replace usages of deprecated BKE_libblock_free by BKE_id_free.Bastien Montagne
2019-01-08Fix inconsistent naming and behavior for base visible/selected/editable.Brecht Van Lommel
Fixes T60251.
2019-01-06Cleanup: add trailing commas to structsCampbell Barton
Needed for clang formatting to workaround bug/limit, see: T53211
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
2019-01-04UI: fix incorrect area splitting shape in corners.Harley Acheson
It was intended to be a quarter-circle, however it was oriented wrong. Since the triangle is no longer visible and does not overlap with the button anymore, this just makes it a square. Differential Revision: https://developer.blender.org/D4139
2019-01-03Fix some inconsistencies in object visibility/selectability tests.Brecht Van Lommel
2018-12-30Cleanup: remove non-existing function declarationsCampbell Barton
2018-12-24Fix/cleanup typos and such in UI messages (and some comments).Bastien Montagne
2018-12-24Fix floating panel (HUD) applying DPI incorrectlyJulian Eisel
ARegion.sizex/y should never have DPI factor applied. For regular panel regions, DPI will be applied in region_rect_recursive already, causing it to be applied twice when region size is set dynamically (= based on content dimensions).
2018-12-24Cleanup: First batch of UI messages fixes (typos, final points...).Bastien Montagne
Also contains some code typo fixes (mostly, adtaptative -> adaptive, former is nearly innexistant in English, let's stick to simple valid words ;) ).
2018-12-23Avoid creating & registering zero sized AZonesJulian Eisel
Would allocate memory for AZones and register them even if their coordinates/bounding-box was all 0, meaning they're not visible and not interactive.
2018-12-22Cleanup: const castCampbell Barton
2018-12-21Fix T58327: Quick Favorites "Remove from Favorites" missing for addedPhilipp Oeser
Modifiers Since user menu entries from SPACE_BUTS/SPACE_TOPBAR are also shown in other Editors (SPACE_VIEW3D), also allow these entries to be removed from Quick Favorites from these Editors. Match and deduplicate logic from screen_user_menu_draw() and ui_popup_context_menu_for_button(). Reviewers: campbellbarton, brecht Maniphest Tasks: T58327 Differential Revision: https://developer.blender.org/D4112
2018-12-21RNA: naming, user-preferences -> preferencesCampbell Barton
2018-12-21UI: use smaller widget for expanding hidden regionCampbell Barton
The '+' widget to show a hidden region came too close to overlapping the viewport navigation gizmo and text editor text. Reduce size and use an arrow icon. D4110 by @gnastacast
2018-12-19Merge branch 'master' into blender2.8Campbell Barton
2018-12-19Cleanup: spellingCampbell Barton
2018-12-17Context: add objects_in_mode(_unique_data)Campbell Barton
Needed for Python to easily support multi-object edit/pose modes.
2018-12-17Context: remove active_gpencil_brushCampbell Barton
We don't have this for other painting modes, no need for a special case here.
2018-12-14Preferences: add option for header positionCampbell Barton
Sets the header position for newly created windows with few exceptions (preferences is always bottom, file-selector is always top).