Photonsters / PhotonFileValidator

A file viewer application for AnyCubic Photon sliced files (*.photon and *.cbddlp). The viewer can show you preview images, print information and all layers with information on overhang and islands issues.
MIT License
302 stars 58 forks source link

dataSize is overwriting dataAddress in constructor #88

Closed tomisom closed 3 years ago

tomisom commented 3 years ago

https://github.com/Photonsters/PhotonFileValidator/blob/0a91b655a5e6602546cbfe812306c3ed79cb03ee/src/photon/file/parts/PhotonFileLayer.java#L79

The variable dataAddress is used a to save the value for photonFileLayer.dataSize one line after being used to save the value of photonFileLayer.dataAddress. I believe that the variable dataSize should have been used, as with the first constructor.

X3msnake commented 3 years ago

PHOTON FILE VIEWER IS NO LONGER MANTAINED OR DEVELOPED!

Use UVTools by Master Photonster Tiago Conceição instead