Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] Crash changing Area Light Diffuse Alpha
09-02-2015, 02:18 PM (This post was last modified: 10-25-2015 02:06 PM by micheus.)
Post: #1
[fixed] Crash changing Area Light Diffuse Alpha
Changing the Diffuse Color for Area lights works now but I get a crash when I try to adjust the Alpha slider. This happens in all light types. This is in Wings 2.0.1 version.

oort
Reply
09-10-2015, 06:00 AM
Post: #2
RE: Crash changing Area Light Diffuse Alpha
oort, I'm not able to repeat this.
I tried with View->Scene Lights on/off; all kind of lights;
Could you maybe provide me a step by step to get the crash and your preferences.txt?

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
09-10-2015, 03:20 PM (This post was last modified: 09-10-2015 04:15 PM by oort.)
Post: #3
RE: [micheus] Crash changing Area Light Diffuse Alpha
Micheus,
Start Wings3D > Add Area Light > Edit Light > Click Diffuse Color swatch > Change Color > Slide Alpha Slider > Hard Crash (Windows message is "erl.exe has stopped working...").

Once, just now testing again it didn't happen when I do not change color and only adjust the Alpha slider. Maybe it is the combination of adjusting both the Color and the Alpha setting???

I just tested again and it seems that if I first only change the Alpha setting and then close the window. Then Edit Light > Click Diffuse Color swatch > Change Color there is no crash. It seems that changing Color and Alpha together is causing the problem???

Edit: It just occurred to me that maybe Alpha is not something that should normally be adjusted for lights???

Thanks,
oort
Reply
09-10-2015, 06:47 PM
Post: #4
RE: [micheus] Crash changing Area Light Diffuse Alpha
I could experience the error now, but in the downloaded version. In my development it's not happen. Confused

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
09-11-2015, 02:35 PM
Post: #5
RE: [micheus] Crash changing Area Light Diffuse Alpha
Hopefully I have fixed this in 9af12c6, seems to be a bug somewhere in wx as well, but since I cannot
reproduce it with debugging information it may take a while until that part is fixed.

Also does not happen in linux.
Reply
09-11-2015, 03:25 PM
Post: #6
RE: [micheus] Crash changing Area Light Diffuse Alpha
Micheus sent me a test build last night and the bug seems to be gone.

Thanks,
oort
Reply
09-11-2015, 03:45 PM
Post: #7
RE: [micheus] Crash changing Area Light Diffuse Alpha
Ok I have not seen what he have done, he have not sent me any code.
Reply
09-11-2015, 03:50 PM
Post: #8
RE: [micheus] Crash changing Area Light Diffuse Alpha
It was late last night... Smile
Reply
09-11-2015, 04:33 PM
Post: #9
RE: [micheus] Crash changing Area Light Diffuse Alpha
Dan, I did nothing about that, probably it was fixed in your commit.Smile

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply
09-11-2015, 07:59 PM
Post: #10
RE: [fix] Crash changing Area Light Diffuse Alpha
I did not make my fix until this afternoon in Sweden today, was that included in
you test build, Micheus?
Reply


Forum Jump:


User(s) browsing this thread: 1 Guest(s)