diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-13 17:18:18 +0300 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2019-09-13 17:51:51 +0300 |
commit | 6b0d1ef7e118f679fb5dacac184a7e72fef6142e (patch) | |
tree | c514f73902d4b533104ff182047ffe2373691c4c /intern/cycles/subd/subd_patch.h | |
parent | 27b82bbb75c5fd527b6b22682f8d173f6040644a (diff) |
Cleanup: compiler warnings
Diffstat (limited to 'intern/cycles/subd/subd_patch.h')
-rw-r--r-- | intern/cycles/subd/subd_patch.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/intern/cycles/subd/subd_patch.h b/intern/cycles/subd/subd_patch.h index 2e3484f95e3..8fe423bc94d 100644 --- a/intern/cycles/subd/subd_patch.h +++ b/intern/cycles/subd/subd_patch.h @@ -24,6 +24,10 @@ CCL_NAMESPACE_BEGIN class Patch { public: + Patch() : patch_index(0), shader(0), from_ngon(false) + { + } + virtual ~Patch() = default; virtual void eval(float3 *P, float3 *dPdu, float3 *dPdv, float3 *N, float u, float v) = 0; |