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-30Refactor: Separate scrollers from text drawing in APIJacques Lucke
This is a continuation of rB7fdffd735ff24, where I separated the e.g. frame number drawing from scrollers internally. This patch changes the API, so that space draw handlers have to draw these numbers explicitely. This greatly simplifies the scrollers API for all spaces that just need scrollers without any frame numbers. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D4747
2019-04-29Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-29Fix region action zone not working when hiddenCampbell Barton
Introduced in recent fix for T61554
2019-04-25UI: keep timeline collapsed to header size when resizing windowGeorge Vogiatzis
This restores functionality lost with e8c9e85401ef. Differential Revision: https://developer.blender.org/D4714
2019-04-25Cleanup: remove unneeded screen_refresh_headersizesGeorge Vogiatzis
screen_geom_vertices_scale already checks if areas are too small for header. And header size will be set in region_rect_recursive from ED_area_initialize. Differential Revision: https://developer.blender.org/D4711
2019-04-24Refactor: allow event handlers to have a poll functionJacques Lucke
Previously only a fixed bounding box could be used. This was not flexible enough. T63193 will benefit from this refactor. Reviewers: brecht, campbellbarton
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-24Fix T63822: Sidebar tabs active area dead-zone #2Campbell Barton
Take the entire gutter used for panel tabs into account. Introduced in recent fix for T61554
2019-04-23Fix T63822: Sidebar tabs active area dead-zoneCampbell Barton
Clip on one axis for aligned regions to avoid tabs being clipped out. Introduced in recent fix for T61554
2019-04-23Fix action zones getting out of sync with panel sizeCampbell Barton
Change to recent fix for T61554
2019-04-23UI: ignore events in empty region overlap areasCampbell Barton
- Resizable areas use 2D view bounds. - Header uses the button bounds. - A margin is added to avoid clicking between buttons. - Region resize edges clamp to the 2D view bounds. Resovles T61554
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-21Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-20GPU: automatically draw images with GLSL shader depending on resolutionBrecht Van Lommel
This adds a new "Automatic" image display method which uses GLSL shaders for most images. It only does CPU side color management for higher res images where sending big float buffers to the GPU is likely to be a bottleneck or cause memory usage problem. Automatic is the default now, previously it was 2D Texture.
2019-04-20Cleanup: remove unused OpenGL functions, rename some for clarityBrecht Van Lommel
2019-04-19Cleanup: Remove unneeded compositor update functionSergey Sharybin
Similar to previous commit. Compositing with animation on socket values and image sequences still works fine.
2019-04-19Cleanup: Remove unneeded texture nodes update functionSergey Sharybin
The function was calling update() on the time curve, but there is no update callback on that node. So, effectively the function was doing nothing.
2019-04-19Fix/workaround crash using ED_area_do_msg_notify_tag_redrawCampbell Barton
Temporary workaround for crash when refreshing the active tool. Currently ED_region_tag_redraw fails, use notifiers until this is resolved.
2019-04-19UI: tweak header context menu, gray out items when they have no effectBrecht Van Lommel
2019-04-19UI: move top-bar into the spaces headerCampbell Barton
Currently this is only in the 3D viewport however all spaces that use the tool-system will have this region added. D4680 by @brecht with own updates.
2019-04-18UI: Revert fix T37463: Y-clamp for header-only spacesCampbell Barton
This reverts 91d8519c4782 since I can't redo the reported error which was in the old header-only info space.
2019-04-18Cleanup: add trailing commas to avoid right shiftCampbell Barton
2019-04-18UI: replace toggle header with a propertyCampbell Barton
2019-04-18Cleanup: correct commentCampbell Barton
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-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16CMake: add library deps to CMakeLists.txtCampbell Barton
Tested to work on Linux and macOS. This will be enabled once all platforms are verified. See D4684
2019-04-16Fix T63439: too many 3D viewport redraws due to fading scrollbars.Brecht Van Lommel
Only redraw the regions, not the entire editor.
2019-04-14Cleanup: fix compiler warnings.Brecht Van Lommel
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-04-10Cleanup: spellingCampbell Barton
2019-04-09Cleanup: Use higher level functionSergey Sharybin
This kind of abstracts OpenGL details, and this is what is used in other areas as well.
2019-04-09Cleanup: spellingCampbell Barton
2019-04-09Image draw: Fix/workaround image corruption on drawSergey Sharybin
Was mainly visible with high-res image. Not entirely clear why it is only happening on macOS. While the entire function should be re-written to make float images displayed faster, still nice to fix the drawing. Reviewers: fclem Reviewed By: fclem Differential Revision: https://developer.blender.org/D4664
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-04-04Separation lines for Quad ViewHarley Acheson
Reviewers: brecht, billreynish, fclem Reviewed By: billreynish, fclem Differential Revision: https://developer.blender.org/D4633
2019-04-04Cleanup: styleCampbell Barton
2019-04-03UI: Fix odd behavior in region sizing, simplify codeGeorge Vogiatzis
* When resizing sidebars, don't collapse when the region becomes too big but instead clamp the region size to the available space. * Fix clicking the tab to expand sidebars no working if the sidebar is too wide to fit. Instead make it less wide so it does fit. * Fix incorrect limit on tool properties region height, for example in the file browser. Differential Revision: https://developer.blender.org/D4611
2019-04-01Fix T63169: 'Duplicate Current' entry in new workspace menu is not translated.Bastien Montagne
2019-03-24GPU: Remove unused and deprecated GPU_line_stipple()Clément Foucault
2019-03-21WM: enable activate on init for wmOperatorType.propCampbell Barton
This enables popups to edit text when displayed, use for new collection popup.
2019-03-20Preferences: add threshold for cursor motionCampbell Barton
A hard coded threshold was used to ignore cursor motion, make this a preference since tablet users may want to increase it since a pen hovering isn't as easy to keep still as a mouse. Resolves T56278
2019-03-19UI: scale cursor motion threshold by DPICampbell Barton
This was using hard coded values of 2-3px. Move both drag and motion thresholds to defines.
2019-03-16Fix T62555 Viewport borders flicker when splitting said viewportClément Foucault
2019-03-14Fix T62425: topbar showing wrong buttons at some UI scales.Brecht Van Lommel
2019-03-14UI: disallow splitting of temporary screensCampbell Barton
D4510 by @harley
2019-03-14Fix T62526: Can't scroll redo panelCampbell Barton
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.