View Issue Details
|ID||Project||Category||View Status||Date Submitted||Last Update|
|0002525||FreeCAD||Bug||public||2016-04-27 06:54||2016-05-13 03:58|
|Platform||Intel 64-bit||OS||Windows||OS Version||10|
|Target Version||Fixed in Version||0.17|
|Summary||0002525: Line color of shapes are always black|
|Description||All the Line Color of shapes always turns into black when re-open a .FCStd file only by version 0.17.|
A topic in forum http://forum.freecadweb.org/viewtopic.php?f=8&t=15475
|Steps To Reproduce||Run FreeCAD.|
Switch to part workbench.
Create a cube or something others.
Set the cube's Line Color into any color except black.
Save the .FCStd document.
Run FreeCAD again.
Open the previous saved .FCStd document.
Then you found the cube's Line Color turns into black although the property value has not changed.
|Tags||No tags attached.|
OS: Windows 8
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7447 (Git)
Build type: Release
Python version: 2.7.8
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.8.0.oce-0.17
A new property "LineColorArray" has been introduced to allow to set individual colors for the edges. However, the two properties are not synchronized so that the reading of the LineColorArray overwrites the correct colors again.
For the moment it must made sure to synchronize the properties. In the long term it's best to have only one property and remove the others.
Note to myself:
Implement the class PropertyMaterialList and use this for vertex, edge and face colors.
The actual issue has been resolved now. But note since projects created with 0.17 contain the inconsistent colors the lines will still be black. You first have to fix the colors and save the file again. Afterwards the load works as expected.
I leave this ticket open because for the long-term solution still a lot of things must be implemented.
|2016-04-27 06:54||revolver1941||New Issue|
|2016-04-27 06:54||revolver1941||File Added: 4.PNG|
|2016-04-27 06:57||revolver1941||Note Added: 0007011|
|2016-04-27 06:57||revolver1941||File Added: 3.PNG|
|2016-05-06 09:01||wmayer||Note Added: 0007054|
|2016-05-06 09:01||wmayer||Assigned To||=> wmayer|
|2016-05-06 09:01||wmayer||Status||new => confirmed|
|2016-05-06 10:18||wmayer||Note Added: 0007056|
|2016-05-06 11:57||wmayer||Changeset attached||=> FreeCAD Master master 7e01d012|
|2016-05-06 12:00||wmayer||Note Added: 0007061|
|2016-05-06 12:00||wmayer||Status||confirmed => resolved|
|2016-05-06 12:00||wmayer||Fixed in Version||=> 0.17|
|2016-05-06 12:00||wmayer||Resolution||open => fixed|
|2016-05-07 12:42||wmayer||Changeset attached||=> FreeCAD Master master 317b447f|
|2016-05-07 21:25||wmayer||Changeset attached||=> FreeCAD Master master 8bbc6421|
|2016-05-13 03:58||yorik||Status||resolved => closed|