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
2014-03-12HSL 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-12Code cleanup: redundant normalize in bmbvh ray castCampbell Barton
2014-03-09BLI Rect: utility function to transform a point using 2 rect'sCampbell Barton
2014-03-02Fix 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-01Fix for some unlikely memory leaks, remove redundant checksCampbell Barton
2014-03-01Code cleanup: correct abs use and quiet warningsCampbell Barton
2014-02-27Fix T38858: Crazy spaces was unpredictable with co-linear edgesCampbell Barton
2014-02-19MSVC: improve warnings for scons and cmakeCampbell 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-19Code cleanup: styleCampbell Barton
2014-02-17Fix for issue in mask overlap with no splines in the mask.Campbell Barton
2014-02-17Fix for rare crash in recent mask option to check overlapsCampbell Barton
2014-02-14Code clearnup: warningsCampbell Barton
2014-02-14workaround for building with mingw32Campbell Barton
2014-02-13Mask: add option to detect self intersectionsCampbell Barton
2014-02-13Scanfill: add user-flags for edges and verts, useful elsewhere.Campbell Barton
2014-02-13Scanfill: name flags better and comment unused SF_EDGE_BOUNDARY flag.Campbell Barton
2014-02-13ListBase: add BLI_sortlist_r api function, remove check for NULL callbackCampbell Barton
2014-02-13Mask: option not to treat overlapping curves as holesCampbell Barton
2014-02-12NDOF: fix for negative colors and flickering hue when picking with HSVCUBECampbell Barton
2014-02-10UI: panel tabs, use simple color interpolation that ignores alphaCampbell Barton
2014-02-09OSX/scons: allow for compiling with clang-openmp-3.4Jens Verwiebe
See: http://clang-omp.github.io + fix a longstanding bad include in darwin-config
2014-02-07ListBase API: add utility api funcs for clearing and checking emptyCampbell Barton
2014-02-05Scanfill: use poly_nr as an index rather then index + 1Campbell Barton
2014-02-05Scanfill: malloc arrays and zero init membersCampbell Barton
2014-02-04Code cleanup: remove scdata from ScanFillContextCampbell Barton
2014-02-04Scanfill: optimize filling curves, text, masks - skip calculating holesCampbell 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-04Scanfill: minor optimization, comment unused code, avoid vert loopCampbell Barton
2014-02-04Code cleanup: declarations for removed functionsCampbell Barton
2014-02-03Scanfill: skip checks for loose edges when they can't occurCampbell Barton
Only editmesh needs this, text, curves, masks - can all skip this check
2014-02-03Code cleanup: replace while -> for loopsCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-02-02Fix: 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-02Add include needed for clang, quiet warningCampbell Barton
2014-02-02Smallhash: add reserve option to avoid resizing when size is knownCampbell Barton
2014-02-02Smallhash: fixes/improvementsCampbell 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-01Smallhash: optimizationsCampbell 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-01Code cleanup: use length squared where possibleCampbell Barton
2014-02-01Math lib: simplify size_to_mat4 and use in b_bone_spline_setupCampbell Barton
2014-02-01Math lib: add axis_angle_normalized_to_quat, use when length is knownCampbell Barton
2014-01-30Code cleanup: remove BLI_has_parentCampbell Barton
2014-01-30Code cleanup: add BLI_testextensie_n, replacing multuple calls to ↵Campbell Barton
BLI_testextensie also use attributes for BLI path functions
2014-01-30Smallhash: refactor and fixesCampbell 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-29UI: Refactor timecode functions into BLI_timecodeCampbell 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-28Code cleanup: remove references to svn and code styleCampbell Barton
2014-01-26Cleanup of BLI_smallhashBastien 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-21Code Cleanup: use bool for return values and correct commentsCampbell Barton
also remove CDDM_Check, theres no need for it.
2014-01-21Replace 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-21Fix 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-21Code Cleanup: styleCampbell Barton