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
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.
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-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-25Fix T44118: Rotated background image disappearsCampbell Barton
Image clipping didn't take rotation into account.
2014-03-30Convenience macro for print_ funcs, saves passing id each timeCampbell Barton
2014-03-09BLI Rect: utility function to transform a point using 2 rect'sCampbell Barton
2013-12-06Rectangle API: add single axis intersection checkCampbell Barton
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-11-27Fix #33226: error loading .blend files with different endian on Mac. The causeBrecht Van Lommel
was wrong inline and pure attributes on the endian switch function.
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-18fix own error BLI_rctf_cent_x/y were incorrectly returning int's, also quiet ↵Campbell Barton
some warnings.
2012-09-15code cleanup: replace macro for BLI_rect size/center with inline functions.Campbell Barton
2012-08-23code cleanup: rename BLI_in_rctf() --> BLI_rctf_isect_pt(), to conform with ↵Campbell Barton
our naming convention.
2012-08-20macros for rectangle center and sizeCampbell Barton
2012-08-19fix for own commit r49991, this exposed bad logic in rect copy function.Campbell Barton
2012-08-12smooth-view for 2d views, graph editor, sequencer, node view, works with ↵Campbell Barton
border zoom, view selected, view all.
2012-07-15minor refactor for rect functions. more consistent naming.Campbell Barton
2012-07-12add bli rect min/max functions.Campbell Barton
2012-07-12add bli rect funcs BLI_rctf_init_minmax, BLI_rcti_init_minmaxCampbell Barton
2012-07-11vector versions of BLI_in_rctf / BLI_in_rcti, (BLI_in_rctf_v, BLI_in_rcti_v)Campbell Barton
use where possible.
2012-05-13code cleanup: header cleanup and remove some duplicate defines.Campbell Barton
2012-04-10fix [#30848] Edge Selection fails when the following Conditions met:Campbell Barton
summery: when both verts are outside the viewport this is in fact a very old annoyance but good to resolve. fix by doing segment/rectangle intersection between the edge and the viewport so it works when the both verts are outside the view.
2012-03-02style cleanupCampbell Barton
- spelling - turns out we had tessellation spelt wrong all over. - use \directive for doxy (not @directive) - remove BLI_sparsemap.h - was from bmesh merge IIRC but entire file commented and not used.
2012-02-17unify include guard defines, __$FILENAME__Campbell Barton
without the underscores these clogged up the namespace for autocompleation which was annoying.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-02-18doxygen: add blenlib under core as module.Nathan Letwory
2010-08-25bugfix [#22819] Grease Pencil: OpenGL render incorrect if view mode, OK with ↵Campbell Barton
cursor mode also made drawing in camera view stick to the camera border (belated durian request), useful for animation review without worrying about screensize moving the overlay about.
2010-06-17sequencer numpad keys for zoom levelsCampbell Barton
2010-02-16bugfix [#20480] crash/lock-up for certain aspect ratiosCampbell Barton
2010-02-12correct fsf addressCampbell Barton
2009-06-23SVN maintenance.Guillermo S. Romero
2009-04-202.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender ↵Brecht Van Lommel
-r19323:HEAD Notes: * blenderbuttons and ICON_SNAP_PEEL_OBJECT were not merged.
2009-02-102.5Ton Roosendaal
Fifth attempt! Previous commit was wrong file :(
2009-02-102.5Ton Roosendaal
Fourth trial to get the invisible character gone! (I have to add/remove enters to get it committed even) Thanks to Thomas for retyping the faulty line entirely :)
2009-02-102.5Ton Roosendaal
Third attempt to get the invisible character going!
2009-02-102.5Ton Roosendaal
*** Proof of concept! **** 3D window Panels back, in own designated region for now. Activate or hide it with Nkey. Note that Background Image doesn't work yet, Transform Orientations probably need tests by Martin, Sculpt options have to be recoded there by Nicholas. The UI design sessions will of course review all of this! We'll have to solve a lot of related topics; - navigation (where) and context (what) - non-overlapping layouts vs floating panels/bars - properties vs tools (toolbars) - drop panels and make nice (semi-automated) list views? I've also done experiments with making the main 3d view stay 'behind' the buttons region. That makes popping buttons in and out less distracting, but also makes it obscuring the view... it's not in this commit, it didn't work proper :) To get that work it has to be handled by the internal compositor, then it even can have fancy transparency in back. Anyhoo, time enough to play with this a while. Especially for Image window (paint) it can work well too.
2008-12-202.5 BLI_blenlib cleanupAndrea Weikert
DONE: * moved almost all declarations from BLI_blenlib.h into their own proper header files. * BLI_blenlib.h still includes all the declarations for convenience and to avoid changes in existing code * split util.c into several files, where it wasn't done already * DynamicList -> dynamiclist, * ListBase -> listbase, * String utility functions -> string.c * removed a few unused macros and functions, if they're needed back, they're still in svn ;) TODO: * btempdir global * further cleanup in the code of the different modules (especially util.c)