Skip to content

Commit

Permalink
Removed debug prints.
Browse files Browse the repository at this point in the history
  • Loading branch information
MatthewBlanchard authored and ctrlcctrlv committed Dec 13, 2023
1 parent c14a943 commit dcfe397
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 5 deletions.
1 change: 0 additions & 1 deletion src/tool_behaviors/move_tunni_line.rs
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ impl MoveTunniLine {
}

pub fn mouse_moved(&mut self, v: &mut Editor, i: &mut Interface, mouse_info: MouseInfo) {
println!("HAPPENING");
// we stop the drag when there's no longer a well formed tunni point/line
if get_tunni_line_from_info(v, &self.tunni_info).is_none() {
v.pop_behavior();
Expand Down
3 changes: 0 additions & 3 deletions src/tool_behaviors/move_tunni_point.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,6 @@ impl MoveTunniPoint {
}

pub fn mouse_moved(&mut self, v: &mut Editor, i: &mut Interface, mouse_info: MouseInfo) {
println!("YEET");
// we stop the drag when there's no longer a well formed tunni point/line
if get_tunni_line_from_info(v, &self.tunni_info).is_none() {
v.pop_behavior();
Expand Down Expand Up @@ -70,10 +69,8 @@ impl MoveTunniPoint {
let a_intersect = flo_curves::line::ray_intersects_ray(&(a, c1), &(ha1, ha));
let b_intersect = flo_curves::line::ray_intersects_ray(&(b, c2), &(hb1, hb),);

println!("{:?} {:?}", a_intersect, b_intersect);
match (a_intersect, b_intersect) {
(Some(c1), Some(c2)) => {
println!("DOING A MODIFY");
v.begin_modification("Move tunni point.", true);

get_point_mut!(v.get_active_layer_mut(), self.tunni_info.a.0, self.tunni_info.a.1)
Expand Down
1 change: 0 additions & 1 deletion src/tools/cut.rs
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,6 @@ impl Cut {
let line_t = li.line_t;
let curve_t = li.segment_t;

println!("curve_t {0}", curve_t);
let coordinate = quadbez.eval(curve_t);

let intersection = Intersection {
Expand Down

0 comments on commit dcfe397

Please sign in to comment.