Revert to Default

john's Avatar

john

03 Feb, 2020 12:16 AM

A bug / feature request for the record...

The "Revert to Default" buttons in node dialogs work only in a limited way for core nodes and not at all for subnetworks. For core nodes they will set a number port back to zero and color port back to black. Even this limited sense of a default doesn't work for subnetworks.

This is a feature I don't need very often, but when I do need it, I need it bad. I am currently trying to make a colorize node for a complex object with three different features that might need color changes. Each feature comes with a carefully chosen default color. If a user changes one of these colors there is no way (aside from undo) to ever recover the default colors. Most things in NodeBox have a workaround. But in this case I am helpless to provide any way to restore a default color setting once it has been changed.

The request is to provide a "Default" field that would appear in the Metadata dialog for each port. Anything entered into that field would be stored in the ndbx file for that node. Hitting the "Revert to Default" button from the node dialog would restore the default value using that setting.

John

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac

Recent Discussions

16 Feb, 2025 11:13 AM
15 Feb, 2025 12:51 PM
06 Feb, 2025 01:37 AM
04 Feb, 2025 06:32 AM
04 Feb, 2025 05:04 AM

 

30 Jan, 2025 09:31 AM
30 Jan, 2025 09:08 AM
30 Jan, 2025 08:40 AM
24 Jan, 2025 07:50 AM
22 Jan, 2025 11:42 PM
21 Jan, 2025 09:43 AM