|
@@ -954,7 +954,9 @@ namespace glTF
|
|
|
virtual void AttachToDocument(Document& doc) = 0;
|
|
|
virtual void DetachFromDocument() = 0;
|
|
|
|
|
|
+#if !defined(ASSIMP_BUILD_NO_EXPORT)
|
|
|
virtual void WriteObjects(AssetWriter& writer) = 0;
|
|
|
+#endif
|
|
|
};
|
|
|
|
|
|
|
|
@@ -986,8 +988,10 @@ namespace glTF
|
|
|
void AttachToDocument(Document& doc);
|
|
|
void DetachFromDocument();
|
|
|
|
|
|
+#if !defined(ASSIMP_BUILD_NO_EXPORT)
|
|
|
void WriteObjects(AssetWriter& writer)
|
|
|
{ WriteLazyDict<T>(*this, writer); }
|
|
|
+#endif
|
|
|
|
|
|
Ref<T> Add(T* obj);
|
|
|
|