hellknows2008
04-23-2009, 03:01 AM
Hi,
If we have a mesh with multiple uv sets and we link different uv sets then in the graph we would see those uvChoosers which serve the purpose of the linking. But if we are linking the default uv set (i suppose it is the default uv set and if try to delete that uv set then we get "The default uv set cannot be deleted" error) then we don't see any uvChooser.
So how can we determine the default uv set (for the case no uvChooser is present along the way)? In C++ api, the currentUVSetName() of MFnMesh will just return the currently selected UV set (for editing). Currently, I am using the first element from the string array returned by MFn::getUVSetNames(). Is it correct?
Thanks in advance
If we have a mesh with multiple uv sets and we link different uv sets then in the graph we would see those uvChoosers which serve the purpose of the linking. But if we are linking the default uv set (i suppose it is the default uv set and if try to delete that uv set then we get "The default uv set cannot be deleted" error) then we don't see any uvChooser.
So how can we determine the default uv set (for the case no uvChooser is present along the way)? In C++ api, the currentUVSetName() of MFnMesh will just return the currently selected UV set (for editing). Currently, I am using the first element from the string array returned by MFn::getUVSetNames(). Is it correct?
Thanks in advance
