Merge branch 'development' into cmake/linux_fix_warn_unused
Signed-off-by: Esteban Papp <81431996+amznestebanpapp@users.noreply.github.com> # Conflicts: # Code/Editor/Objects/TrackGizmo.cpp
This commit is contained in:
@@ -16,6 +16,7 @@
|
||||
#include <AzCore/Component/ComponentApplicationBus.h>
|
||||
#include <StlUtils.h>
|
||||
|
||||
#include <StaticInstance.h>
|
||||
#include <ISystem.h>
|
||||
#include <ILog.h>
|
||||
#include <IConsole.h>
|
||||
@@ -745,8 +746,9 @@ void UiAnimationSystem::ShowPlayedSequencesDebug()
|
||||
continue;
|
||||
}
|
||||
|
||||
const char* fullname = playingSequence.sequence->GetName();
|
||||
gEnv->pRenderer->Draw2dLabel(1.0f, y, 1.3f, green, false, "Sequence %s : %f (x %f)", fullname, playingSequence.currentTime, playingSequence.currentSpeed);
|
||||
AZ_Assert(false,"gEnv->pRenderer is always null so it can't be used here");
|
||||
//const char* fullname = playingSequence.sequence->GetName();
|
||||
//gEnv->pRenderer->Draw2dLabel(1.0f, y, 1.3f, green, false, "Sequence %s : %f (x %f)", fullname, playingSequence.currentTime, playingSequence.currentSpeed);
|
||||
|
||||
y += 16.0f;
|
||||
|
||||
@@ -770,7 +772,7 @@ void UiAnimationSystem::ShowPlayedSequencesDebug()
|
||||
names.push_back(name);
|
||||
}
|
||||
|
||||
gEnv->pRenderer->Draw2dLabel((21.0f + 100.0f * i), ((i % 2) ? (y + 8.0f) : y), 1.0f, alreadyThere ? white : purple, false, "%s", name);
|
||||
//gEnv->pRenderer->Draw2dLabel((21.0f + 100.0f * i), ((i % 2) ? (y + 8.0f) : y), 1.0f, alreadyThere ? white : purple, false, "%s", name);
|
||||
}
|
||||
|
||||
y += 32.0f;
|
||||
|
||||
Reference in New Issue
Block a user