Remove leftover debug logs

This commit is contained in:
Keavon Chambers 2023-03-21 00:41:39 -07:00
parent 834cb1a227
commit 089df947ac
9 changed files with 1 additions and 24 deletions

View file

@ -603,16 +603,6 @@ impl Color {
Self::from_rgbaf32_unchecked(f(self.r()), f(self.g()), f(self.b()), self.a())
}
pub fn blend_rgb<F: Fn(f32, f32) -> f32>(&self, other: Color, f: F) -> Self {
let color = Color {
red: f(self.red, other.red),
green: f(self.green, other.green),
blue: f(self.blue, other.blue),
alpha: self.alpha,
};
#[cfg(feature = "log")]
if *self == Color::RED {
debug!("{} {} {} {}", color.red, color.green, color.blue, color.alpha);
}
Color {
red: f(self.red, other.red).clamp(0., 1.),
green: f(self.green, other.green).clamp(0., 1.),

View file

@ -39,7 +39,6 @@ pub struct BlitSubpath<P> {
#[node_macro::node_fn(BlitSubpath)]
fn bilt_subpath(base_image: Image, path_data: VectorData) -> Image {
log::info!("Blitting subpath {path_data:#?}");
// TODO: Get forma to compile
/*use forma::prelude::*;
let composition = Composition::new();