Tame the Shiny profiler. Make it switchable with define SLIC3R_PROFILE.

This commit is contained in:
bubnikv 2016-11-16 23:11:51 +01:00
parent 3d47c52b47
commit 9772584d78
17 changed files with 27 additions and 89 deletions

View file

@ -22,7 +22,7 @@ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
*/
#if SHINY_IS_COMPILED == TRUE
#ifdef SLIC3R_PROFILE
#include "ShinyNodeState.h"
#include "ShinyNode.h"
@ -105,4 +105,4 @@ ShinyNode* ShinyNodeState_finishAndGetNextClean(ShinyNodeState *self) {
return node->nextSibling;
}
#endif
#endif /* SLIC3R_PROFILE */