5d38c14116
Merge branch 'master' into blender2.8
2018-01-10 13:22:03 +01:00
5614193745
Task scheduler: Use restrict pointer qualifier
...
Those pointers are never to be aliased, so let's be explicit about this and hope
compiler does save some CPU ticks.
2018-01-10 12:49:51 +01:00
6deb908a5c
Merge branch 'master' into blender2.8
2018-01-09 16:15:33 +01:00
4c4a7e84c6
Task scheduler: Use single parallel range function with more flexible function
...
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-09 16:09:33 +01:00
d2708b0f73
Task scheduler: Get rid of extended version of parallel range callback
...
Wrap all arguments into TLS type of argument. Avoids some branching and also
makes it easier to extend things in the future.
2018-01-09 16:09:33 +01:00
c46a9d8117
Merge branch 'master' into blender2.8
2017-12-18 16:19:12 +01:00
a41fe949d8
Fix T53398: Surface deform modifier says that convex polygons are concave for big faces
...
Dot-product for angle check need either to be divided by vectors magnitude or be
calculated for normalized vectors.
2017-12-18 15:16:22 +01:00
1b462e5a51
Pass EvaluationContext instead of bContext
...
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-16 12:46:04 +10:00
1c4c288727
Pass EvaluationContext argument everywhere
...
Note that some little parts of code have been dissabled because eval_ctx
was not available there. This should be resolved once DerivedMesh is
replaced.
2017-07-21 14:47:26 +02:00
Dalai Felinto
4ceb006706
Merge remote-tracking branch 'origin/master' into blender2.8
2017-06-21 15:14:42 +02:00
24486513d5
Fix (unreported) bad copying code of Surface Deform modifier.
2017-06-19 14:57:40 +02:00
2010dbe8a5
Merge branch 'master' into blender2.8
2017-04-24 22:11:05 +10:00
aff30aaf2d
Cleanup: style
2017-04-24 22:00:46 +10:00
2b9738b7f8
Merge branch 'master' into 28
2017-04-21 17:14:13 +10:00
ca958642fa
Fix Surface Deform not unbinding if target is removed
2017-04-20 17:49:45 +02:00
95b3632112
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/alembic/intern/abc_exporter.cc
2017-04-14 12:39:54 +02:00
0a032ce83b
Fix Surface Deform crash with missing or freed DM
2017-04-13 15:40:50 +02:00
a13878b9af
Cleanup: Remove legacy depsgraph private header from modifiers
2017-04-05 15:46:56 +02:00
3f818c7898
Merge branch 'master' into blender2.8
2017-03-20 09:32:40 +11:00
df76616d74
Usual UI/i18n message fixes.
...
Please provide valid description for SurfaceDeform modifier tooltip.
Such place-holders should not pass final checks before merging in master!
2017-03-19 17:31:07 +01:00
Julian Eisel
a5cba9aab9
Merge branch 'master' into blender2.8
...
Conflicts:
source/blender/editors/space_nla/nla_draw.c
source/blender/editors/space_view3d/view3d_draw.c
2017-03-06 13:00:46 +01:00
355ad008a2
Surface Deform Modifier: Respect object transforms at bind time
...
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-06 03:43:26 -03:00
2089a17f7e
Fix T50838: Surface Deform DM use after free issue
...
Implementd fix suggested by @sergey in T50838.
2017-03-04 03:16:50 -03:00
6ab9af0083
Merge branch 'master' into blender2.8
2017-02-27 16:08:25 -03:00
4fa4132e45
Surface Deform Modifier (SDef)
...
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-27 13:49:14 -03:00