Page MenuHomePhabricator

console message of mitkShaderLighting causes a wrong xml parse in command line apps
Closed, ResolvedPublic

Description

From the mailing list:

is it possible for the console message

found shader 'mitkShaderLighting'

ie: https://github.com/MITK/MITK/blob/master/Core/Code/Rendering/mitkShaderRepository.cpp#L69

to be removed from the default output. It causes command line apps to print this first, and then the --xml flag fails to parse.
It could be a debug only message maybe.

Event Timeline

The mentioned output will be written in debug mode only. This is a minimal change not affecting functional parts of the MITK core.

New remote branch pushed: bug-16080-dont-print-shader-debug-messages

[512598]: Merge branch 'bug-16080-dont-print-shader-debug-messages'

Merged commits:

2013-09-19 07:41:47 Sascha Zelzer [7e6f98]
Only pring shader info in debug mode.