03-07-2013, 09:21 PM
(03-07-2013, 05:07 AM)oort Wrote: I like that you can save Color Ramps but sorry to say you might want to add the ability to delete individual ones as well...Ok, I'm working in it.
You should have noticed that the saved item isn't added to the list - that is because there is no easy way to just update a list in wings dialog - it's build before the dialog be displayed.
Work with dialogs on Wings is really hard and it is worst when you build it complex - with lots of components interaction.
So, I'm trying to implement a dynamic dialog (there is a simplest application of it in wpc_test_ask).
The bad thing about this can be the way I implemented the preview image management. Image data isn't "attached" to dialog structure. You can notice this by loading an image, then load an other one and clicking in Reset button. Don't do that - except for test.
Each time the dialog is drawn or cursor is moved inside a text field - every dialog event - all dialog data is transiting in the functions. The use of Density control requires non destructive information for the source image plus a work image.
Quote:I notice that Density defaults to the highest level by default. This is tough on old PC's like mine when the image is large. Should the default density be something smaller???Is something about 36Kpixels good for you? If so, it's already done.
(03-07-2013, 05:43 PM)ggaliens Wrote: Heightmap should be pushed to GITHUBIt's already on github. Make a pull request for dgud would be an option, but this can be done only after dgud accept some changes I did for wings_ask in order to make possible plug-in writers create their own custom control. (I created two for this plug-in and I want create a new one for a future project)