zack got pissed off about this in vc so im making a pr for this
This commit is contained in:
+6
-1
@@ -796,7 +796,7 @@ class Project extends HXProject
|
||||
//
|
||||
|
||||
FEATURE_FUNKVIS.apply(this, true);
|
||||
FEATURE_LOG_TRACE.apply(this, true);
|
||||
FEATURE_LOG_TRACE.apply(this, false);
|
||||
FEATURE_NAUGHTYNESS.apply(this, true);
|
||||
FEATURE_OPEN_URL.apply(this, true);
|
||||
FEATURE_PARTIAL_SOUNDS.apply(this, true);
|
||||
@@ -888,6 +888,11 @@ class Project extends HXProject
|
||||
setHaxedef("FLX_NO_DEBUG");
|
||||
}
|
||||
|
||||
if (FEATURE_LOG_TRACE.isDisabled(this))
|
||||
{
|
||||
setHaxeFlag("--no-traces");
|
||||
}
|
||||
|
||||
// Disable the built in pause screen when unfocusing the game.
|
||||
setHaxedef("FLX_NO_FOCUS_LOST_SCREEN");
|
||||
|
||||
|
||||
@@ -10,9 +10,6 @@ class AnsiTrace
|
||||
*/
|
||||
public static function trace(v:Dynamic, ?info:haxe.PosInfos)
|
||||
{
|
||||
#if (NO_FEATURE_LOG_TRACE && !FEATURE_DEBUG_FUNCTIONS)
|
||||
return;
|
||||
#end
|
||||
var str = formatOutput(v, info);
|
||||
#if FEATURE_DEBUG_TRACY
|
||||
cpp.vm.tracy.TracyProfiler.message(str, flixel.util.FlxColor.WHITE);
|
||||
|
||||
Reference in New Issue
Block a user