debug work
All checks were successful
studiorailgun/Renderer/pipeline/head This commit looks good

This commit is contained in:
austin 2024-11-29 12:40:19 -05:00
parent 0625abdaf4
commit 471df1c6b1
4 changed files with 8 additions and 6 deletions

View File

@ -1172,6 +1172,7 @@ Simplifying physics cases
Allow variable collision bits for collidable entities
Autodisable terrain colliders
Lower grass radius
Work on diagnosing data cell misalignment with entities
# TODO
@ -1207,6 +1208,7 @@ Bug Fixes
- Fix flickering when applying yoga signal (may need to rethink arch here)
- Fix virtual scrollables not working
- Fix foliage flickering on edit
- Fix single blades of grass generating in bad locations
Startup Performance
- Allow texture map to bind multiple model paths to a single set of mesh->textures

View File

@ -127,10 +127,10 @@ public class VirtualAudioSourceManager {
}
//sort audio sources
virtualSourceQueue.sort(Comparator.naturalOrder());
LoggerInterface.loggerAudio.DEBUG("Virtual audio source count: " + virtualSourceQueue.size());
LoggerInterface.loggerAudio.DEBUG_LOOP("[VirtualAudioSourceManager] Virtual audio source count: " + virtualSourceQueue.size());
//for each bucket that has capacity, start available sources
for(VirtualAudioSourceCategory category : categories){
LoggerInterface.loggerAudio.DEBUG("Audio category: " + category.type + " Active Virtual Sources: " + category.activeVirtualSources.size());
LoggerInterface.loggerAudio.DEBUG_LOOP("[VirtualAudioSourceManager] Audio category: " + category.type + " Active Virtual Sources: " + category.activeVirtualSources.size());
//
for(VirtualAudioSource source : virtualSourceQueue){
if(source.type != category.type){
@ -156,7 +156,7 @@ public class VirtualAudioSourceManager {
//activate source here
category.activeVirtualSources.add(source);
AudioSource realSource = null;
LoggerInterface.loggerAudio.DEBUG("MAP Audio to real source! ");
LoggerInterface.loggerAudio.DEBUG("[VirtualAudioSourceManager] MAP Audio to real source! ");
if(source.position == null){
realSource = AudioUtils.playAudio(source.filePath,source.loops);
} else {

View File

@ -63,7 +63,7 @@ public class ServerContentGenerator {
for(int z = 0; z < ServerTerrainChunk.CHUNK_DIMENSION; z++){
double height = realm.getServerWorldData().getServerTerrainManager().getElevation(worldPos.x, worldPos.z, x, z) + HEIGHT_MANUAL_ADJUSTMENT;
if(
realm.getServerWorldData().convertVoxelToRealSpace(0, worldPos.y) <= height &&
realm.getServerWorldData().convertVoxelToRealSpace(0, worldPos.y) < height &&
realm.getServerWorldData().convertVoxelToRealSpace(ServerTerrainChunk.CHUNK_DIMENSION, worldPos.y) > height
){
for(BiomeFoliageDescription foliageDescription : foliageDescriptions){

View File

@ -469,8 +469,8 @@ public class GriddedDataCellManager implements DataCellManager, VoxelCellManager
worldZ >= 0 && worldZ < this.serverWorldData.getWorldSizeDiscrete() &&
//isn't null
groundDataCells.get(getServerDataCellKey(worldPos)) != null
){
LoggerInterface.loggerEngine.DEBUG("Get server data cell key: " + getServerDataCellKey(worldPos));
){
LoggerInterface.loggerEngine.DEBUG("Get server data cell key: " + this.getServerDataCellKey(worldPos));
rVal = groundDataCells.get(getServerDataCellKey(worldPos));
} else {
LoggerInterface.loggerEngine.DEBUG("Failed to get server data cell at: " + worldPos);