mirror of
https://github.com/hannobraun/Fornjot
synced 2025-03-01 10:35:54 +00:00
Update variable name
This commit is contained in:
parent
765e7fb309
commit
9c61771ecd
@ -84,10 +84,10 @@ impl Viewer {
|
||||
/// Compute and store a focus point, unless one is already stored
|
||||
pub fn add_focus_point(&mut self) {
|
||||
// Don't recompute the focus point unnecessarily.
|
||||
if let Some(shape) = &self.model {
|
||||
if let Some(model) = &self.model {
|
||||
if self.focus_point.is_none() {
|
||||
self.focus_point =
|
||||
Some(self.camera.focus_point(self.cursor, shape));
|
||||
Some(self.camera.focus_point(self.cursor, model));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user