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-05-09De-duplicated #includes.Tamito Kajiyama
2014-05-09Fix for an occasional crash in Freestyle stroke rendering.Tamito Kajiyama
Materials were freed before releasing meshes that may have references to the materials.
2014-05-08Removed a Freestyle hack for DAG updates introduced in commit rBae58968e0a61.Tamito Kajiyama
Now that Freestyle employs a separate Main, this workaround is no longer necessary. Reviewers: sergey Reviewed By: sergey Differential Revision: https://developer.blender.org/D513
2014-05-07Freestyle: minor code clean-up.Tamito Kajiyama
2014-05-07Freestyle: time/space optimization in stroke rendering without textures.Tamito Kajiyama
When strokes do not have textures assigned, UV coordinates are not computed now. This will save a bit of time and space in stroke rendering.
2014-05-07Freestyle: debug statistics on stroke rendering.Tamito Kajiyama
2014-05-07Freestyle: removed the dummy implementation of a texture manager.Tamito Kajiyama
Legacy texture shaders from the original stand-alone Freestyle program are also declared as deprecated, in favor of Blender's new line style textures. Patch contribution by Paolo Acampora. Thanks!
2014-05-05Another attempt to fully fix T40020: Freestyle: dashed lines crashes blender.Tamito Kajiyama
Problem report by flokkievids through rB047c3aa728a4bb944616a084805988714b796d52#1. Thanks!
2014-05-05Fix T40020: Freestyle: dashed lines crashes blender.Tamito Kajiyama
The crash was due to an out-of-range vertex index reference that occured while computing texture coordinates of strokes with tips.
2014-05-03Patch D246: Texture Marks for freestyle strokes, written and contributed by ↵Tamito Kajiyama
Paolo Acampora. Reviewers: brecht, kjym3, #freestyle Reviewed By: brecht, kjym3 Differential Revision: https://developer.blender.org/D246
2014-04-24Freestyle: quiet BMESH validator warnings of zero normals.Tamito Kajiyama
2014-04-18Quite compiler warnings.Tamito Kajiyama
2014-04-17Fix another Freestyle building glitch.Bastien Montagne
2014-04-17Attempt to fix one more issue with Freestyle compilationSergey Sharybin
2014-04-17Fix compilation error of FreestyleSergey Sharybin
Seems to be some sort of namespace conflict or so which is solved by reshuffling the includes a bit.
2014-04-17Freestyle: removed unnecessary #include "FreestyleConfig.h".Tamito Kajiyama
2014-04-17Freestyle: removed unused *_EXPORT qualifiers for building Windows DLLs.Tamito Kajiyama
These qualifiers were leftovers of the stand alone Freestyle program and not used (set to an empty string) in Blender for years.
2014-04-17Fix for missing changes in commit 6b0b6f876a4d68acd5c9252270a5135d0308d782.Tamito Kajiyama
2014-04-17Replaced assert() with BLI_assert().Tamito Kajiyama
2014-04-17Freestyle: removed unnecessary #include files and made minor code cleanup.Tamito Kajiyama
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 4).Tamito Kajiyama
(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of the problem). Fix for a C++ scope issue caused by 'using namespace Freestyle' that was assumed even within the Freestyle namespace definition.
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 3).Tamito Kajiyama
(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of the problem). Made changes to intern/view_map/Interface0D.h and intern/python/Director.h to avoid #include <Python.h> and keep non-Python header files independent of it.
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 2).Tamito Kajiyama
(See commit e1771e72fbbf828dbf5bed871b814288389f3611 for more detail of the problem). Fixed for #include <Python.h> not properly put in the extern "C" { ... } construct. Also removed redundant inclusion of the header file in the Freestyle Python API code.
2014-04-17Freestyle: Fix for VC++ warnings about 'hypot' macro redefinitions (Part 1).Tamito Kajiyama
The issue was caused by including both Python.h and BLI_math.h. Since the macro definition in Python.h was unconditional, it was necessary to include it first and then BLI_math.h. Addressing the issue turned out to affect many Freestyle source files. There were several other coding flaws that complicated the situation: 1. intern/system/FreestyleConfig.h was abused just to include BLI_math.h which was in fact unnecessary in FreestyleConfig.h. While addressing this, inclusion of both math.h and BLI_math.h had to be duly dealt with to avoid a compiler error about round(). 2. #include <Python.h> was not properly put in the extern "C" { ... } construct. 3. intern/view_map/Interface0D.h and intern/python/Director.h, both of which included Python.h, were included from within Freestyle header files that were almost or completely independent of Python. These non-Python header files were used everywhere in the Freestyle code base, causing many cases of the reported macro redefinitions. 4. The Director.h file was also declaring 'using namespace Freestyle', which was causing another scope issue in several Freestyle header files. This commit is intended to address the first problem above. Subsequent commits will deal with the other three.
2014-04-15Code cleanup: indentationCampbell Barton
2014-04-11Fix for Freestyle Python API modules not found in the Python Console.Tamito Kajiyama
Addition of the path to the Freestyle Python API modules to 'sys.path' was delayed until the first Freestyle rendering, so that any import attempt of the modules in the Python Console always failed. Now the update of 'sys.path' is done at Blender start-up. This allows the Freestyle-specific modules to be imported without running Freestyle, facilitating quick interactive testing in the Console.
2014-04-09Freestyle: fix for typos in Python API docstrings.Tamito Kajiyama
2014-04-07Code cleanup: make the source G rated again.Campbell Barton
2014-04-07Code cleanup: use parens around multi-line defines.Campbell Barton
2014-04-04Missing file in commit 12302011d6207a60b24d0cae71a88df0384bc5da.Tamito Kajiyama
2014-04-04Freestyle: Removed SVertex _curvatureFredo and _directionFredo and their ↵Tamito Kajiyama
getter/setter methods.. These data elements are undocumented and of little use. For now they are commented out in the implementation in favor of less memory consumption, and a very limited support for these data components in the Python API was just removed (should be easy to recover).
2014-04-04Freestyle: Fix for class definitions of 0D/1D functions (functors).Tamito Kajiyama
Symbol 'real' is an alias of double and is subject to future change, while the interface of 0D/1D functions is part of the stable Freestyle Python API. So all occurrences of this type in the class definitions were replaced with double.
2014-04-03Freestyle: Fix for debug information about sweep line intersection detection.Tamito Kajiyama
Vertices of two edges were swapped by mistake. Also fixed indentation and added a couple of debug prints to make it easier to visualize the lines using Matlab.
2014-04-02Fix for building with MSVC2008Campbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-04-01Fix for leak in freestyle transformVerticesCampbell Barton
2014-04-01Fix for leak in freestyle FitCurveCampbell Barton
2014-03-19Code cleanup: unreachable break/returnCampbell Barton
2014-03-15Code cleanup: spelling & styleCampbell Barton
2014-03-13Freestyle: Fix for a potential implementation error in the Python wrapper of ↵Tamito Kajiyama
the Nature class.
2014-03-13Freestyle: avoid checking PyErr_Occurred and quiet warningCampbell Barton
2014-03-09Fix for prevoius commit: accidentally changed a ifndef to ifdef.Juergen Herrmann
2014-03-09Cleanup some useless/unneeded #ifdefs for MSVC2013.Juergen Herrmann
2014-03-05Freestyle: Fix for incorrect comparisons of Nature values with integer and ↵Tamito Kajiyama
boolean values. The problem is that comparisons involving the constants Nature.POINT (for vertices) and Nature.NO_FEATURE (for edges) were evaluated in a wrong way. It is recalled that the Nature class is a subclass of Python's built-in int type, and that these two constants are zero when evaluated as numbers. The issue was caused by the implementation of the constants in an incompatible way for comparison with Python int (and boolean) values. Specifically, the zero of Python int is represented by an empty array of digits, whereas the zero-valued Nature constants were represented by an array of size 1. Python int comparison operators first check the lengths of the arrays of two operands, and then start comparing the digits only when the array length is the same. For this reason, the two Nature constants were not properly compared with int values (and thus with boolean values). It is noted that the zero-valued Nature constants may result from bitwise operations on other Nature constants (e.g., Nature.SILHOUETTE & Nature.BORDER), so this issue must have affected many existing style modules. The problem was reported by Folkert de Vries (flokkievids) through personal communications. Thanks a lot!
2014-02-28Fix T38887: error in (still unused) freestyle math function implementation.Brecht Van Lommel
2014-02-13Freestyle: Follow-up fix for the chaining operation bug in the previous commit.Tamito Kajiyama
Many thanks to flokkievids for identifying the inconsistency.
2014-02-12Freestyle: Fix for chaining operators not concatenating edges with Freestyle ↵Tamito Kajiyama
edge marks and at material boundaries. Problem report by Postoman on the BlenderArtists.org Freestyle thread, thanks a lot!
2014-02-05Code cleanup: use bool for static methodsCampbell Barton
2014-02-03Code cleanup: white space and cmake was broken on all platformsCampbell Barton
2014-02-02Freestyle: Fix for iterations over 0D elements in the reversed order.Tamito Kajiyama
The revision is concerned with Interface0DIterator and StrokeVertexIterator. These iterators can be generated by Interface1D::vertices_end() and Stroke::stroke_vertices_end(), respectively. These methods return an iterator poinitng the next index of the last 0D element (i.e., iterator's is_end property is true). When the iterators created in this way are used with Python's iterator protocol (e.g., in a for-loop), iterations over 0D elements are automatically performed in the reversed order. This functionality was broken after recent revisions concerning Freestyle iterators. Also made minor code cleanup (white space).