forked from 1b-agent/opencadstudio-upstream
1 parent
f99337cb9a
commit
3897fb2661
5 files changed
+93
-8
No files matched your search
+2
-3
@@ -137,9 +137,8 @@ impl Scene {
|
||||
return;
|
||||
}
|
||||
|
||||
self.camera
|
||||
.borrow_mut()
|
||||
.fit_to_bounds(min, max, self.last_render_aspect.get().max(0.01));
|
||||
let aspect = self.active_camera_aspect();
|
||||
self.camera.borrow_mut().fit_to_bounds(min, max, aspect);
|
||||
self.camera_generation += 1;
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user