fix: restore ULIB_ACTIVATE_DISPLAY_PROPERTIES to vtkVoxImage constructor

This commit is contained in:
AndreaRigoni
2026-04-02 14:32:39 +00:00
parent 5c04d00d4c
commit 96ab3b0930
2 changed files with 3 additions and 1 deletions

1
.gitignore vendored
View File

@@ -16,3 +16,4 @@ src/Python/uLib/.nfs*
test_props.xml
test_props2.xml
test_boost.cpp
.claude/settings.json

View File

@@ -139,6 +139,7 @@ vtkVoxImage::vtkVoxImage(Content &content)
GetContent();
InstallPipe();
RescaleShaderRange();
ULIB_ACTIVATE_DISPLAY_PROPERTIES;
}
vtkVoxImage::~vtkVoxImage() {
@@ -298,7 +299,7 @@ void vtkVoxImage::SetRepresentation(Representation mode) {
void vtkVoxImage::serialize_display(uLib::Archive::display_properties_archive & ar, const unsigned int version) {
// Call base class to show Transform and Appearance properties
Puppet::serialize_display(ar, version);
// Puppet::serialize_display(ar, version);
// Use the member variables for volume rendering parameters
ar & boost::serialization::make_hrp("Window", m_Window);