From 26b685c90bae5f877daf3161a7f28464b6f13ff9 Mon Sep 17 00:00:00 2001 From: Jonathan Stone Date: Sat, 12 Oct 2024 11:11:33 -0700 Subject: [PATCH] Clarify comments --- source/MaterialXCore/Document.h | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/source/MaterialXCore/Document.h b/source/MaterialXCore/Document.h index a8d0a8146b..349f5edf67 100644 --- a/source/MaterialXCore/Document.h +++ b/source/MaterialXCore/Document.h @@ -54,18 +54,12 @@ class MX_CORE_API Document : public GraphElement return doc; } - /// Get a list of source URI's referenced by the document + /// Get a list of source URIs referenced by the document StringSet getReferencedSourceUris() const; /// @name Data Libraries /// @{ - /// Import the given document as a library within this document. - /// The contents of the library document are copied into this one, and - /// are assigned the source URI of the library. - /// @param library The library document to be imported. - void importLibrary(const ConstDocumentPtr& library); - /// Store a reference to a data library in this document. void setDataLibrary(ConstDocumentPtr dataLibrary) { @@ -84,6 +78,12 @@ class MX_CORE_API Document : public GraphElement return _dataLibrary; } + /// Import the given data library into this document. + /// The contents of the data library are copied into this one, and + /// are assigned the source URI of the library. + /// @param library The data library to be imported. + void importLibrary(const ConstDocumentPtr& library); + /// @} /// @name NodeGraph Elements /// @{