Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions src/qtAliceVision/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ set(PLUGIN_SOURCES
Surface.cpp
MSfMDataStats.cpp
PanoramaViewer.cpp
PhongImageViewer.cpp
Painter.cpp
SequenceCache.cpp
SingleImageLoader.cpp
Expand All @@ -28,6 +29,7 @@ set(PLUGIN_HEADERS
FloatTexture.hpp
MSfMDataStats.hpp
PanoramaViewer.hpp
PhongImageViewer.hpp
Surface.hpp
Painter.hpp
ImageServer.hpp
Expand Down Expand Up @@ -77,6 +79,7 @@ qt6_add_shaders(qtAliceVisionPlugin "qtAliceVisionPlugin_shaders"
PREFIX "/shaders"
FILES FloatImageViewer.vert FloatImageViewer.frag
FeaturesViewer.vert FeaturesViewer.frag
PhongImageViewer.vert PhongImageViewer.frag
ImageOverlay.frag
AttributeItemDelegate.frag
)
Expand Down
4 changes: 2 additions & 2 deletions src/qtAliceVision/FloatImageViewer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ class FloatImageViewerMaterial : public QSGMaterial

bool dirtyUniforms;
bool appliedHoveringGamma;
std::unique_ptr<FloatTexture> texture;
std::unique_ptr<FloatTexture> texture = std::make_unique<FloatTexture>(); // should be initialize;
};

class FloatImageViewerMaterialShader : public QSGMaterialShader
Expand Down Expand Up @@ -451,7 +451,7 @@ void FloatImageViewer::reload()
}
else if (_outdated)
{
qWarning() << "[QtAliceVision] The loading status has not been updated since the last reload. Something wrong might have happened.";
qWarning() << "[QtAliceVision] FloatImageViewer: The loading status has not been updated since the last reload. Something wrong might have happened.";
setStatus(EStatus::OUTDATED_LOADING);
}
Q_EMIT cachedFramesChanged();
Expand Down
Loading