mirror of
https://github.com/GraphiteEditor/Graphite.git
synced 2026-09-20 03:18:06 +08:00
Fix some fatal failures related to rendered frame memory size limits
This commit is contained in:
@@ -181,10 +181,6 @@ pub struct LayerReferenceInput {
|
||||
#[serde(skip)]
|
||||
pub tooltip_shortcut: Option<ActionKeys>,
|
||||
|
||||
// Styling
|
||||
#[serde(rename = "minWidth")]
|
||||
pub min_width: u32,
|
||||
|
||||
// Callbacks
|
||||
#[serde(skip)]
|
||||
#[derivative(Debug = "ignore", PartialEq = "ignore")]
|
||||
|
||||
@@ -485,14 +485,16 @@ impl MessageHandler<PortfolioMessage, (&InputPreprocessorMessageHandler, &Prefer
|
||||
size,
|
||||
imaginate_node,
|
||||
} => {
|
||||
if let Err(description) = self.executor.evaluate_node_graph(
|
||||
let result = self.executor.evaluate_node_graph(
|
||||
(document_id, &mut self.documents),
|
||||
layer_path,
|
||||
(image_data, size),
|
||||
imaginate_node,
|
||||
(preferences, &self.persistent_data),
|
||||
responses,
|
||||
) {
|
||||
);
|
||||
|
||||
if let Err(description) = result {
|
||||
responses.push_back(
|
||||
DialogMessage::DisplayDialogError {
|
||||
title: "Unable to update node graph".to_string(),
|
||||
|
||||
Reference in New Issue
Block a user