Comments (2)
does not properly reset the image dialog buttons when the selected image is deleted
Actually it does'n matter if the selected image was among the deted or not. What happens is that purge sets none selected, but the state of the buttons is not updates, so if the button was active before purge, it tries to open details the details window without an image...
The fix is to add hilightButtons
as the last statement in private void purge()
, lines 249 - 254.
I found another little gitch too. If you try to open an file with the extension .hdr
and the file is something else there is an uncaught error, that will interrupt the loading. It interrups a multimple image load too, without loading anything.
The error should be handled so, that the images, that can be loaded would still be loaded and the user is notified about those that were not.
Edit: Taking the fix to the original issue a bit further, purge
could check if the selected image was deleted or not. Now it simply sets none selected. :) -- And still hilightButtons()
needs to be called after purge()
.
from artofillusion.
The error should be handled so, that the images, that can be loaded would still be loaded and the user is notified about those that were not.
Got that. Removed return
from the catch
block. That unnecessrily interrupted the entire loading process.
Q: Does it make any sense to printStackTrace()
in cases like this. We know where the error happened and the output tells very little (or the way I see it , nothing) of, what was wrong with the file. The listed command-chain through all the java-libraries is hardly anything that helps or that we could do anything about.
from artofillusion.
Related Issues (20)
- Dealing with reference loops HOT 7
- Raytracer needs a 'warm-up round' HOT 26
- Need help with Linux version HOT 4
- Rotation center of Scene Camera lost at save / open HOT 2
- Script editor window closing loses already saved changes HOT 21
- FileChoosers are missing file type filters HOT 2
- Clean up older Pull requests. HOT 1
- Migrate to build system with managed dependency support
- RFE. Extract procedural modules to separate plugin sub project HOT 3
- Loading freeze for object-script that tries to access the object list HOT 7
- Could not Bulk Edit on ScriptedObject Pose track HOT 2
- Text Area on script editing windows does not resize on maximize/restore.
- Script UI objects can be orphaned HOT 4
- Triangle mesh constructor description HOT 4
- Menu shortcuts conflict for Africaans language HOT 4
- "Transfrom Object..." order of operations is wrong HOT 15
- AOI hangs on shutdown if SPManager has been opened.
- Rotation angles calculation does not give optimal results HOT 3
- Can not compile. Recenet change in code?? HOT 9
- Start-up settings to core AoI HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from artofillusion.