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
2018-01-18Fix buffer overflow vulnerabilities in mesh code.Brecht Van Lommel
Solves these security issues from T52924: CVE-2017-12081 CVE-2017-12082 CVE-2017-12086 CVE-2017-12099 CVE-2017-12100 CVE-2017-12101 CVE-2017-12105 While the specific overflow issue may be fixed, loading the repro .blend files may still crash because they are incomplete and corrupt. The way they crash may be impossible to exploit, but this is difficult to prove. Differential Revision: https://developer.blender.org/D3002
2016-07-08Cleanup: use normalize_v#_lengthCampbell Barton
2016-04-11Fix T48084: Solidify uses alternate quad-directionCampbell Barton
This prevents twisted quads from self-intersecting. This change makes the duplicate surface match the first vertex in the face, so the diagonal indices match in the face copy.
2016-03-03Docs: comment on poly flipping w/ solidifyCampbell Barton
2015-11-23Cleanup: shadowing (rna, modifiers, *misc*)Campbell Barton
2015-10-12Add functions to compute normals (verts, polys and loops ones) for a given ↵Bastien Montagne
shapekey. Title says pretty much everything, we now have BKE and RNA funcs to get vertex, poly and loop normals of a given shapekey. This will be used e.g. in FBX exporter (shapekeys need normal data too). Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1510
2015-05-12Depsgraph: New dependency graph integration commitSergey Sharybin
This commit integrates the work done so far on the new dependency graph system, where goal was to replace legacy depsgraph with the new one, supporting loads of neat features like: - More granular dependency relation nature, which solves issues with fake cycles in the dependencies. - Move towards all-animatable, by better integration of drivers into the system. - Lay down some basis for upcoming copy-on-write, overrides and so on. The new system is living side-by-side with the previous one and disabled by default, so nothing will become suddenly broken. The way to enable new depsgraph is to pass `--new-depsgraph` command line argument. It's a bit early to consider the system production-ready, there are some TODOs and issues were discovered during the merge period, they'll be addressed ASAP. But it's important to merge, because it's the only way to attract artists to really start testing this system. There are number of assorted documents related on the design of the new system: * http://wiki.blender.org/index.php/User:Aligorith/GSoC2013_Depsgraph#Design_Documents * http://wiki.blender.org/index.php/User:Nazg-gul/DependencyGraph There are also some user-related information online: * http://code.blender.org/2015/02/blender-dependency-graph-branch-for-users/ * http://code.blender.org/2015/03/more-dependency-graph-tricks/ Kudos to everyone who was involved into the project: - Joshua "Aligorith" Leung -- design specification, initial code - Lukas "lukas_t" Toenne -- integrating code into blender, with further fixes - Sergey "Sergey" "Sharybin" -- some mocking around, trying to wrap up the project and so - Bassam "slikdigit" Kurdali -- stressing the new system, reporting all the issues and recording/writing documentation. - Everyone else who i forgot to mention here :)
2015-05-05Math Lib: rename fill_*, to copy_*Campbell Barton
matching convention for fixed length api, eg: copy_v3_fl
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-02-26Fix T43643: Solidify crashes with 'only-rim'Campbell Barton
When verts were shared by 2+ face-islands, the number of allocated edges was wrong. Cleanup the logic for new verts/edges.
2015-02-24Modifier: no need to calloc (immediately filled)Campbell Barton
2014-08-20Fix for recent solidify rim-only patchCampbell Barton
2014-08-18Cleanup: assert / warnCampbell Barton
2014-08-15Solidify Modifier "Rim Only" OptionCampbell Barton
D737 by scorpion81 with own edits
2014-06-28BLI_stackdefinesCampbell Barton
Bounds check the stack while debugging, also add STACK_PEEK
2014-06-24move STACK_* macros into BLI_stackdefines.hCampbell Barton
2014-06-13BLI_bitmap: rename macrosCampbell Barton
- BLI_BITMAP_SET -> BLI_BITMAP_ENABLE - BLI_BITMAP_CLEAR -> BLI_BITMAP_DISABLE - BLI_BITMAP_GET -> BLI_BITMAP_TEST - BLI_BITMAP_MODIFY -> BLI_BITMAP_SET
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-19Math Lib: add shell_v3v3_normalized_to_dist and v2 versionCampbell Barton
bypass angle calculation to avoids (asin, sqrt, cos).
2014-03-20Code cleanup: use boolsCampbell Barton
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-01-16Minor change to last commit to solidify, only allocate bitmap as neededCampbell Barton
2014-01-16Fix T38116: Crash when using solidify modifier on multi-user meshSergey Sharybin
Issue was caused by solidify modifier using original vertices bitfield to store tags. This isn't thread-safe obviously. Now use bitmap to store needed tags. Reviewed by Campbell, thanks!
2013-12-21Mesh Modifiers: refactor copying using a generic functionCampbell Barton
2013-07-13fix bad uses of sizeof() with memory allocation.Campbell Barton
2013-06-15fix for recent changes in solidify, normals were OK but customdata for loops ↵Campbell Barton
wasnt.
2013-06-14fix for own error in recent solitify refactor (r57402), face flip check was ↵Campbell Barton
incorrect.
2013-06-12ifdef bugfix since its a little strange.Campbell Barton
2013-06-12solidify: dont add poly-normal layer to the derived mesh, since this is no ↵Campbell Barton
longer a convention.
2013-06-12fix [#35710] Mesh explodes while using solidify modifier with tubular ↵Campbell Barton
non-manifold base mesh.
2013-06-12change to solidify modifiers own normal calculation function, dont attempt ↵Campbell Barton
to calculate normals for edges with 3+ face users.
2013-06-12optimize solidify, no need to do edgehash lookups, the edges are known.Campbell Barton
2013-06-12solidify: reduce sign conversions.Campbell Barton
2013-06-12solidify: remove BLI_array realloc's.Campbell Barton
2013-06-12correct solidify normal calculation logicCampbell Barton
- always calculate vertex normals since they are used as fallbacks. - only calculate rim normals if the normals are not already flagged as dirty.
2013-06-02corrections to modifiers from recent normal handling changesCampbell Barton
- solidify didn't define a dependsOnNormals callback (which it should have) - build wasn't passing on dirty normals. - decimate wasnt setting dirty normals.
2013-05-30modifier stack: lazy initialize normalsCampbell Barton
many modifiers were calculating normals, when those normals were ignored by the next modifier. now flag normals as dirty and recalculate for modifiers that set use `dependsOnNormals()` callback. Quick test on mesh with 12 modifiers (mostly build type), calculated normals 6 times, now it only runs once - so this will give some speedup too.
2013-05-25fix for out of bounds memory access in solidify (harmless with guardedalloc ↵Campbell Barton
padding but bad practice)
2013-05-08more optimal method of calculating the normal for the solidify modifier.Campbell Barton
When adding 2 unit length vectors, the length can be used to calculate the angle.
2013-05-08code clenup: rename BKE_mesh_poly_calc_angles -> BKE_mesh_calc_poly_anglesCampbell Barton
2013-05-02Fix #35174: dynamic paint displacement missing in render.Brecht Van Lommel
A previous bugfix disabled the dynamic paint modifier for orco texture coordinate evaluation of the modifier stack. However the MOD_APPLY_USECACHE flag is not a good way to check if the modifier is evaluated for orcos. Instead I've added a MOD_APPLY_ORCO flag. Also removed a bunch of applyModifierEM callbacks, none of them served a purpose except for the subsurf modifier.
2013-04-27Fix #35113: solidify modifier not preserving clamp option on duplicating theBrecht Van Lommel
object or modifier.
2013-04-26fix for out of bounds memory access in solidify modifier (hidden by ↵Campbell Barton
guardedalloc).
2013-03-13solidify modifier: thickness clamping helps prevent self intersections when ↵Campbell Barton
there are small details on a larger model.
2013-02-26fix own regression since 2.65 [#34438] Solidify crease bugCampbell Barton
2013-01-04fix [#33742] Solidify - Material index problemCampbell Barton
missed copying material offset values.
2012-12-05add a message when solidify is used with only-edges, this isn't properly ↵Campbell Barton
supported. also minor edits to py-api-ref -- This line, and those below, will be ignored-- M doc/python_api/sphinx_doc_gen.py M doc/python_api/rst/include__bmesh.rst M source/blender/modifiers/intern/MOD_solidify.c
2012-11-09style cleanup: indentationCampbell Barton
2012-10-20code cleanup: quiet -Wshadow warning, var name changes for splice functions ↵Campbell Barton
and add assert for BM_edge_splice() when edges don't use the same vertices.
2012-09-25fix for regression in solidify modifier copying loop customdata to rim faces ↵Campbell Barton
(UV's and vertex colors). Own fault when fixing rim face flipping r46924