mirror of
https://git.mirrors.martin98.com/https://github.com/prusa3d/PrusaSlicer.git
synced 2025-08-14 17:45:58 +08:00
Follow-up of 7b812a120a751dae4d5ce3eb833619d4fb57c22b - Added missing #if/#endif
This commit is contained in:
parent
2ca3e47f92
commit
6e52fbc6d0
@ -203,6 +203,7 @@ int SceneRaycaster::base_id(EType type)
|
|||||||
return -1;
|
return -1;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#if ENABLE_RAYCAST_PICKING_DEBUG
|
||||||
size_t SceneRaycaster::active_beds_count() const
|
size_t SceneRaycaster::active_beds_count() const
|
||||||
{
|
{
|
||||||
size_t count = 0;
|
size_t count = 0;
|
||||||
@ -229,6 +230,7 @@ size_t SceneRaycaster::active_gizmos_count() const
|
|||||||
}
|
}
|
||||||
return count;
|
return count;
|
||||||
}
|
}
|
||||||
|
#endif // ENABLE_RAYCAST_PICKING_DEBUG
|
||||||
|
|
||||||
int SceneRaycaster::encode_id(EType type, int id) { return base_id(type) + id; }
|
int SceneRaycaster::encode_id(EType type, int id) { return base_id(type) + id; }
|
||||||
int SceneRaycaster::decode_id(EType type, int id) { return id - base_id(type); }
|
int SceneRaycaster::decode_id(EType type, int id) { return id - base_id(type); }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user