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
2021-12-09Cleanup: move public doc-strings into headers for 'blenlib'Campbell Barton
- Added space below non doc-string comments to make it clear these aren't comments for the symbols directly below them. - Use doxy sections for some headers. - Minor improvements to doc-strings. Ref T92709
2021-10-24Cleanup: spelling in commentsCampbell Barton
2021-07-20Cleanup: use doxygen style parameters in noise.cCampbell Barton
These used their own ad-hoc syntax.
2021-07-05Cleanup: spelling in commentsCampbell Barton
2021-04-01Cleanup: spellingCampbell Barton
2021-02-14Cleanup: use doxy sectionsCampbell Barton
2021-02-02Fix T85225: Variable scope in ridged multi-fractal noiseRobert Guetzkow
This patch fixes a bug introduced in rB74188e65028d268af887ab2140e4253087410c1e. The commit incorrectly moved the declaration and intialization of the variable `pwr` inside the loop. Since the value was originally modified in each iteration based on it's previous value and `pwHL` through `pwr *= pwHL`, this change in scope was wrong. It resetted the value in each iteration. This patch moves the declaration of `pwr` outside the loop again. Reviewed By: JacquesLucke Differential Revision: https://developer.blender.org/D10258
2020-11-07Noise: fix uninitialized variable warning.Ankit Meel
Mistake in 74188e65028d
2020-11-06Fix uninitialized valueAaron Carlisle
Own mistake in rB74188e65028d268af887ab2140e4253087410c1e
2020-11-06Cleanup: follow our code style for float literalsCampbell Barton
2020-11-06Cleanup: use bool argument in BLI_noiseCampbell Barton
2020-11-06Cleanup: BLI_noiseCampbell Barton
Use common prefix as this collided with existing API's (eg BLI_voronoi). Also expand some non-obvious abbreviations: - 'g' -> 'generic' - 'vl' -> 'variable_lacunarity' - 'V' -> 'v3'
2020-11-06Cleanup: remove unused BLI_turbulence1Campbell Barton
A slightly modified version of BLI_turbulence1, unused for years.
2020-11-06Cleanup: clang-formatCampbell Barton
2020-11-05Cleanup: Reduce variable scopeAaron Carlisle
Differential Revision: https://developer.blender.org/D9475
2020-11-04Cleanup: make formatAaron Carlisle
2020-11-04Cleanup: Add BLI prefix to some BLI_noise functionsAaron Carlisle
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-05-08Cleanup: clang-formatCampbell Barton
2020-05-07Blenlib: Added explicit BLI_INLINE in perlin noise.Stefan Werner
A few tiny functions were not inlined even in some release configurations. Added BLI_INLINE as extra compiler hint in places that the profiler showed at hot spots when populating geometry with hair.
2020-02-20Cleanup: remove use of 'register'Campbell Barton
This isn't needed with modern compilers.
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
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-03-27Cleanup: style, use braces for blenlibCampbell Barton
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-02-23Cleanup: use specific names for global variablesCampbell Barton
hash & hashsizes are generic names, be more specific & define the generic names locally. Quiet undeclared variable warnings.
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-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
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-15Cleanup: comment line length (blenlib)Campbell Barton
Prevents clang-format wrapping text before comments.
2018-12-30Cleanup: warnings (clang)Campbell Barton
2018-10-18Cleanup: Remove more #if 0 blocksJacques Lucke
Continuation of https://developer.blender.org/D3802 Reviewers: brecht Differential Revision: https://developer.blender.org/D3808
2018-06-17Cleanup: trailing space for BLICampbell Barton
2017-10-06Cleanup: styleCampbell Barton
2017-07-16Fix T52034: cell noise renders different.Brecht Van Lommel
Tweak the bias from the previous fix a bit to be more backwards compatible in some scene. In the end which way we round is quite arbitrary, but keeping the case where the texture coordinate is exactly zero the same seems better.
2017-07-02Fix T51951: cell noise texture precision issue at unit vertex coordinates.Brecht Van Lommel
Solution is to bias the coordinates a little, same as Cycles checker texture.
2016-05-31Cleanup: parenthesize definesCampbell Barton
2015-11-23Cleanup: shadowing (blenlib, gpu, imbuf)Campbell Barton
2015-09-13Cleanup: spellingCampbell Barton
2015-02-11cleanup: style/indentationCampbell Barton
2014-03-30Code cleanup: de-duplicate cotangent weight function & add arg sizesCampbell 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.
2013-10-12code cleanup: use const's for vector args.Campbell Barton
2013-10-11code cleanup: use const's for static arraysCampbell Barton
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-03-16code cleanup: quiet some -Wshadow warnings, mix of obvious mistakes and ↵Campbell Barton
harmless global/local naming conflict.
2013-01-16style cleanupCampbell Barton
2012-11-18style cleanup: if's on the same line.Campbell Barton
2012-11-13make smoothing value for ring select compatible with the operator.Campbell Barton
also wrap long lines in noise.c