mirror of
https://github.com/antopilo/Nuake.git
synced 2026-09-15 20:08:54 +03:00
Tracy MVP integration
This commit is contained in:
@@ -56,6 +56,7 @@
|
||||
#include <src/Resource/ModelLoader.h>
|
||||
#include "../ScriptingContext/ScriptingContext.h"
|
||||
#include <src/Scene/Components/BSPBrushComponent.h>
|
||||
#include <Tracy.hpp>
|
||||
|
||||
namespace Nuake {
|
||||
|
||||
@@ -2900,6 +2901,8 @@ namespace Nuake {
|
||||
int frameCount = 2;
|
||||
void EditorInterface::Draw()
|
||||
{
|
||||
ZoneScoped;
|
||||
|
||||
Init();
|
||||
|
||||
if (isCreatingNewProject && !_NewProjectWindow->HasCreatedProject())
|
||||
@@ -3014,6 +3017,8 @@ namespace Nuake {
|
||||
|
||||
void EditorInterface::Update(float ts)
|
||||
{
|
||||
ZoneScoped;
|
||||
|
||||
if (!Engine::GetCurrentScene() || Engine::IsPlayMode())
|
||||
{
|
||||
return;
|
||||
|
||||
Reference in New Issue
Block a user