mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-01-05 11:09:37 -06:00
Remove logging and stuff that is not needed for SI
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
-- This asset requires OpenSpace to be built with the OPENSPACE_MODULE_SPOUT enabled
|
||||
|
||||
local assetHelper = asset.require("util/asset_helper")
|
||||
|
||||
local RenderablePointsCloud = {
|
||||
Identifier = "RenderablePointsCloud",
|
||||
Renderable = {
|
||||
Type = "RenderablePointsCloud",
|
||||
Color = {0.0, 0.0, 0.0},
|
||||
Data = {{0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}, {0.0, 0.0, 0.0}},
|
||||
Luminosity = {0.0, 0.0, 0.0},
|
||||
Opacity = 0.0,
|
||||
Size = 0.0,
|
||||
Velocity = {0.0, 0.0, 0.0}
|
||||
},
|
||||
GUI = {
|
||||
Name = "Points Cloud",
|
||||
Path = "/Examples"
|
||||
}
|
||||
}
|
||||
|
||||
local objects = { RenderablePointsCloud }
|
||||
assetHelper.registerSceneGraphNodesAndExport(asset, objects)
|
||||
@@ -28,7 +28,6 @@
|
||||
#include <ghoul/misc/assert.h>
|
||||
#include <ghoul/misc/profiling.h>
|
||||
#include <algorithm>
|
||||
// #include <ghoul/logging/logmanager.h>
|
||||
|
||||
namespace openspace {
|
||||
|
||||
@@ -45,10 +44,6 @@ std::vector<std::byte> SyncEngine::encodeSyncables() {
|
||||
}
|
||||
|
||||
std::vector<std::byte> data = _syncBuffer.data();
|
||||
|
||||
// std::string msg = "_syncBuffer.size() (encodeSyncables):" + std::to_string(_syncBuffer.data().size());
|
||||
// LWARNING(msg);
|
||||
|
||||
_syncBuffer.reset();
|
||||
return data;
|
||||
}
|
||||
|
||||
@@ -225,8 +225,7 @@ void applyRegularExpression(lua_State* L, const std::string& regex,
|
||||
fmt::format(
|
||||
"{}: Property '{}' does not accept input of type '{}'. Requested "
|
||||
"type: '{}'",
|
||||
errorLocation(L),
|
||||
prop->fullyQualifiedIdentifier(),
|
||||
errorLocation(L), prop->fullyQualifiedIdentifier(),
|
||||
luaTypeToString(type), luaTypeToString(prop->typeLua())
|
||||
)
|
||||
);
|
||||
@@ -300,33 +299,6 @@ int setPropertyCallSingle(properties::Property& prop, const std::string& uri,
|
||||
|
||||
const int type = lua_type(L, -1);
|
||||
if (type != prop.typeLua()) {
|
||||
std::string propValue;
|
||||
prop.getStringValue(propValue);
|
||||
std::string propDescription = prop.description();
|
||||
std::string propGuiName = prop.guiName();
|
||||
std::string_view propTypeLua = luaTypeToString(prop.typeLua());
|
||||
int propTypeLuaInt = prop.typeLua();
|
||||
// lua_State l_state = *L;
|
||||
// std::string propTypeLua = prop.getLuaValue
|
||||
|
||||
LERRORC(
|
||||
"property_setValue(1))",
|
||||
fmt::format(
|
||||
"{}: Property '{}' does not accept input of type '{}'. Requested "
|
||||
"type: '{}'"
|
||||
"description: {}"
|
||||
"propGuiName: {}"
|
||||
"propTypeLua: {}"
|
||||
"propTypeLuaInt: {}",
|
||||
errorLocation(L),
|
||||
propValue,
|
||||
propDescription,
|
||||
propGuiName,
|
||||
propTypeLua,
|
||||
propTypeLuaInt
|
||||
)
|
||||
);
|
||||
|
||||
LERRORC(
|
||||
"property_setValue",
|
||||
fmt::format(
|
||||
|
||||
Reference in New Issue
Block a user