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
2020-10-27Cleanup: use over-line for doxy commentsCampbell Barton
Follow our code style for doxygen sections.
2020-10-27BLI_rect: add resize_x/y functionsCampbell Barton
Without this, it's inconvenient to resize a single axis and doesn't read very well.
2020-08-07Cleanup: Blenlib, Clang-Tidy else-after-return fixes (incomplete)Sybren A. Stüvel
This addresses warnings from Clang-Tidy's `readability-else-after-return` rule in the `source/blender/blenlib` module. Not all warnings are addressed in this commit. No functional changes.
2020-07-21UI: Add an outer boundary for edge panning, use in outlinerHans Goudey
Currently if you drag and drop an item from the outliner elsewhere in the Blender window, the outliner will scroll the entire time, even if the mouse is far away. This commit adds optional behavior for the edge pan operator that makes it only act if the mouse is close enough to the region. Differential Revision: https://developer.blender.org/D8193
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-01-27Merge branch 'blender-v2.82-release'Campbell Barton
2020-01-27BLI_rect: add rect-rect intersection checks on a single axisCampbell Barton
2020-01-14Cleanup: Use new BLI_rct utilities to ensure valid rectanglesJulian Eisel
Technically this does a slight change to the check in wm_window.c: The assert now also allows zero width/height rectangles.
2020-01-14BLI_rct: Utilities for sanitizing coordinates (ensuring min <= max)Julian Eisel
This might be useful in some places. Much of the code makes the implicit assumption that the rectangle has valid coordinate order, good to make it more explicit.
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-05-21Cleanup: use term pad instead of paddingCampbell Barton
- Use min/max instead of bottom/top (in keeping with the rest of the BLI_rect API). - Swap args (was passing in max, min).
2019-05-21Graph Editor: view-selected takes scrubbing and marker region into accountJacques Lucke
2019-04-21Cleanup: comments (long lines) in blenlibCampbell Barton
2019-04-21Fix T63681: bad clipping of very long tooltipsBrecht Van Lommel
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-03-27Cleanup: style, use braces for blenlibCampbell Barton
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-15Cleanup: comment line length (blenlib)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-11-07Cleanup: use BLI_compiler_compat.h for BLI_INLINECampbell Barton
2018-09-04Cleanup: use const arg for BLI_rect inside checkCampbell Barton
2018-01-10Cleanup: comment block alignmentCampbell Barton
2017-08-27BLI_rect: Function to calculate a matrix from 2 rctf'sCampbell Barton
2017-06-23Fix T51845raa
2017-03-08Rename BLI_rct*_init_pt_size -> radiusCampbell Barton
2017-03-05BLI_rect: add init from point functionsCampbell Barton
Initialize a rectangle from point+size.
2017-01-02Cleanup: redundant assignment in rect resizeCampbell Barton
2015-11-12Cleanup: rename line to segments, avoids confusionCampbell Barton
Differentiate between lines and segments.
2015-10-17correct own error in rectangle clampingCampbell Barton
2015-10-16BLI_rect: add BLI_rctf_clampCampbell Barton
Clamp one rect within another. This is done inline in the UI code, which gets verbose.
2015-10-16Cleanup: redundant struct qualifiersCampbell Barton
2015-08-18UI: avoid subtracting shadow from winrctCampbell Barton
For popup interactions we need to know if events are in the region or not, however subtracting the shadow isn't so reliable, since its not always added to all sides of a popup. Instead, get the winrct value from a popup using the block rect, otherwise the winrct as-is.
2015-06-11File Browser Arrow Keys NavigationJulian Eisel
Adds support for selecting/deselecting files in File Browser using the arrow keys. All directions (up, down, left, right) are possible. When to Select, When to Deselect? Standard behaviour is selecting, however if we move into a block of already selected files (meaning 2+ files are selected) we start deselecting Possible Selection Methods Simple selection (arrow-key): All other files are deselected Expand selection (Shift+arrow key): Add to/remove from existing selection ill-Expand selection (Ctrl+Shift+arrow key): Add to/remove from existing selection and fill everything in-between From which file do we start navigating? From each available selection method (Mouse-, Walk-, All-, Border Select), we use the last selected file. If there's no selection at all we use the first (down/right arrow) or last (up/left arrow) file. (Ideally, the view would automatically be set to the new selection, but this behaviour overlaps with an other patch I've been working on, so prefer to do that separately) (Also tweaks color for highlighted file for better feedback) D1297, Review done by @campbellbarton, thx a lot :)
2015-03-25Simplify recent commitCampbell Barton
2015-03-25Fix T44118: Rotated background image disappearsCampbell Barton
Image clipping didn't take rotation into account.
2014-03-09BLI Rect: utility function to transform a point using 2 rect'sCampbell Barton
2014-01-15Code Cleanup: use iroundfCampbell Barton
also increase precision of rctf print functions
2013-12-06Rectangle API: add single axis intersection checkCampbell Barton
2013-11-25Code Cleanup: rename vars for detecting change to be more consistentCampbell Barton
rename change/is_change/is_changed/modified -> changed also use bools over int/short/char and once accidental float.
2013-11-06Patch #37274: Circle select for node editor, by Henrik Aarnio (hjaarnio).Lukas Toenne
Circle select was missing from node editor, and C key was assigned to now defunct "show cyclic dependencies". This patch remaps the key and adds circle select operator. Functions to check intersection between rctf/rcti and a circle were also added to rct.c for code cleanliness and consistency.
2013-06-07text rendering: shadow offset was causing text to clip, now check for ↵Campbell Barton
clipping without the shadow since not-drawing characters because of subtle effect is rather annoying.
2013-03-19add BLI_rcti,f_recenter()Campbell Barton
fix for uninitialized variable use in radial_control_get_properties() and bad cast in bpy api's foreach_parse_args()
2013-03-09use 'bool' for BLI_/BKE_ functions.Campbell Barton
2013-01-11add padding for node view-all, view-home operators.Campbell Barton
2012-12-11code cleanup: spelling labda -> lambdaCampbell Barton
2012-11-04code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵Campbell Barton
files since its done throughout the code in some places.
2012-10-10refactor screen foreach functions to accept float[2] arguments rather then ↵Campbell Barton
int pairs. overall means less converting between float and int (and short in some cases).
2012-09-22rect/point clamping function: BLI_rct*_clamp_pt_vCampbell Barton
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton