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-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).
2018-12-14Fix T59137: Prefs moves header to bottomCampbell Barton
Only use a new spaces header alignment when no previous header exists.
2018-12-14Fix T57724: Opening file browser flips user-prefs headerCampbell Barton
2018-12-12Merge branch 'master' into blender2.8Campbell Barton
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
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-12-05UI: reduce area splitting action zone size.Harley Acheson
This would overlap with buttons in the header. It's smaller to hit, but still wider than the outlines for resizing, so hopefully it's fine. Differential Revision: https://developer.blender.org/D4033
2018-12-05Fix T58726: Pixels not being drawn if dpi scalling > 1Clément Foucault
2018-12-05GPU: Cleanup: Replace glFlush by GPU_flushClément Foucault
2018-12-04Cleanup: Action zone coordinatesDalai Felinto
No functional changes, but it makes all the coordinates more consistent (going from small to larger values). It helps debugging in the future to be able to rule out vertex order as a culprit.
2018-12-04Fix area splitting from action zone flipping viewportsDalai Felinto
The top-left and bottom-right corners were creating the new area in the wrong place. Blender 2.7x only had action zone corners in the top-right, and bottom-left corners. So it had some hardcoded assumptions based on that. This commit feels a bit like a hack, but I think it may be fine. Bug reported via IRC, how to reproduce: * Change shading to Rendered. * Split viewport from the top-left corner.
2018-12-02Fix T57455: Fix faulty gpu detectionClément Foucault
2018-12-02Add missing includeCampbell Barton
2018-12-02Fix T57455: Laggy, freezing UI with Linux and Intel UHD 620Clément Foucault
Seems like a driver bug but doing glFlush() before these calls fixes it.
2018-12-01UI: Simplify the area border drawingClément Foucault
Instead of doing a lot of alpha blended drawing with jittering, use the fragment shader to do the masking using a circle mask. This is much simpler and requires much less resources. Hopefully this may solve the issue we have with the Intels UHD Graphics 620 on linux.
2018-12-01Fix T58412: in weight paint + pose mode certain armature operations crash.Alexander Gavrilov
The cause is that FOREACH_OBJECT_IN_MODE_BEGIN assumed that the active object is in the correct mode, which is wrong in this case. It also only considered objects of the same type as active, which had to be replaced with an explicit type parameter.
2018-12-01Cleanup: redundant NULL checksCampbell Barton
Also use unsigned shifting for values not in int range.