Introduced isMultilineSetting() to parse the comments field for multiline directives in various formats. Updated the string setting type to use this helper, improving flexibility in specifying multiline text areas.
Supports "multiline" or "@[multiline]" or "@[multiline, other] comment" which can be extended later if required.
Relocated SettingTextArea.qml from resources/qml/Settings to plugins/PostProcessingPlugin
Can be included without major version increase.
Can be later moved to the qml folder under `resources\qml\Settings\` if required
Added comments and clarified that tooltip signals in SettingTextArea are intentionally not used to avoid tooltips covering the text area during editing. This improves the user experience when working with multiline text fields.
Moved the custom multiline SettingTextArea component from PostProcessingPlugin.qml to a new reusable SettingTextArea.qml file. Updated the plugin to use the new component, improving modularity and maintainability.
This aligns better with Cura code structure.
Enhanced the PostProcessingPlugin.qml with detailed comments explaining the custom multiline text area component for post-processing script settings. Clarified property usage, signal requirements, height calculations, and key event handling to improve maintainability and prevent QML warnings.
Introduces a new SettingTextArea component for string settings with 'multiline' comments, allowing for multi-line input. Updates logic to select the appropriate component and adjusts height calculations for multiline fields. Also ensures custom components receive necessary properties explicitly.
Updated the caching logic in SimulationView to use the id of the layer_data object instead of the node. This ensures the cache is correctly invalidated when layer_data changes, preventing potential issues when nodes are reused.
Added logic to track which node's layer heights are cached and only recalculate the cache if the data source changes. This improves performance by avoiding unnecessary recalculations and ensures cache validity when the scene changes.
- Only make auth tokens active once `request/check` endpoint returns `authorized`
- Only invalidate tokens once authentication has failed 5 times and `request/check` endpoint returns `unauthorized`
- Don't store short-lived nonce counter
CURA-12862
Introduced a cache for layer heights to avoid recalculating them on every query. Added a method to populate the cache for all layers at once, and updated layer height retrieval methods to use the cache, improving efficiency when accessing layer height data.
Adds display of the current and minimum layer heights (in mm) to the Simulation View slider labels. Implements new properties and logic in SimulationView and SimulationViewProxy to retrieve accurate layer heights for both sliced and gcode data. Bumps plugin version to 1.1.0.
Updated warning icon visibility logic to display warnings only for enabled extruders in the simulation view menu. This prevents warnings from appearing for extruders that are not active.
Updated the warning icon visibility check to only consider extruders that exist in the current printer, preventing false warnings for non-existent extruders.
Updated the id from lineTypeLabel to SchemeTypeLabel and adjusted references accordingly for clarity and consistency in SimulationViewMenuComponent.qml.
Introduces warning icons in the SimulationView menu to indicate when extruder visibility is low or unchecked. Updates layout logic to accommodate the new icons and increments the plugin version to 1.0.2.