Skip to content

Commit

Permalink
Don't export TextureBaker since it is a template.
Browse files Browse the repository at this point in the history
It causes linker errors for Visual Studio, but in any case exporting template classes is not helpful.
  • Loading branch information
Morteeza committed Mar 7, 2023
1 parent 08e5014 commit 6f41c26
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/MaterialXRender/TextureBaker.h
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@ using BakedDocumentVec = std::vector<std::pair<std::string, DocumentPtr>>;
/// TODO: Add support for graphs containing geometric nodes such as position
/// and normal.
template<typename Renderer, typename ShaderGen>
class MX_RENDER_API TextureBaker : public Renderer
class TextureBaker : public Renderer
{
public:
/// Set the file extension for baked textures.
Expand Down

0 comments on commit 6f41c26

Please sign in to comment.