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-28Revert own changes to CLAMP and CLAMPIS, caused T38875Campbell 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-17Compile Attrs: add ATTR_RETURNS_NONNULLCampbell 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-16MSVC: add errors for BLI_strict_flags.hCampbell Barton
2014-02-15Compile fix for 004decc1d940...Thomas Dinges
2014-02-15Code cleanup: warningsCampbell Barton
2014-02-14Code clearnup: warningsCampbell Barton
2014-02-14workaround for building with mingw32Campbell Barton
2014-02-13Rework carve integration into boolean modifierSergey Sharybin
Goal of this commit is to support NGons for boolean modifier (currently mesh is being tessellated before performing boolean operation) and also solve the limitation of loosing edge custom data layers after boolean operation is performed. Main idea is to make it so boolean modifier uses Carve library directly via it's C-API, avoiding BSP intermediate level which was doubling amount of memory needed for the operation and which also used quite reasonable amount of overhead time. Perhaps memory usage and CPU usage are the same after all the features are implemented but we've got support now: - ORIGINDEX for all the geometry - Interpolation of edge custom data (seams, crease) - NGons support Triangulation rule is changed now as well, so now non-flat polygons are not being merged back after Carve work. This is so because it's not so trivial to support for NGons and having different behavior for quads and NGons is even more creepy. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D274
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 attributes to api functionsCampbell 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-08some systems didnt define NULLCampbell Barton
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: avoid converting int<>intptr_t for displist indicesCampbell 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: removed unnecessary #defines causing re-definition warningsAndrea Weikert
Fixing warnings in own recent commit
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-03Add include for FreeBSD and clangCampbell 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