Go to file
Luca Rood 0a25cea2cf Fix T62240: Bleed artifacts with degenerate triangles
This makes degenerate triangles be ignored, as they cause artifacts and
don't contribute to the result anyway. There is an extra cost for
all triangles, to check if they are degenerate. Though not ideal, this
seems to be the safest solution at the moment (see code comments).

This commit also changes the clamp value for the bleed len_fact from 5
to 10, to give good corner results with some sharper angles, considering
they will be rounded later.

A lot of the texture paint initialization code could be optimized
by caching the results throughout the session, instead of rerunning it
for each stroke. Stroke initialization is way too expensive at the
moment, and does many redundant computations.
2019-03-17 15:44:41 +01:00
build_files Merge branch 'blender2.7' 2019-03-17 12:54:19 +01:00
doc Cleanup: unused imports 2019-03-17 21:00:56 +11:00
extern Fix T62255: Blender defaults to "OpenAL Soft" in sound settings, regardless of saved preferences 2019-03-10 23:28:51 +01:00
intern Cocoa: Fix missing key window after closing "About" 2019-03-17 13:24:38 +01:00
release Cleanup: unused variables 2019-03-17 21:14:43 +11:00
source Fix T62240: Bleed artifacts with degenerate triangles 2019-03-17 15:44:41 +01:00
tests Merge branch 'blender2.7' 2019-03-17 12:54:19 +01:00
.arcconfig Update for moving blender2.8 to master. 2018-12-21 12:15:21 +01:00
.editorconfig editorconfig: correct C/C++ using space 2018-06-19 07:48:12 +02:00
.gitignore Git: add TAGS & tags to .gitignore 2019-01-22 12:50:13 +01:00
.gitmodules Update for moving blender2.8 to master. 2018-12-21 12:15:21 +01:00
CMakeLists.txt Cleanup: remove contributors for CMake files 2019-02-05 09:10:32 +11:00
COPYING == docs == 2010-10-13 14:44:22 +00:00
GNUmakefile Makefile: icons target now uses make variables 2019-02-28 10:37:49 +11:00
make.bat Cleanup: trailing space cmake, make.bat 2018-06-17 20:18:09 +02:00