mirror of
https://github.com/OrcaSlicer/OrcaSlicer.git
synced 2026-06-01 17:42:44 +00:00
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 "ShinyTools.h"
|
||||
|
||||
@@ -110,4 +110,4 @@ float ShinyGetTickInvFreq(void) {
|
||||
|
||||
#endif
|
||||
|
||||
#endif /* if SHINY_IS_COMPILED == TRUE */
|
||||
#endif /* SLIC3R_PROFILE */
|
||||
|
||||
Reference in New Issue
Block a user