View Issue Details
ID | Project | Category | View Status | Date Submitted | Last Update |
---|---|---|---|---|---|
0002783 | Slicer4 | Core: MRML | public | 2012-11-21 06:20 | 2013-02-12 09:40 |
Reporter | pinter | Assigned To | alexy | ||
Priority | normal | Severity | minor | Reproducibility | always |
Status | closed | Resolution | fixed | ||
Product Version | Slicer 4.2.0 | ||||
Target Version | Slicer 4.3.0 | Fixed in Version | Slicer 4.3.0 | ||
Summary | 0002783: Color names that contain spaces are not correctly set when loading a scene | ||||
Description | Although this scenario was kept in mind when implementing vtkMRMLColorNode, but it does not work correctly. The function vtkMRMLColorNode::SetColorNameWithSpaces is supposed to take care of replacing underscores with spaces again, but it returns the same color name in both cases (when it contains underscore and when it does not). | ||||
Tags | No tags attached. | ||||
Could you provide a mrml file that is loaded incorrectly? |
|
I was able to reproduce it by:
|
|
Fixed vtkMRMLColorNode::SetColorNameWithSpaces() to replace '_' with ' ' |
|
Unfortunately the loaded colors still have their names with the underscores. I'll attach a scene that you can test it with in a moment |
|
2012-12-05 06:47
|
20121205_Bug179_ColorNodesWithSpaces_Test.zip (16,166 bytes) |
Replaced '_' with spaces in color names on reading external files. |
|
I checked with Slicer revision 21518 and the test MRML scene and it worked fine. |
|
Date Modified | Username | Field | Change |
---|---|---|---|
2012-11-21 06:20 | pinter | New Issue | |
2012-11-21 06:20 | pinter | Status | new => assigned |
2012-11-21 06:20 | pinter | Assigned To | => alexy |
2012-11-27 06:22 | alexy | Note Added: 0007372 | |
2012-11-27 06:22 | alexy | Status | assigned => feedback |
2012-11-27 07:03 | alexy | Note Added: 0007373 | |
2012-11-27 07:04 | alexy | Status | feedback => confirmed |
2012-11-27 07:31 | alexy | Note Added: 0007374 | |
2012-11-27 07:31 | alexy | Status | confirmed => resolved |
2012-11-27 07:31 | alexy | Resolution | open => fixed |
2012-12-05 06:47 | pinter | Note Added: 0007412 | |
2012-12-05 06:47 | pinter | Status | resolved => assigned |
2012-12-05 06:47 | pinter | File Added: 20121205_Bug179_ColorNodesWithSpaces_Test.zip | |
2012-12-07 18:33 | jcfr | Target Version | => Slicer 4.2.3 |
2012-12-14 05:55 | alexy | Note Added: 0007501 | |
2012-12-14 05:55 | alexy | Status | assigned => resolved |
2012-12-18 09:38 | pinter | Note Added: 0007535 | |
2012-12-18 09:38 | pinter | Status | resolved => closed |
2012-12-18 09:38 | pinter | Fixed in Version | => Slicer 4.2.3 |
2013-02-12 09:39 | jcfr | Target Version | Slicer 4.2.3 => Slicer 4.3.0 |
2013-02-12 09:40 | jcfr | Fixed in Version | Slicer 4.2.3 => Slicer 4.3.0 |