View Issue Details

IDProjectCategoryView StatusLast Update
0002675FreeCADBugpublic2016-08-17 02:45
ReporterDeepSOIC Assigned Toyorik  
PrioritynormalSeverityminorReproducibilityalways
Status closedResolutionfixed 
Product Version0.17 
Summary0002675: Transparency is lost upon save-load
DescriptionFor objects set as transparent, the transparency is not correctly restored when loading project. The value of property is restored, but the object is shown opaque in 3d view.
Steps To Reproduce1. Part Cube
2. Set transparency to say 90, by editing Transparency property on view tab of property editor. The transparency is applied as expected.
3. Save project, close, reload.
The cube is displayed opaque, even though Transparency property of Cube still says 90.

OR

open the attached project. The cube should be 90% transparent, but is displayed opaque.
Additional Informationforum thread:
http://forum.freecadweb.org/viewtopic.php?f=3&t=17034

OS: "openSUSE Leap 42.1 (x86_64)"
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.7833 (Git) (Packman)
Build type: Release
Branch: master
Hash: d9b7a5fbbf7c444c7ab94473a11449840a946313
Python version: 2.7.9
Qt version: 4.8.6
Coin version: 4.0.0a
OCC version: 6.9.1.oce-0.18-dev

OS: Windows 10
Word size of OS: 64-bit
Word size of FreeCAD: 64-bit
Version: 0.17.8226 (Git)
Build type: Release
Branch: master
Hash: 892271c0d5c421b4fe3a690c8c0c3f7e73dc22f5
Python version: 2.7.8
Qt version: 4.8.7
Coin version: 4.0.0a
OCC version: 7.0.0

Probably a related problem: object becomes opaque when I change its color in property editor.
TagsNo tags attached.
FreeCAD Information

Activities

DeepSOIC

2016-08-16 16:42

developer  

transparency-test-2.FCStd (Attachment missing)

yorik

2016-08-17 02:41

administrator   ~0007280

I'm afraid that's caused by my commit here...
https://github.com/FreeCAD/FreeCAD/commit/43e0834fb44261b7f056a1cd463feedb19ac99e7
I think we should remove line 660 (if only one color in DiffuseColor, then use global object transparency).

Related Changesets

FreeCAD: master 3dd3461a

2016-08-17 04:45:17

yorik

Details Diff
Do not get transparency from DiffuseColor if not set per face - fixes 0002675 Affected Issues
0002675
mod - src/Mod/Part/Gui/ViewProviderExt.cpp Diff File

Issue History

Date Modified Username Field Change
2016-08-16 16:42 DeepSOIC New Issue
2016-08-16 16:42 DeepSOIC File Added: transparency-test-2.FCStd
2016-08-17 02:41 yorik Note Added: 0007280
2016-08-17 02:45 yorik Changeset attached => FreeCAD Master master 3dd3461a
2016-08-17 02:45 yorik Assigned To => yorik
2016-08-17 02:45 yorik Status new => closed
2016-08-17 02:45 yorik Resolution open => fixed