I recently updated to ParaView 5.12.0 and found that a custom reader is now missing an element of the UI. Specifically, the “Pad Data” checkbox at the bottom of the properties is no longer visible.
Otherwise the plugin seems to function without issue.
What do I need to change in the code to make the checkbox visible?
The specific associated code:
@smproperty.xml("""
<IntVectorProperty name="PadData"
label="Pad Data"
command="SetPadStatus"
number_of_elements="1"
default_values="1"
panel_visibility="always">
<BooleanDomain name="bool" />
<Documentation>If checked, dataset will be padded at all timestates
to ensure consistent block indices</Documentation>
</IntVectorProperty>
""")
def SetPadStatus(self, val):
'''Set attribute to signal whether data should be padded when RequestData is called
'''
self.pad_data = val
self.Modified()