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
2020-07-13Clang Tidy: enable readability-non-const-parameter warningJacques Lucke
Clang Tidy reported a couple of false positives. I disabled those `NOLINTNEXTLINE`. Differential Revision: https://developer.blender.org/D8199
2020-07-03Clang-Tidy: enable readability-named-parameterJacques Lucke
2020-07-03Clang-Tidy: Fix readability-delete-null-pointer warningsSergey Sharybin
Also enable it in the configuration.
2020-07-03Clang-tidy: enable readability-container-size-empty warningJacques Lucke
Reviewers: sergey Differential Revision: https://developer.blender.org/D8197
2020-06-25Cleanup: spellingCampbell Barton
2020-06-19Freestyle: Fix compilation error with C++17Sergey Sharybin
AutoPtr class became a sub-class of unique_ptr with some special magic to mimic behavior of auto_ptr for copy constructor. The code was already there, but for some reason visual studio did not set __cplusplus correctly for some reason. The other change is remove of binary function usage, which is not needed in the Freestyle code.
2020-06-05Cleanup: spellingCampbell Barton
2020-05-08Cleanup: take includes out of 'extern "C"' blocksJacques Lucke
Surrounding includes with an 'extern "C"' block is not necessary anymore. Also that made it harder to add any C++ code to some headers, or include headers that have "optional" C++ code like `MEM_guardedalloc.h`. I tested compilation on linux and windows (and got help from @LazyDodo). If this still breaks compilation due to some linker error, the header containing the symbol in question is probably missing an 'extern "C"' block. Differential Revision: https://developer.blender.org/D7653
2020-04-21Fix Linux/GCC build error after recent changesBrecht Van Lommel
2020-04-21Fix clang-format differences between version 6 and 9Brecht Van Lommel
Version 6 does not appear to respect clang-format off for header sorting.
2020-03-19Cleanup: spellingCampbell Barton
2020-03-06Cleanup: tweak Freestyle #includes in preparation for clang-format sortingDalai Felinto
2020-02-11Cleanup: extra semicolons, comma use, undeclared varsCampbell Barton
2019-10-10Cleanup: clang-format, spellingCampbell Barton
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Spelling fixes in comments and descriptions, patch by luzpazBrecht Van Lommel
Differential Revision: https://developer.blender.org/D3744
2019-06-17Cleanup: comment spellingCampbell Barton
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-31Cleanup: style, use braces in source/Campbell Barton
Automated using clang-tidy.
2019-05-02Cleanup: typos in commentsCampbell Barton
2019-05-01Cleanup: correct arg wrapping from recent cleanupCampbell Barton
2019-05-01Cleanup: comments (long lines) in freestyleCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-04-16Cleanup: trailing commasCampbell Barton
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-04Cleanup: Typos in comments (to to)Pablo Vazquez
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
2019-02-02Cleanup: remove author/date info from doxy headersCampbell Barton
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-04Fix T57890: freestyle rendering crash.Brecht Van Lommel
Depsgraph objects are deleted after conversion to Freestyle data structures, so don't keep a pointer to their name strings.
2018-12-12Cleanup: use colon separator after parameterCampbell Barton
Helps separate variable names from descriptive text. Was already used in some parts of the code, double space and dashes were used elsewhere.
2018-10-11Cleanup: style (pointers)Campbell Barton
2018-09-19BLI_utildefines: rename pointer conversion macrosCampbell Barton
Terms get/set don't make much sense when casting values. Name macros so the conversion is obvious, use common prefix for easier completion. - GET_INT_FROM_POINTER -> POINTER_AS_INT - SET_INT_IN_POINTER -> POINTER_FROM_INT - GET_UINT_FROM_POINTER -> POINTER_AS_UINT - SET_UINT_IN_POINTER -> POINTER_FROM_UINT
2018-09-03Spelling fixes in comments and descriptions, patch by luzpaz.Brecht Van Lommel
Differential Revision: https://developer.blender.org/D3668
2018-09-02Cleanup: comment blocksCampbell Barton
2018-08-29Cleanup: indentationCampbell Barton
2018-06-17Cleanup: trailing space for freestyleCampbell Barton
2018-04-16Cleanup: indentationCampbell Barton
2016-12-28Fix T49479: Freestyle inconsistent line drawing with large geometry dimension.Tamito Kajiyama
Ray-plane intersection routine GeomUtils::intersectRayPlane() was used with an unnormalized direction vector as input.
2016-08-18Freestyle: fix wrong arg order, and cleanup confusing loop (both reported by ↵Bastien Montagne
coverity). Error: `origin` and `edge` args were swapped in final `FindOccludee()` call of `ViewMapBuilder::ComputeRayCastingVisibility()` Cleanup: main for loop in `Strip::createStrip()` was really confusing (though correct), generated a false positive in coverity scan, now should be cleaner how it loops over its vprev/v/v2 triplet of consecutive items.
2016-08-05Fix T48366: Freestyle will unnecessary exclude some linked objects.Tamito Kajiyama
Group membership testing for including/excluding feature lines was not accounting for object names possibly further qualified by library file paths. Also fixed a few potential (but unlikely) references of uninitialized variables. A big thank to Bastien Montagne for the insight on the cause of the problem and how to fix it.
2016-08-05Freestyle: minor code cleanup (whites pace).Tamito Kajiyama
2016-07-22fix null pointer dereferencesMike Erwin
Found with PVS-Studio T48917
2016-07-08Cleanup: spellingCampbell Barton
2016-07-07Cleanup: spelling, styleCampbell Barton
2016-07-02Cleanup: comment blocksCampbell Barton
2015-07-20Freestyle: disabled debug code in ViewMapBuilder::ComputeIntersections().Tamito Kajiyama
2015-07-20Freestyle: minor optimization for space in the FEdgeXDetector.Tamito Kajiyama
Member variables and auto variables were changed from real (double) to float in most part of the FEdgeXDetector (except for curvature computations).