MCPcopy Create free account
hub / github.com/defold/defold / SetLoadError

Function SetLoadError

engine/modelc/src/modelimporter.cpp:58–68  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

56}
57
58void SetLoadError(Scene* scene, const char* message)
59{
60 if (!scene)
61 return;
62 free(scene->m_LoadError);
63 scene->m_LoadError = 0;
64 if (message && message[0])
65 {
66 scene->m_LoadError = strdup(message);
67 }
68}
69
70static void DestroySampler(Sampler* sampler)
71{

Callers 2

LoadPrimitivesFunction · 0.85

Calls 1

freeFunction · 0.85

Tested by

no test coverage detected