Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@ plugins {
}

repositories {
mavenLocal()
maven {
url = 'https://repo.runelite.net'
}
Expand Down
8 changes: 8 additions & 0 deletions src/main/java/rs117/hd/renderer/zone/SceneManager.java
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,12 @@ public void update() {

if (!generateSceneDataTask.isDone())
generateSceneDataTask.waitForCompletion();

root.sceneContext.fillGaps = config.fillGapsInTerrain();
for (var sub : subs)
if (sub != null && sub.sceneContext != null)
sub.sceneContext.fillGaps = config.fillGapsInTerrain();

generateSceneDataTask.queue();

root.invalidate();
Expand Down Expand Up @@ -431,6 +437,7 @@ public synchronized void loadScene(WorldView worldView, Scene scene) {
Scene prev = client.getTopLevelWorldView().getScene();

nextSceneContext.enableAreaHiding = nextSceneContext.sceneBase != null && config.hideUnrelatedAreas();
nextSceneContext.fillGaps = config.fillGapsInTerrain();

if (nextSceneContext.intersects(areaManager.getArea("PLAYER_OWNED_HOUSE"))) {
nextSceneContext.isInHouse = true;
Expand Down Expand Up @@ -726,6 +733,7 @@ private void loadSubScene(WorldView worldView, Scene scene) {
}

var sceneContext = new ZoneSceneContext(client, worldView, scene, plugin.getExpandedMapLoadingChunks(), null);
sceneContext.fillGaps = config.fillGapsInTerrain();
proceduralGenerator.generateSceneData(sceneContext);

final WorldViewContext ctx = new WorldViewContext(worldView, sceneContext, uboWorldViews);
Expand Down
Loading