diff options
author | suptoasty <jason.lonsinger@gmail.com> | 2017-05-29 01:08:16 -0500 |
---|---|---|
committer | RĂ©mi Verschelde <rverschelde@gmail.com> | 2017-05-29 08:08:16 +0200 |
commit | e0befd2f2340e2485ac92c43fd5ed80665075f77 (patch) | |
tree | d7f27ed5e00bacc6b43cb9bf13702eb696781a54 /servers/visual | |
parent | bb20f230ad307a2a5f18c03bece3793d29ae208a (diff) |
Fixed a typo in a Visual Server var name (#8977)
Diffstat (limited to 'servers/visual')
-rw-r--r-- | servers/visual/rasterizer.cpp | 4 | ||||
-rw-r--r-- | 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 b565ee8f9d..f7ea158646 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 c51dcd1a3b..4b274acd9e 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<const Item::CommandMesh *>(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<const Item::CommandMultiMesh *>(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); |