Geoms of selected bodies respect transparency setting.
PiperOrigin-RevId: 467505247 Change-Id: I6864118e28d9c98aa1f8002583c2faeb011659ee
This commit is contained in:
committed by
Copybara-Service
parent
ed1ca199a7
commit
670b6136f9
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user