bmeaut / grainautline

GrainAutLine: image processing for geology and material sciences
GNU General Public License v3.0
0 stars 2 forks source link

On the very first run: Failed to get image from provider: supplementaryCanvas #41

Closed szotsaki closed 8 years ago

szotsaki commented 9 years ago

After the very first image loading, Qt indicates the following error:

[Warning] qrc:/PsdCanvas.qml:10:5: QML Image: Failed to get image from provider: image://canvas/supplementaryCanvas [PsdCanvas.qml:10].

This is probably because in SupplementaryImageLayer the dirty flag is false when the two, default-constructed mouse coordinates are the same.

csorbakristof commented 9 years ago

Seems to be solved, it did not re-appear during the last month.

szotsaki commented 8 years ago

Warning after ea057af8b4:

[Warning] Attempted rendering "supplementaryCanvas" with invalid cv::Mat cache [ImageProviderImage.cpp:55]

and

[Warning] Attempted rendering "supplementaryCanvas" with invalid Pixel Buffer Object [ImageProviderTexture.cpp:104]

The reason is the same as mentioned in the very first comment: for the first run it states that the canvas is not dirty, thus the given Cache object is not stored anywhere.

szotsaki commented 8 years ago

Fixed in fa3324038fcd and in fe7a7f90f9ccb.