diff options
author | Brecht Van Lommel <brecht@blender.org> | 2020-03-19 21:50:34 +0300 |
---|---|---|
committer | Brecht Van Lommel <brecht@blender.org> | 2020-03-19 22:02:33 +0300 |
commit | 4b74b35322f247ce75251e941cfed6610a0477e8 (patch) | |
tree | 9bbe25f470f671b20141e8d7596990139aa3d41f /intern/cycles/render/attribute.h | |
parent | 12b621059a6f1337e8ae8fdd9533e7808225e71e (diff) |
Fix Cycles crash in Windows debug mode with volumes
Diffstat (limited to 'intern/cycles/render/attribute.h')
-rw-r--r-- | intern/cycles/render/attribute.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/render/attribute.h b/intern/cycles/render/attribute.h index 351357a7f7a..5871fa04a31 100644 --- a/intern/cycles/render/attribute.h +++ b/intern/cycles/render/attribute.h @@ -59,7 +59,11 @@ class Attribute { AttributeElement element, Geometry *geom, AttributePrimitive prim); + Attribute(Attribute &&other) = default; + Attribute(const Attribute &other) = delete; + Attribute &operator=(const Attribute &other) = delete; ~Attribute(); + void set(ustring name, TypeDesc type, AttributeElement element); void resize(Geometry *geom, AttributePrimitive prim, bool reserve_only); void resize(size_t num_elements); |