mirror of
https://github.com/panda3d/panda3d.git
synced 2025-10-04 10:54:24 -04:00
build on Linux
This commit is contained in:
parent
1486c02a10
commit
b9795a77b5
@ -169,7 +169,8 @@ MayaEggTex *MayaEggLoader::GetTex(const string &name, const string &fn)
|
||||
if (status != MStatus::kSuccess) status.perror("Connecting shader");
|
||||
if (fn != "") {
|
||||
filetex.create("file",&status);
|
||||
filetex.findPlug("fileTextureName").setValue(MString(fn.c_str()));
|
||||
MString fn_str(fn.c_str());
|
||||
filetex.findPlug("fileTextureName").setValue(fn_str);
|
||||
dgmod.connect(filetex.findPlug("outColor"),shader.findPlug("color"));
|
||||
}
|
||||
status = dgmod.doIt();
|
||||
|
Loading…
x
Reference in New Issue
Block a user