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-03-25Cleanup: use braces for interface codeCampbell Barton
2019-03-21Cleanup: move functions into doxy sectionsCampbell Barton
Also use const args for queries.
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-02-23Fix strips text offset when zooming VSE timelineRichard Antalik
Glyph cache is cleared by UI_view2d_zoom_cache_reset, when zooming V2D, but is required to calculate text height in UI_view2d_text_cache_draw This caused text in strips to "jump around" There was a comment in UI_view2d_zoom_cache_reset: While scaling we can accumulate fonts at many sizes (~20 or so). Not an issue with embedded font, but can use over 500Mb with i18n ones! See [#38244].
2019-02-23Revert "Glyph cache is cleared by UI_view2d_zoom_cache_reset, when zooming ↵Richard Antalik
V2D, but is required to calculate text height in UI_view2d_text_cache_draw" Accidentaly committed unwanted changes. This reverts commit 6bcdcc96c2548e0ee5e18acc37915aedee6329e0.
2019-02-23Glyph cache is cleared by UI_view2d_zoom_cache_reset, when zooming V2D, but ↵Richard Antalik
is required to calculate text height in UI_view2d_text_cache_draw This caused text in strips to "jump around" There was a comment in UI_view2d_zoom_cache_reset: While scaling we can accumulate fonts at many sizes (~20 or so). Not an issue with embedded font, but can use over 500Mb with i18n ones! See [#38244]. Reviewed by: Brecht Differential revision: https://developer.blender.org/D4389
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-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-01-25Missed last commitCampbell Barton
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-04UI: alter scrollbar extents to not interfere with split/join areas.Harley Acheson
Differential Revision: https://developer.blender.org/D4141
2019-01-04Cleanup: use typed unsigned intsCampbell Barton
2018-11-14Merge branch 'master' into blender2.8Campbell Barton
2018-11-14Cleanup: comment block tabsCampbell Barton
2018-11-13Cleanup: use const argsCampbell Barton
2018-11-07Fix redraws from non-existing scrollbarsCampbell Barton
Cursor motion was often causing redraws. Distance to scrollbars that don't exist in hidden regions caused redraws (for alpha fading). Check if scrollbars are used before calculating fade.
2018-10-22UI: move scrollbars inside region tabsCampbell Barton
2018-10-09Cleanup: namingCampbell Barton
- immAttrib* -> immAttr* - immSkipAttrib -> immAttrSkip Term 'attr' is a convention for GPU module.
2018-09-27Merge branch 'master' into blender2.8Brecht Van Lommel
2018-09-27Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3732
2018-09-02Cleanup: comment blocksCampbell Barton
2018-09-02Cleanup: comment blocksCampbell Barton
2018-07-18GWN: Port to GPU module: Replace GWN prefix by GPUClément Foucault
2018-07-15GPU_matrix: use Blender's naming conventionsCampbell Barton
Thanks to @sergey for review
2018-07-11UI: don't change scrollbar size on mouse move, only fade.Brecht Van Lommel
It's not necessary to do both, and trying to hit a target that changes size is annoying.
2018-07-08Cleanup: abbreviate unsigned types (editors, wm)Campbell Barton
2018-07-01Merge branch 'master' into blender2.8Campbell Barton
2018-07-01Cleanup: right shift in interface codeCampbell Barton
2018-06-29Merge branch 'master' into blender2.8Campbell Barton
2018-06-29Cleanup: trailing newlinesCampbell Barton
2018-06-28GLRefactor: partially remove gl calls from source/blender/editors.Ray Molenkamp
This translates the gl calls to the new GPU_ wrappers from D3501. Given it's tedious and repetitive work, this patch does as much as it can with search + replace, the remainder of the gl calls will need to be manually dealt with on a case by case basis. This fixes 13 of the 28 failing editors when building without opengl. For the list of substitutions see D3502 Reviewers: brecht Differential Revision: https://developer.blender.org/D3502
2018-05-23Merge branch 'master' into blender2.8Campbell Barton
2018-05-23Cleanup: strip trailing space from interface filesCampbell Barton
2018-05-22Fix outliner crashes when dragging elements in some cases.Brecht Van Lommel
Avoid rebuilding outliner tree in more cases, also helps performance.
2018-05-07Merge branch 'master' into blender2.8Sergey Sharybin
2018-05-07More tweaks to strict compiler flagsSergey Sharybin
2018-05-07UI: Hide & shrink scroll-bars based on cursor positionJulian Eisel
Scroll-bars are now hidden unless the cursor approaches them, in which case they smoothly grow and become more & more visible. Note that since 0d309144020168e55, scroll-bars are drawn on top of editor contents. There's no more jumping of buttons when scroll-bars appear. Technical notes: * AZones are used to adjust scrollbars based on mouse movements We may want to support screen level AZones if we want scrollbars to also smoothly appear when approaching them from a different area. I also plan to make further changes to AZones to clean up stuff a bit. * Had to move AZone handling to a post ARegion init stage, since we need the updated View2D data from there. * View2D masks and scroller rectangles are now updated on every redraw. It's cheap to do that though.
2018-05-07UI: Draw scroll-bars overlapping with editor contentJulian Eisel
Scroll-bars used to draw in a little extra space in the editor, causing buttons to jump a bit when they appeared/disappeared. Now they draw on top of the buttons, just small enough to avoid bigger overlaps. Followup commits will do further adjustments. With this we can get rid of a hack that was calling the (often Python defined) panel definition - the panel 'draw' callback - twice.
2018-04-26Reduce size of scrollbars that don't contain scale markingsJulian Eisel
More changes will follow, this is just an initial tweak.
2018-04-08UI: Perf: Batch horizontal scrollers numbers together.Clément Foucault
2018-03-23Merge branch 'master' into blender2.8Campbell Barton
2018-03-23Cleanup: stray tabsCampbell Barton
Tabs in middle of code (mostly for no reason / by accident).
2018-02-02Merge branch 'master' into blender2.8Campbell Barton
2018-02-01Fix T53686: VSE Render crash when zooming timelineSergey Sharybin
This is rather a workaround to avoid main thread freeing all glyph caches at the same time as sequencer uses fonts to draw text sequences. Ideally we need to either make cache more local, or user-counted or to make somewhat more global locks. All this ends up in a bigger refactor which is better for 2.8. For the meantime let's make Blender more stable with a tiny workaround. Downside is that keeping zooming things up and down in interface during render will increase memory usage by unused glyph caches. It's not too bad though, all unused caches will be freed first time at area zoom after render. Thanks Bastien for review!
2017-10-24Merge branch 'master' into blender2.8Brecht Van Lommel
2017-10-23VSE: draw grid lines at every secondCampbell Barton
Was hard-coded to 25 frames. D2893 by @jooert
2017-10-07Cleanup: style, duplicate includesCampbell Barton
2017-08-29View2D: function to get view to region matrixCampbell Barton
2017-08-29Merge branch 'master' into blender2.8Campbell Barton