Set mesh visual flag regardless of discardvisual.
PiperOrigin-RevId: 617428859 Change-Id: I427d888e6caa2fe1ae6597ca7165c600c9779cc7
This commit is contained in:
committed by
Copybara-Service
parent
9b86329797
commit
07da7336e8
@@ -432,6 +432,7 @@ void mjCMesh::LoadSDF() {
|
||||
// compiler
|
||||
void mjCMesh::Compile(const mjVFS* vfs) {
|
||||
CopyFromSpec();
|
||||
visual_ = true;
|
||||
|
||||
// load file
|
||||
if (!file_.empty()) {
|
||||
|
||||
Reference in New Issue
Block a user