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
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-18spelling cleanupCampbell Barton
2012-03-08style cleanup - spelling.Campbell Barton
2012-03-04style cleanup - comment spelling + translate some dutch.Campbell Barton
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-03-01Spelling CleanupCampbell Barton
2012-02-28code cleanup: use float vector size in function definitions, and const's ↵Campbell Barton
where the values are unchanged.
2012-01-22style chang, made mainly because I wanted to be able to add breakpoints to ↵Campbell Barton
MEM_freeN calls which were on the same line as the if's.
2012-01-11use BLI_strncpy and BLI_snprintf when the size of the string is known.Campbell Barton
fix for sequencer unique naming which was missed with string length update.
2012-01-11minor cleanup for string use - no functional changesCampbell Barton
- use more logical names for strings, noticed too many strings called `str` when reviewing name patch. - pass __func__ macro to uiBeginBlock(), quite a few names were wrong (copy/paste error).
2011-12-24formatting edits 120 line lengthCampbell Barton
2011-11-20UI:Brecht Van Lommel
* Add theme option to show panel header background. * Draw panel collapse widget a bit smaller. * Add theme option to draw icons muted. * Code tweak: replace U.themes.first by UI_GetTheme() calls.
2011-10-23remove $Id: tags after discussion on the mailign list: ↵Campbell Barton
http://markmail.org/message/fp7ozcywxum3ar7n
2011-09-20Merging r40366 through r40392 from trunk into soc-2011-garlicsoc-2011-garlicSergey Sharybin
2011-09-20tag & comment unused vars with /* UNUSED */Campbell Barton
2011-07-16select uiStyle according to UserDef and update lang-packsXiao Xiangquan
2011-06-24merge from trunk #37722Xiao Xiangquan
2011-06-18use ascii drawing function where utf8 isnt needed.Campbell Barton
2011-05-20use BKE_area_find_region_type in place of inline loops (no functional changes).Campbell Barton
2011-05-12for bug [#27358] Transform bug when transform > 500Campbell Barton
mouse coords would with cont. grab would wrap at short. use mouse coords as int rather then short. this problem still happens on linux because of XTranslateCoordinates
2011-03-27interface: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats (in most cases) otherwise cast to double.
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-01Icons in outliner were jittering a bit on sizing of the area.Ton Roosendaal
Subpixel position issue... when is this ever correct? :)
2011-01-26After test, offset is better to be 0.001f (test in windows nvidia)Ton Roosendaal
2011-01-26Bugfix #25756Ton Roosendaal
Outliner was drawing icons sometimes blurred. Happens when subpixel positions vary. UI code doesn't suffer this, it makes own ortho for it. This fix re-uses an un-used v2d flag (V2D_PIXELOFS_X) to force a 2d view on pixel exact positions. It's set for outliner only, I need testing feedback first.
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
2011-01-07remove references to BKE_utildefines where its not needed.Campbell Barton
- move GS() define into DNA_ID.h - add BLI_utildefines as an automatic include with makesrna generated files.
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-03Bugfix, own collectionTon Roosendaal
Graph editor: sliding Nkey Properties to left, closing curves view entirely, was hanging in eternal loop. Caused by division by zero.
2011-01-03Todo item:Ton Roosendaal
2D view scrollers were drawing over background contents, making it look somewhat messy (like for text, nodes, fcurves). Now it clears first the back in the region edge.
2011-01-02- correct typos in comments.Campbell Barton
- move boxpack struct out of the public header.
2010-12-26Fix #25375: Vertical numbers in F-Curve Editor out-of-alignment with gridSergey Sharybin
Issue caused because previously sliders used a separate mask and now they're drawing inside of region. Thanks to AlexKu for point and Ton for checking :)
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().
2010-12-072D text drawingCampbell Barton
- with the NLA on a small strip text was drawn under the scroll bar, now draw with same alignment as rectangle constrained text. - single alloc per text item. - was using opengl context rather then passing color value.
2010-12-03fix for some pedantic warnings.Campbell Barton
2010-11-29Bugfix #24971Ton Roosendaal
Outliner: if bottom slider was hidden, you still could not click there on items. Code was using region-mask to clip input, but the mask is not adjusted for sliders now (keeps view same).
2010-11-11BLF_draw functions take an extra length argument, so the console drawing ↵Campbell Barton
doenst need to swap in NULL chars to draw word wrapping.
2010-10-25bugfix [#24377] Bad frames drawnCampbell Barton
2010-10-14remove unused args or tag as unused for image and screen editors, ↵Campbell Barton
uiItemEnumR_string was ignoring name and icon args.
2010-10-14remove unused args in draw*.c and some in view*.c, tag some as UNUSED().Campbell Barton
2010-08-16- remove unused includes IMB_*, BIF_* & MEM_*Campbell Barton
- remove MEM_guardedalloc.h from header files (include directly)
2010-05-12fix for hanging while drawing fcurves, the function made some attempt to ↵Campbell Barton
avoid the problem but when the view is zero pixels wide it still hung for some time.
2010-05-05billboards were using un-initialized memory and avoid divide by zero in some ↵Campbell Barton
cases.
2010-04-22BugFix:Diego Borghetti
[#20854] PROPERTIES STAMP: Rendering stamp flickers in output renders Blenfont was not thread safe, that is why one thread can change the font properties (size, dpi, color, etc) at the same time that the stamp draw on the image, and then the problem. To make blenfont thread safe I have to change two important things: 1) Every BLF_* function take one argument, the font id. 2) We have two new function to make font "thread safe": BLF_load_unique BLF_load_mem_unique This two function are for case like stamp, that need and own font that don't share the glyph cache, so can draw without problem in a different thread. Why the BLF_*_unique function ? Because blenfont keep only one copy of a font and keep a list of "glyph cache". Every glyph cache have size and dpi, so if two different thread access the same font at the same time, they can change value and finish with something like the stamp problem. Why don't remove the glyph cache ? Because if we do that, we finish with a font object for every size and dpi, and the stamp is really a special case that happen in the rendering process, so I really thing is better keep the glyph cache and make this two new function to handle this special case. (When I say "font object" I mean have the same freetype font multiple times just to have differents size and dpi) As Matt point we still can have one case that two thread access the BLF_*_unique function at the same time, but I am looking to fix this with some class of thread lock. For now I test and work fine, so if some one found problem, please let me know. Campbell I have to change the python api (python/generic/blf_api.c) to the new syntax, so maybe you can take a look at this.
2010-03-23more lint includesCampbell Barton
Only source/blender/editors/ dir, should not give errors on different platforms Only removing: UI_*.h, ED_*.h, WM_*.h, DNA_*.h, IMB_*.h, RNA_*.h, PIL_*.h
2010-02-16Fix user preferences window contents being shifted to the left.Brecht Van Lommel
2010-02-12correct fsf addressCampbell Barton