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
2017-07-28Fix T52212: Vgroups doesn't work after Carve BooleanSergey Sharybin
2017-06-20Fix (unreported) missing Image usercount increase when copying UVProject ↵Bastien Montagne
modifier.
2017-06-19Fix (unreported) bad copying code of Surface Deform modifier.Bastien Montagne
2017-06-19Fix compiler warnings from own recent rB0d5c7e5e36b9.Bastien Montagne
2017-06-19Fix (unreported) bad copying of Ocean modifier.Bastien Montagne
Was needlessly complicated code, forgot to copy a value (foam_fade), and was utterly leaking memory!
2017-06-19Fix (unreported) bad copying code in Mesh Deform modifier.Bastien Montagne
2017-06-19Fix (unreported) Dynamic Paint modifier not increasing ID usercount in copy ↵Bastien Montagne
function. *Sigh* One more example of why we should keep ID management handling in as few places as possible! It's impossible to keep more than a few places in sync regarding which ID pointer is refcounted etc.
2017-06-19Fix (unreported) memory leak in Fluid modifier copying.Bastien Montagne
Also generally simplify/sanitize this copy code.
2017-06-12Depsgraph: Use depsgraph from handle rather than from sceneSergey Sharybin
This way the code is more decoupled from the way where depsgraph is stored.
2017-06-08Simplify Array modifier 'relative offset' handling.Bastien Montagne
Was looping three times over the source mesh's vertices to get min/max along all three axes... Nothing critical, but still!
2017-05-30Displace modifier: Pre-fetch all possible images to image pool prior executionSergey Sharybin
This way we reduce amount of time wasted in spin-lock later on when all threads are starting to sample texture.
2017-05-26Fix integer overflows in meshcache modifier.lazydodo
Differential Revision: https://developer.blender.org/D2688
2017-05-22Fix T51520: Broken vertex weights after two mesh joining.Bastien Montagne
Root of the issue here was that two stupid modifiers could create named vgroup CD layers (vgroup editing ones... shame on me :") ). Fix that, and added some versionning code to also fix 'corrupted' blend files created by those so far.
2017-05-05Fix (unreported) memleak in Warp modifier copying.Bastien Montagne
2017-04-24Cleanup: styleCampbell Barton
2017-04-20Fix Surface Deform not unbinding if target is removedLuca Rood
2017-04-17Fix T51176: Cache file location can be blank and prevent fluid simulation ↵Bastien Montagne
from reading baked data Sanitize a bit how cache path is handled by fluidsim (there is much more to be done here though :( ), and forbid empty path (we reset to default path relative to current .blend file in case it's empty). If people really, really want to use current OS-wise directory, they can at least use '.' as path. ;)
2017-04-17Fluidsim cleanup: get rid of magic numbers!Bastien Montagne
2017-04-13Fix Surface Deform crash with missing or freed DMLuca Rood
2017-04-07Alembic: just pass NULL when we know mcmd->reader is NULL.Sybren A. Stüvel
More explicit, easier to read & understand.
2017-03-30Mirror Modifier: Add offsets for mirrored UVsCampbell Barton
The mirror modifier now has two fields that specify a -1 to 1 offset for the U and V axes when mirroring their coordinates. D1844 by @circuitfox
2017-03-21Fix T51012: Surface modifier was not working with curvesGermano Cavalcante
This prevented the Force Field Curve Shape of working
2017-03-19Usual UI/i18n message fixes.Bastien Montagne
Please provide valid description for SurfaceDeform modifier tooltip. Such place-holders should not pass final checks before merging in master!
2017-03-06Surface Deform Modifier: Respect object transforms at bind timeLuca Rood
This slightly changes SDef behavior, by now respecting object transforms at bind time, thus not requiring the objects to be aligned in their respective local spaces, but instead using world space.
2017-03-05Fix T50855: Intersect (knife) w/o separate doesn't selectCampbell Barton
2017-03-04Fix T50838: Surface Deform DM use after free issueLuca Rood
Implementd fix suggested by @sergey in T50838.
2017-03-01Cleanup: code-style, duplicate headerCampbell Barton
2017-02-27Surface Deform Modifier (SDef)Luca Rood
Implementation of the SDef modifier, which allows meshes to be bound by surface, thus allowing things such as cloth simulation proxies. User documentation: https://wiki.blender.org/index.php/User:Lucarood/SurfaceDeform Reviewers: mont29, sergey Subscribers: Severin, dfelinto, plasmasolutions, kjym3 Differential Revision: https://developer.blender.org/D2462
2017-02-19Fix a few compiler warnings with macOS / clang.Brecht Van Lommel
2017-02-06Multi-thread displace modifierSergey Sharybin
The title says it all actually. Use BLI task to loop over vertices and distort their locations. Gives 2x FPS increase in a file with just time-dependent displace modifier on my desktop.
2017-02-06Displace modifier: Use special version of texture samplingSergey Sharybin
This version will give less spin locks and now well-tested by render engines. This should reduce amount of threading overhead when having multiple objects with displace modifier enabled. In the future this will also help us threading the modifier. There are more modifiers which could benefit from this, but let's first investigate the new behavior with one of them.
2017-02-03Explode modifier: Don't tessellate DM if we are not going to apply modifierSergey Sharybin
2017-01-31Cleanup: Rename callback flags from library_query to `IDWALK_CB_...`Bastien Montagne
Better to have clear way to tell whether flag is parameter for BKE_library_foreach_ID_link(), parameter for its callback function, or return value from this callback function.
2017-01-27Fix (IRC reported) DataTransfer modifier affecting base mesh in some cases.Bastien Montagne
Checking only whether mverts is same as base mesh one is not enough in all cases, some modifiers (deform ones) can only generate new mvert data, while keeping others from original mesh. Now checking both mvert or medge, hopefully this will be enough to catch all problematic cases this time. Thanks @gaia for finding that problem. :)
2017-01-27Fix T50534, Part II: warn user when DataTransfer mod affects custom normals.Bastien Montagne
Custom normals need Autosmooth setting to be enabled, always!
2017-01-23Fix compilation error with legacy depsgraph disabledSergey Sharybin
2016-12-09Depsgraph: Add missing relation for cast modifierSergey Sharybin
When control object is used we need to known our own transformation as well.
2016-12-08Fix crash when opening a Blender file containing Alembic data.Kévin Dietrich
Was also affecting object linking.
2016-11-25Math Lib: rotate matrix cleanupCampbell Barton
- Remove 'rotate_m2', unlike 'rotate_m4' it created a new matrix duplicating 'angle_to_mat2' - now used instead. (better avoid matching functions having different behavior). - Add 'axis_angle_to_mat4_single', convenience wrapper for 'axis_angle_to_mat3_single'. - Replace 'unit_m4(), rotate_m4()' with a single call to 'axis_angle_to_mat4_single'.
2016-11-18Fix potential NULL dereference in mesh sequence cache modifier.Bastien Montagne
Reported by coverity.
2016-11-11Depsgraph: Fix wrong relation namesSergey Sharybin
2016-11-11Depsgraph: Fix wrong relations in array modifierSergey Sharybin
2016-11-02Depsgraph: Fix some errors printed to the consoleSergey Sharybin
They were not real issues, it's just some areas of code tried to create relations between non-existing nodes without checking whether such relations are really needed. Now it should be easier to see real bugs printed. Hopefully should be no regressions here.
2016-10-30Fix compile errors for when WITH_ALEMBIC is OFF.Kévin Dietrich
2016-10-29Alembic: store a pointer to the object reader in the cache modifiers andKévin Dietrich
constraints. This avoids traversing the archive everytime object data is needed and gives an overall consistent ~2x speedup here with files containing between 136 and 500 Alembic objects. Also this somewhat nicely de- duplicates code between data creation (upon import) and data streaming (modifiers and constraints). The only worying part is what happens when a CacheFile is deleted and/or has its path changed. For now, we traverse the whole scene and for each object using the CacheFile we free the pointer and NULL-ify it (see BKE_cachefile_clean), but at some point this should be re-considered and make use of the dependency graph.
2016-10-23Displace modifier: add global/local space option for X/Y/Z/XYZ directions.Quentin Wenger
Reviewed By: brecht Differential Revision: https://developer.blender.org/D2309
2016-10-07Collision: skip expensive BVH update if the collider doesn't move.Alexander Gavrilov
Since the collision modifier cannot be disabled, it causes a constant hit on the viewport animation playback FPS. Most of this overhead can be automatically removed in the case when the collider is static. The updates are only skipped when the collider was stationary during the preceding update as well, so the state is stored in a field. Knowing that the collider is static can also be used to disable similar BVH updates for substeps in the actual cloth simulation code. Differential Revision: https://developer.blender.org/D2277
2016-09-30Cleanup: Naming in EditNormals modifierSergey Sharybin
2016-09-30Normal edit modifier: Fix relation builder for the new dependency graphSergey Sharybin
2016-09-05Fix T49220: Vertex paint doesn't work with OpenSubdivSergey Sharybin
It's a bit tricky to align vertex color data between Blender and OpenSubdiv so for now we simply disable OpenSubdiv in the paint modes. Safe for 2.78.