Fix some fatal failures related to rendered frame memory size limits

This commit is contained in:
Keavon Chambers
2023-04-02 18:31:41 -07:00
parent 05e5be3200
commit 3878132dbe
7 changed files with 27 additions and 15 deletions

View File

@@ -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")]

View File

@@ -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(),