Skip to content

Commit

Permalink
Fix pipeline spam
Browse files Browse the repository at this point in the history
  • Loading branch information
IMS212 committed Aug 4, 2024
1 parent 7496054 commit 874bee3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -289,6 +289,6 @@ public IDhApiGenericObjectShaderProgram getGenericShader() {
}

public boolean avoidRenderingClouds() {
return pipeline.getDHCloudSetting() == CloudSetting.OFF || (pipeline.getDHCloudSetting() == CloudSetting.DEFAULT && pipeline.getCloudSetting() == CloudSetting.OFF);
return pipeline != null && (pipeline.getDHCloudSetting() == CloudSetting.OFF || (pipeline.getDHCloudSetting() == CloudSetting.DEFAULT && pipeline.getCloudSetting() == CloudSetting.OFF));
}
}

0 comments on commit 874bee3

Please sign in to comment.