4da2acae3a
Spelling fixes in comments and descriptions, patch by luzpaz.
...
Differential Revision: https://developer.blender.org/D3668
2018-09-03 16:55:01 +02:00
c84b8d4801
Cleanup: modifier arg wrapping
2018-05-12 08:04:56 +02:00
3740f7593d
Cleanup: Nuke empty dummy wrappers around modifier_copyData_generic().
...
This also changes signature of modifier copy callback, first (source)
parameter is now a const, which is saner anyway!
2018-05-08 15:04:10 +02:00
49fe27ee46
Modifiers: sanitize/cleanup modifiers' copying & freeing code.
...
Should also fix T55000: Crash with hooks and curves in Cycles render.
2018-05-08 14:22:14 +02:00
ac19483e63
BKE bvhtree: Add tree_type parameter to bvhtree_from_mesh_get.
...
This will allow greater control of the bvhtrees that are obtained, and helps identify problems.
It is also an additional step to unify the functions.
2018-05-03 14:26:39 -03:00
522bee3fc8
Refactoring: bvhutils: Use a function that gets the bvhtree through an identifier type.
...
Reviewed By: @campbellbarton
Differential Revision: https://developer.blender.org/D3192
2018-05-01 10:03:28 -03:00
df04520602
Depsgraph: Wrap all arguments foe modifiers relations update into a struct
...
Makes it easier to add or remove fields needed to update relations.
2018-02-22 12:54:06 +01:00
e04d7c49dc
Fix buffer overflow vulnerabilities in mesh code.
...
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
2018-01-18 00:54:07 +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
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
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
24486513d5
Fix (unreported) bad copying code of Surface Deform modifier.
2017-06-19 14:57:40 +02:00
aff30aaf2d
Cleanup: style
2017-04-24 22:00:46 +10:00
ca958642fa
Fix Surface Deform not unbinding if target is removed
2017-04-20 17:49:45 +02:00
0a032ce83b
Fix Surface Deform crash with missing or freed DM
2017-04-13 15:40:50 +02: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
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
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