Geoms of selected bodies respect transparency setting.

PiperOrigin-RevId: 467505247
Change-Id: I6864118e28d9c98aa1f8002583c2faeb011659ee
This commit is contained in:
Yuval Tassa
2022-08-14 04:34:00 -07:00
committed by Copybara-Service
parent ed1ca199a7
commit 670b6136f9
-2
View File
@@ -415,8 +415,6 @@ void mjv_initGeom(mjvGeom* geom, int type, const mjtNum* size,
static void markselected(const mjVisual* vis, mjvGeom* geom) {
// add emission
geom->emission += vis->global.glow;
// make opaque
geom->rgba[3] = 1;
}