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-10Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-10Task scheduler: Use restrict pointer qualifierSergey Sharybin
Those pointers are never to be aliased, so let's be explicit about this and hope compiler does save some CPU ticks.
2018-01-09Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-09Task scheduler: Use single parallel range function with more flexible functionSergey Sharybin
Now all the fine-tuning is happening using parallel range settings structure, which avoid passing long lists of arguments, allows extend fine-tuning further, avoid having lots of various functions which basically does the same thing.
2018-01-09Task scheduler: Get rid of extended version of parallel range callbackSergey Sharybin
Wrap all arguments into TLS type of argument. Avoids some branching and also makes it easier to extend things in the future.
2018-01-09Merge branch 'master' into blender2.8Sergey Sharybin
2018-01-09Add deform axis for Simple Deform modifierCampbell Barton
D2989 by @dmarra w/ own edits
2017-12-18Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-18Fix T53398: Surface deform modifier says that convex polygons are concave ↵Sergey Sharybin
for big faces Dot-product for angle check need either to be divided by vectors magnitude or be calculated for normalized vectors.
2017-12-15Merge branch 'master' into blender2.8Sergey Sharybin
2017-12-15Move ID recalc flags into dedicated field in IDSergey Sharybin
Currently this is a no-visible-changes change, but the idea is to use this dedicated flag to tell which exact components of ID changed, make it more granular than just OBJECT and OBJECT_DATA. Allow setting this field based on what components new dependency graph flushed on evaluation.
2017-12-07Merge branch 'master' into blender2.8Campbell Barton
2017-12-06Array Modifier: option to offset UV'sCampbell Barton
D2912 by @Zuorion
2017-11-21Depsgraph: Use evaluation context to get time fromSergey Sharybin
This way we don't modify scene to get current frame from. Will also let us to hopefully get rid of Scene stored in ModifierData. Only did for Wave modifier for now, maybe someone is around to check on another modifiers? :)
2017-11-21Depsgraph: Remove workarounds used for cyclic dependenciesSergey Sharybin
This was dangerous to do such calculations, and now it is solvable by making dependency graph more granular in this case. Removing the workaround also saves us a hassle of passing lots of extra arguments down the evaluation routines. In theory, we can also remove EvaluationCOntext from constraints evaluation as well now. But probably better to wait with such removal for now. This commit effectively reverts 1130c53. Will do a proper fix in dependency graph itself.
2017-10-29Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-10-29Alembic: added frame offset propertySybren A. Stüvel
The offset is subtracted, so that it's intuitive (dragging slider pushes the animation further that way on the timeline).
2017-10-20Silence warning on subsurf modifierDalai Felinto
2017-10-20Depsgraph: Reduce number of depsgraph_legacy usages outside of depsgraphSergey Sharybin
2017-09-27Merge branch 'master' into blender2.8Campbell Barton
2017-09-27Math Lib: Add non-clamped round_* functionsCampbell Barton
Replace iroundf with round_fl_to_int, add other types
2017-09-25Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-25Mirror Modifier: option to offset UV'sCampbell Barton
Useful for baking, so UV's can be moved outside the image and not used to bake pixels (but still used for display). D2801 by @Zuorion
2017-09-19Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-19Cleanup: BLI_utildefines prefix for header-only libsCampbell Barton
This allows to have different macro headers without them sharing similar names to regular C modules.
2017-09-19Boolean Modifier: add debug optionsCampbell Barton
Only show & use when running in debug mode.
2017-09-18Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-16Fix T51074: Boolean modifier inverts operationCampbell Barton
Support for negative scaled objects.
2017-09-14Merge branch 'master' into blender2.8Sergey Sharybin
2017-09-14Fix T52291: Boolean fails w/ co-linear edged ngonsCampbell Barton
This means boolean tessellation wont match viewport tessellation however it's needed to avoid zero area triangles causing problems.
2017-09-06Merge branch 'master' into blender2.8Brecht Van Lommel
2017-09-06Screw Modifier: remove doubles optionCampbell Barton
Vertices on the axis can be optionally merged, nice for creating objects which close at the end-points.
2017-08-16Pass EvaluationContext instead of bContextCampbell Barton
2.8x branch added bContext arg in many places, pass eval-context instead since its not simple to reason about what what nested functions do when they can access and change almost anything. Also use const to prevent unexpected modifications. This fixes crash loading files with shadows, since off-screen buffers use a NULL context for rendering.
2017-08-12Merge branch 'master' into blender2.8Campbell Barton
2017-08-11Cleanup: remove useless `DM_ensure_looptri()`.Bastien Montagne
That one was doing exactly same thing as `dm->getLoopTriArray()`, no point in having twice the same code here...
2017-08-11Fix T52344: Softbody on Text.Bastien Montagne
Own previous fix (rBd5d626df236b) was not valid, curves are actually supported by SoftBodies. It was rather a mere UI bug, which was not including Surfaces and Font obect types in those valid for softbody UI. Thanks to @brecht for the head up! Also, fix safe for 2.79, btw.
2017-08-11Fix T52344: Softbody on Text.Bastien Montagne
For some reasons (c) softbody modifier was marked as compatible with curves... Would need much more work though, so for now just removing that flag!
2017-08-11Merge branch 'master' into blender2.8Campbell Barton
2017-08-11Cleanup: whitespaceCampbell Barton
2017-08-09Merge branch 'master' into blender2.8Sybren A. Stüvel
2017-08-09Typo fixSybren A. Stüvel
2017-08-08Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/modifiers/intern/MOD_meshsequencecache.c
2017-08-08Fix T51701: Alembic cache screws up mesh.Bastien Montagne
Use same trick as in DataTransfer modifier e.g. to avoid modifying existing mesh's data.
2017-08-07Refactor ID copying (and to some extent, ID freeing).Bastien Montagne
This will allow much finer controll over how we copy data-blocks, from full copy in Main database, to "lighter" ones (out of Main, inside an already allocated datablock, etc.). This commit also transfers a llot of what was previously handled by per-ID-type custom code to generic ID handling code in BKE_library. Hopefully will avoid in future inconsistencies and missing bits we had all over the codebase in the past. It also adds missing copying handling for a few types, most notably Scene (which where using a fully customized handling previously). Note that the type of allocation used during copying (regular in Main, allocated but outside of Main, or not allocated by ID handling code at all) is stored in ID's, which allows to handle them correctly when freeing. This needs to be taken care of with caution when doing 'weird' unusual things with ID copying and/or allocation! As a final note, while rather noisy, this commit will hopefully not break too much existing branches, old 'API' has been kept for the main part, as a wrapper around new code. Cleaning it up will happen later. Design task : T51804 Phab Diff: D2714
2017-08-07Refactor ID copying (and to some extent, ID freeing).Bastien Montagne
This will allow much finer controll over how we copy data-blocks, from full copy in Main database, to "lighter" ones (out of Main, inside an already allocated datablock, etc.). This commit also transfers a llot of what was previously handled by per-ID-type custom code to generic ID handling code in BKE_library. Hopefully will avoid in future inconsistencies and missing bits we had all over the codebase in the past. It also adds missing copying handling for a few types, most notably Scene (which where using a fully customized handling previously). Note that the type of allocation used during copying (regular in Main, allocated but outside of Main, or not allocated by ID handling code at all) is stored in ID's, which allows to handle them correctly when freeing. This needs to be taken care of with caution when doing 'weird' unusual things with ID copying and/or allocation! As a final note, while rather noisy, this commit will hopefully not break too much existing branches, old 'API' has been kept for the main part, as a wrapper around new code. Cleaning it up will happen later. Design task : T51804 Phab Diff: D2714
2017-08-01Merge branch 'master' into blender2.8Campbell Barton
2017-08-01Cleanup: use static vars where appropriateCampbell Barton
2017-07-28Merge branch 'master' into blender2.8Campbell Barton
2017-07-28Fix T52212: Vgroups doesn't work after Carve BooleanSergey Sharybin
2017-07-21Fix function declaration of some modifiersSergey Sharybin
Those functions did not use evaluation context. Also fixed lots of unused variables warnings caused by commented out code which needs to be ported away from DerivedMesh and to evaluation context.