Merge pull request #6618 from hyperlogic/tony/sixense-debug-draw-fix

Fix for sixense debug draw after migration to plugin.
This commit is contained in:
Howard Stearns 2015-12-10 16:14:43 -08:00
commit f6cd04680d

View file

@ -8,10 +8,11 @@
//
#include "DebugDraw.h"
#include "SharedUtil.h"
DebugDraw& DebugDraw::getInstance() {
static DebugDraw instance;
return instance;
static DebugDraw* instance = globalInstance<DebugDraw>("com.highfidelity.DebugDraw");
return *instance;
}
DebugDraw::DebugDraw() {