View Issue Details [ Jump to Notes ] | [ Print ] |
ID | Project | Category | View Status | Date Submitted | Last Update |
0012504 | ParaView | (No Category) | public | 2011-08-11 12:43 | 2011-09-20 15:28 |
|
Reporter | Andy Bauer | |
Assigned To | Utkarsh Ayachit | |
Priority | normal | Severity | minor | Reproducibility | have not tried |
Status | closed | Resolution | fixed | |
Platform | | OS | | OS Version | |
Product Version | Development | |
Target Version | 3.12 | Fixed in Version | 3.12 | |
|
Summary | 0012504: writers not getting properly registered in pvpython |
Description | The writers are not getting properly registered which means that they also can't be deleted. Steps to reproduce (in pvpython):
from paraview.simple import *
w = XMLMultiBlockDataWriter()
Delete(w)
|
Tags | No tags attached. |
|
Project | Kitware |
Topic Name | 12504_fix_writer_registration |
Type | incorrect functionality |
|
Attached Files | patch_for_andy.txt [^] (1,107 bytes) 2011-08-11 12:43 [Show Content] [Hide Content]diff --git a/Utilities/VTKPythonWrapping/paraview/servermanager.py b/Utilities/VTKPythonWrapping/paraview/servermanager.py
index 31ac906..255df16 100644
--- a/Utilities/VTKPythonWrapping/paraview/servermanager.py
+++ b/Utilities/VTKPythonWrapping/paraview/servermanager.py
@@ -2478,21 +2478,13 @@ def __determineGroup(proxy):
return "sources"
elif xmlgroup == "filters":
return "sources"
- elif xmlgroup == "views":
- return "views"
elif xmlgroup == "representations":
if xmlname == "ScalarBarWidgetRepresentation":
return "scalar_bars"
return "representations"
- elif xmlgroup == "lookup_tables":
- return "lookup_tables"
- elif xmlgroup == "implicit_functions":
- return "implicit_functions"
- elif xmlgroup == "piecewise_functions":
- return "piecewise_functions"
- elif xmlgroup == "animation" or xmlgroup == "animation_keyframes":
+ elif xmlgroup == "animation_keyframes":
return "animation"
- return None
+ return xmlgroup
__nameCounter = {}
def __determineName(proxy, group):
|
|