editor: scaler tool improvements

This commit is contained in:
Turánszki János
2022-07-13 13:50:26 +02:00
parent 2bcc7cc35c
commit 778c0e5af7
3 changed files with 35 additions and 40 deletions
+2 -2
View File
@@ -1161,11 +1161,11 @@ void EditorComponent::Update(float dt)
{
wi::profiler::range_id profrange = wi::profiler::BeginRangeCPU("Editor Update");
translator.Update(*this);
Scene& scene = wi::scene::GetScene();
CameraComponent& camera = wi::scene::GetCamera();
translator.Update(camera, *this);
if (scene.forces.Contains(grass_interaction_entity))
{
scene.Entity_Remove(grass_interaction_entity);