From e0befd2f2340e2485ac92c43fd5ed80665075f77 Mon Sep 17 00:00:00 2001 From: suptoasty Date: Mon, 29 May 2017 01:08:16 -0500 Subject: [PATCH] Fixed a typo in a Visual Server var name (#8977) --- servers/visual/rasterizer.cpp | 4 ++-- servers/visual/rasterizer.h | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/servers/visual/rasterizer.cpp b/servers/visual/rasterizer.cpp index b565ee8f9de..f7ea158646b 100644 --- a/servers/visual/rasterizer.cpp +++ b/servers/visual/rasterizer.cpp @@ -38,11 +38,11 @@ Rasterizer *Rasterizer::create() { return _create_func(); } -RasterizerStorage *RasterizerStorage::base_signleton = NULL; +RasterizerStorage *RasterizerStorage::base_singleton = NULL; RasterizerStorage::RasterizerStorage() { - base_signleton = this; + base_singleton = this; } #if 0 diff --git a/servers/visual/rasterizer.h b/servers/visual/rasterizer.h index c51dcd1a3b9..4b274acd9ef 100644 --- a/servers/visual/rasterizer.h +++ b/servers/visual/rasterizer.h @@ -493,7 +493,7 @@ public: virtual void update_dirty_resources() = 0; - static RasterizerStorage *base_signleton; + static RasterizerStorage *base_singleton; RasterizerStorage(); virtual ~RasterizerStorage() {} }; @@ -806,7 +806,7 @@ public: case Item::Command::TYPE_MESH: { const Item::CommandMesh *mesh = static_cast(c); - Rect3 aabb = RasterizerStorage::base_signleton->mesh_get_aabb(mesh->mesh, mesh->skeleton); + Rect3 aabb = RasterizerStorage::base_singleton->mesh_get_aabb(mesh->mesh, mesh->skeleton); r = Rect2(aabb.pos.x, aabb.pos.y, aabb.size.x, aabb.size.y); @@ -814,7 +814,7 @@ public: case Item::Command::TYPE_MULTIMESH: { const Item::CommandMultiMesh *multimesh = static_cast(c); - Rect3 aabb = RasterizerStorage::base_signleton->multimesh_get_aabb(multimesh->multimesh); + Rect3 aabb = RasterizerStorage::base_singleton->multimesh_get_aabb(multimesh->multimesh); r = Rect2(aabb.pos.x, aabb.pos.y, aabb.size.x, aabb.size.y);