Tame the Shiny profiler. Make it switchable with define SLIC3R_PROFILE.
This commit is contained in:
@@ -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 "ShinyZone.h"
|
||||
|
||||
@@ -198,4 +198,4 @@ void ShinyZone_enumerateZones(const ShinyZone* a_zone, void (*a_func)(const Shin
|
||||
if (a_zone->next) ShinyZone_enumerateZones(a_zone->next, a_func);
|
||||
}
|
||||
|
||||
#endif
|
||||
#endif /* SLIC3R_PROFILE */
|
||||
|
||||
Reference in New Issue
Block a user