Age | Commit message (Collapse) | Author | |
---|---|---|---|
2014-03-12 | HSL color wheel implementation. | Antony Riakiotakis | |
This is a standard Hue - Saturation - Lightness model (see for instance entry on wikipedia here: https://en.wikipedia.org/wiki/HSL_and_HSV) Note though the difference between HSV and HSL saturation, which are not the same. The advantage of having this color selection scheme is that artists can select shades and tints of a color easily by using the lightness slider. Also colors are arranged on (approximated) perceived lightness on the color wheel. Beware, Old files opened with this preference saved will crash! Reviewers: sergey, brecht, campbellbarton Differential Revision: https://developer.blender.org/D385 | |||
2014-03-12 | Code cleanup: redundant normalize in bmbvh ray cast | Campbell Barton | |
2014-03-09 | BLI Rect: utility function to transform a point using 2 rect's | Campbell Barton | |
2014-03-02 | Fix T38873: Crashing on undo of ocean modifier. | Bastien Montagne | |
Issue of this bug is that most part of fftw is not thread safe, only compute-intensive fftw_execute & co are. Since smoke was affected by this issue as well, a global fftw mutex was added to BLI_threads. Audaspace also uses fftw in one of its readers (AUD_BandPassReader.cpp), but this is not an issue currently since this code is disabled in CMake/scons files. There was another threading issue with smoke, we need to copy dm used by emit_from_derivedmesh(), as it is modified by this func. Reviewers: sergey, brecht Reviewed By: brecht CC: brecht Differential Revision: https://developer.blender.org/D374 | |||
2014-03-01 | Fix for some unlikely memory leaks, remove redundant checks | Campbell Barton | |
2014-03-01 | Code cleanup: correct abs use and quiet warnings | Campbell Barton | |
2014-02-27 | Fix T38858: Crazy spaces was unpredictable with co-linear edges | Campbell Barton | |
2014-02-19 | MSVC: improve warnings for scons and cmake | Campbell Barton | |
Some int/float conversion warnings were disabled by buildsystems but re-enabled by BLI_winstuff.h, the warnigns relate to conversions not considered issues on other systems so better just quiet them. | |||
2014-02-19 | Code cleanup: style | Campbell Barton | |
2014-02-17 | Fix for issue in mask overlap with no splines in the mask. | Campbell Barton | |
2014-02-17 | Fix for rare crash in recent mask option to check overlaps | Campbell Barton | |
2014-02-14 | Code clearnup: warnings | Campbell Barton | |
2014-02-14 | workaround for building with mingw32 | Campbell Barton | |
2014-02-13 | Mask: add option to detect self intersections | Campbell Barton | |
2014-02-13 | Scanfill: add user-flags for edges and verts, useful elsewhere. | Campbell Barton | |
2014-02-13 | Scanfill: name flags better and comment unused SF_EDGE_BOUNDARY flag. | Campbell Barton | |
2014-02-13 | ListBase: add BLI_sortlist_r api function, remove check for NULL callback | Campbell Barton | |
2014-02-13 | Mask: option not to treat overlapping curves as holes | Campbell Barton | |
2014-02-12 | NDOF: fix for negative colors and flickering hue when picking with HSVCUBE | Campbell Barton | |
2014-02-10 | UI: panel tabs, use simple color interpolation that ignores alpha | Campbell Barton | |
2014-02-09 | OSX/scons: allow for compiling with clang-openmp-3.4 | Jens Verwiebe | |
See: http://clang-omp.github.io + fix a longstanding bad include in darwin-config | |||
2014-02-07 | ListBase API: add utility api funcs for clearing and checking empty | Campbell Barton | |
2014-02-05 | Scanfill: use poly_nr as an index rather then index + 1 | Campbell Barton | |
2014-02-05 | Scanfill: malloc arrays and zero init members | Campbell Barton | |
2014-02-04 | Code cleanup: remove scdata from ScanFillContext | Campbell Barton | |
2014-02-04 | Scanfill: optimize filling curves, text, masks - skip calculating holes | Campbell Barton | |
Support for tagging polygon numbers when adding scanfill data, saves having to calculate connectivity afterwards (which can take approx half overall scanfill time for complex curves). | |||
2014-02-04 | Scanfill: minor optimization, comment unused code, avoid vert loop | Campbell Barton | |
2014-02-04 | Code cleanup: declarations for removed functions | Campbell Barton | |
2014-02-03 | Scanfill: skip checks for loose edges when they can't occur | Campbell Barton | |
Only editmesh needs this, text, curves, masks - can all skip this check | |||
2014-02-03 | Code cleanup: replace while -> for loops | Campbell Barton | |
2014-02-03 | Code cleanup: use bools where possible | Campbell Barton | |
2014-02-02 | Code cleanup: suffix vars to make obvious they are squared | Campbell Barton | |
2014-02-02 | Fix: Compile error due to missing #define for MSVC9 (VisualC++ 2008) | Andrea Weikert | |
Added some relevant #defines copied from extern\libmv\third_party\msinttypes to BLI_sys_types.h so they can be used in blenlib. Made smallhash.c use the BLI_sys_types.h include rather than including <stdint.h> directly | |||
2014-02-02 | Add include needed for clang, quiet warning | Campbell Barton | |
2014-02-02 | Smallhash: add reserve option to avoid resizing when size is known | Campbell Barton | |
2014-02-02 | Smallhash: fixes/improvements | Campbell Barton | |
- use magic numbers based on uintptr max, not uint max, to avoid possible collisions with real pointer values on 64bit systems. - comment BLI_smallhash_remove for now, its not used. - added smallhash_val_is_used replacing ELEM() checks - updated docs | |||
2014-02-01 | Smallhash: optimizations | Campbell Barton | |
- remove static array used only for copying (use alloca on resize) - set SMSTACKSIZE to one of the values in 'hashsizes' since the full available size was never used. - ensure ~1.5x as many buckets as entries, was 3x which caused malloc's quite early on. | |||
2014-02-01 | Code cleanup: use length squared where possible | Campbell Barton | |
2014-02-01 | Math lib: simplify size_to_mat4 and use in b_bone_spline_setup | Campbell Barton | |
2014-02-01 | Math lib: add axis_angle_normalized_to_quat, use when length is known | Campbell Barton | |
2014-01-30 | Code cleanup: remove BLI_has_parent | Campbell Barton | |
2014-01-30 | Code cleanup: add BLI_testextensie_n, replacing multuple calls to ↵ | Campbell Barton | |
BLI_testextensie also use attributes for BLI path functions | |||
2014-01-30 | Smallhash: refactor and fixes | Campbell Barton | |
- BLI_smallhash_remove didnt decrement total entries. - rename vars to match closer to ghash. - smallhash_lookup returns NULL when no entry found. - using a zero value key wasn't supported. - no need to memset or calloc bucket arrays - add asserts for unsupported conditions. - added BLI_smallhash_lookup_p | |||
2014-01-29 | UI: Refactor timecode functions into BLI_timecode | Campbell Barton | |
- deduplicate timecode_simple_string from image.c - replace V2D_UNIT_SECONDSSEQ with V2D_UNIT_SECONDS - avoid possible buffer overflow bugs (sprintf -> BLI_snprintf) - remove option not to use timecode and split into 2 functions Patch D227 by Andrew Buttery with own refactoring. | |||
2014-01-28 | Code cleanup: remove references to svn and code style | Campbell Barton | |
2014-01-26 | Cleanup of BLI_smallhash | Bastien Montagne | |
Factorized a bit the code here, think it's more readable now... No performance enhancement though. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D259 | |||
2014-01-21 | Code Cleanup: use bool for return values and correct comments | Campbell Barton | |
also remove CDDM_Check, theres no need for it. | |||
2014-01-21 | Replace XOR swapping by default ("naive", with extra var) one. | Bastien Montagne | |
Ref: http://en.wikipedia.org/wiki/XOR_swap_algorithm, modern compilers/CPUs are much more efficient with "naive" algo than XOR one. Doubled check, for me in an optimized build, XOR is several times slower than naive algo. | |||
2014-01-21 | Fix T38303: same names with different case sorted unpredictable in the file ↵ | Brecht Van Lommel | |
browser. The string comparison was in lower case, so the same strings with different case were considered the same which can make qsort give different results on each sort since it's not a stable sort. Now take case into account in comparison. | |||
2014-01-21 | Code Cleanup: style | Campbell Barton | |