diff --git a/applications/plugins/VolumetricRendering/extensions/CUDA/src/VolumetricRendering/CUDA/CudaTetrahedralVisualModel.h b/applications/plugins/VolumetricRendering/extensions/CUDA/src/VolumetricRendering/CUDA/CudaTetrahedralVisualModel.h index d27d823417e..a24a25f17ea 100644 --- a/applications/plugins/VolumetricRendering/extensions/CUDA/src/VolumetricRendering/CUDA/CudaTetrahedralVisualModel.h +++ b/applications/plugins/VolumetricRendering/extensions/CUDA/src/VolumetricRendering/CUDA/CudaTetrahedralVisualModel.h @@ -54,19 +54,20 @@ class OglTetrahedralModel< gpu::cuda::CudaVectorTypes > : p public: OglTetrahedralModel(); - virtual ~OglTetrahedralModel(); + virtual ~OglTetrahedralModel() override; - void init(); - void drawTransparent(const core::visual::VisualParams*); - bool addBBox(SReal* minBBox, SReal* maxBBox); + void init() override; + void drawTransparent(const core::visual::VisualParams*) override; + bool addBBox(SReal* minBBox, SReal* maxBBox) override; - void handleTopologyChange() + void handleTopologyChange() override { needUpdateTopology = true; } - void updateVisual() + void doUpdateVisual(const core::visual::VisualParams* vparams) override { + SOFA_UNUSED(vparams); //if (!getContext()->getShowVisualModels()) return; updateTopology(); } diff --git a/applications/plugins/VolumetricRendering/src/VolumetricRendering/config.h.in b/applications/plugins/VolumetricRendering/src/VolumetricRendering/config.h.in index bb9fb08d30a..4339237338c 100644 --- a/applications/plugins/VolumetricRendering/src/VolumetricRendering/config.h.in +++ b/applications/plugins/VolumetricRendering/src/VolumetricRendering/config.h.in @@ -27,7 +27,7 @@ #define VOLUMETRICRENDERING_VERSION @PROJECT_VERSION@ #ifdef SOFA_BUILD_VOLUMETRICRENDERING -# define SOFA_TARGET VolumetricRendering +# define SOFA_TARGET @PROJECT_NAME@ # define SOFA_VOLUMETRICRENDERING_API SOFA_EXPORT_DYNAMIC_LIBRARY #else # define SOFA_VOLUMETRICRENDERING_API SOFA_IMPORT_DYNAMIC_LIBRARY