Replacing processor's error messages with debug level messages when input data not present.

parent 961b032c
......@@ -169,7 +169,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -123,10 +123,8 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
validate(INVALID_RESULT);
}
void SliceRenderProcessor::updateProperties(DataContainer& dc) {
......@@ -151,17 +149,12 @@ namespace campvis {
p_scalingFactor.setVisible(! p_fitToWindow.getValue());
p_offset.setVisible(! p_fitToWindow.getValue());
validate(AbstractProcessor::INVALID_PROPERTIES);
}
void SliceRenderProcessor::updateShader() {
std::string header = getGlslHeader();
_shader->setHeaders(header);
_shader->rebuild();
validate(AbstractProcessor::INVALID_SHADER);
}
void SliceRenderProcessor::onEvent(tgt::Event* e) {
......
......@@ -149,7 +149,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -153,7 +153,7 @@ namespace campvis {
LGL_ERROR;
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -138,7 +138,7 @@ namespace campvis {
}
}
else {
LERROR("Could not load Voxel Predicate Mask Image.");
LDEBUG("Could not load Voxel Predicate Mask Image.");
}
}
......
......@@ -128,7 +128,7 @@ namespace campvis {
LGL_ERROR;
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -138,7 +138,7 @@ namespace campvis {
}
}
else {
LERROR("Could not load image.");
LDEBUG("Could not load image.");
}
}
}
\ No newline at end of file
......@@ -137,7 +137,7 @@ namespace campvis {
}
}
else {
LERROR("Could not get Image to write from DataContainer.");
LDEBUG("Could not get Image to write from DataContainer.");
}
}
......
......@@ -209,7 +209,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -115,7 +115,7 @@ namespace campvis {
LGL_ERROR;
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -112,7 +112,7 @@ namespace campvis {
LGL_ERROR;
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -121,7 +121,7 @@ namespace campvis {
LGL_ERROR;
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -133,7 +133,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -113,7 +113,7 @@ namespace campvis {
LGL_ERROR;
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -162,7 +162,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -134,7 +134,7 @@ namespace campvis {
data.addData(p_outputImage.getValue(), new RenderData(_fbo));
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -212,7 +212,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image or proxy geometry found.");
LDEBUG("No suitable input image or proxy geometry found.");
}
}
......
......@@ -206,7 +206,7 @@ namespace campvis {
data.addData(p_renderTargetID.getValue(), new RenderData(_fbo));
}
else {
LERROR("No suitable input geometry found.");
LDEBUG("No suitable input geometry found.");
}
}
......
......@@ -159,7 +159,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -79,7 +79,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -124,7 +124,7 @@ namespace campvis {
data.addData(p_targetImageId.getValue(), new RenderData(_fbo));
}
else {
LERROR("No suitable input images found.");
LDEBUG("No suitable input images found.");
}
}
......
......@@ -145,7 +145,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -124,7 +124,7 @@ namespace campvis {
}
}
else {
LERROR("No suitable input image found.");
LDEBUG("No suitable input image found.");
}
}
......
......@@ -104,7 +104,7 @@ namespace campvis {
data.addData(p_targetImageID.getValue(), new RenderData(_fbo));
}
else {
LERROR("No suitable input images found.");
LDEBUG("No suitable input images found.");
}
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment