mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2025-08-03 21:08:18 +00:00
Remove leftover debug logs
This commit is contained in:
parent
834cb1a227
commit
089df947ac
9 changed files with 1 additions and 24 deletions
|
@ -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.),
|
||||
|
|
|
@ -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();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue