mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-18 12:43:44 -04:00
the default uvset should be named --default--, not --map1--
This commit is contained in:
parent
f15dce600b
commit
63d72a47d4
@ -45,7 +45,7 @@ MayaShaderColorDef() {
|
||||
|
||||
_has_texture = false;
|
||||
_texture_name = "";
|
||||
_uvset_name = "map1";
|
||||
_uvset_name = "default";
|
||||
_projection_type = PT_off;
|
||||
_map_uvs = NULL;
|
||||
|
||||
|
@ -1770,6 +1770,8 @@ make_polyset(MayaNodeDesc *node_desc, const MDagPath &dag_path,
|
||||
}
|
||||
mayaegg_cat.debug() << "color_def->uvset_name :" << color_def->_uvset_name << endl;
|
||||
uv_name = color_def->_uvset_name; // this is the name to look up by in maya
|
||||
if (uv_name == "default")
|
||||
uv_name = "map1";
|
||||
|
||||
if (color_def->has_projection()) {
|
||||
// If the shader has a projection, use it instead of the
|
||||
|
Loading…
x
Reference in New Issue
Block a user