add modeltree:set_texture
This commit is contained in:
@@ -78,7 +78,7 @@ void RigConfig::render(
|
||||
continue;
|
||||
}
|
||||
batch.pushMatrix(rig.calculated.matrices[i]);
|
||||
batch.draw(model);
|
||||
batch.draw(model, &rig.textures);
|
||||
batch.popMatrix();
|
||||
}
|
||||
}
|
||||
|
||||
@@ -64,7 +64,7 @@ namespace rigging {
|
||||
RigConfig* config;
|
||||
Pose pose;
|
||||
Pose calculated;
|
||||
std::vector<std::string> textures;
|
||||
std::unordered_map<std::string, std::string> textures;
|
||||
};
|
||||
|
||||
class RigConfig {
|
||||
|
||||
Reference in New Issue
Block a user