Wow - quick turn around!!!
Wow - quick turn around!!!
Hi Trenloe, I'm getting script errors when using this extension. It happens when I drop new tokens onto an image, or when I toggle between different layers. I am using Enhanced Images v2.0.5b and 5E ruleset v3.3.0 Fantasy Grounds. I disabled all other extensions to make sure it was Enhanced Images causing this, and I think it is - I only get the errors with Enhanced Images.
The script errors I'm getting are:
etc. I don't know if this is helpful, but besides the script errors, the token I am dropping on the image doesn't scale to the grid, instead coming in at full size.Quote:
Script Error: [string "scripts/manager_image.lua"]:58: attempt to call field 'getDatabaseNode' (a nil value)
Script Error: [string "scripts/manager_image.lua"]:72: attempt to call field 'getDatabaseNode' (a nil value)
Script Error: [string "scripts/manager_image.lua"]:58: attempt to call field 'getDatabaseNode' (a nil value)
Script Error: [string "scripts/manager_image.lua"]:72: attempt to call field 'getDatabaseNode' (a nil value)
Runtime Notice: s'image.lua: onGridStateChanged. Image control = play_image'
Runtime Notice: s'image.lua: onGridStateChanged. Image control = features_image'
Runtime Notice: s'image.lua: onGridStateChanged. Image control = image'
Runtime Notice: s'image.lua: onGridStateChanged. Calling updateDisplay.'
Runtime Notice: s'image.lua: onGridStateChanged. Calling updateDisplay.'
Runtime Notice: s'image.lua: onGridStateChanged. Calling updateDisplay.'
Script Error: [string "scripts/manager_image.lua"]:58: attempt to call field 'getDatabaseNode' (a nil value)
Thanks in advance!
Rades, he is going to ask you if it happens on an empty campaign (or nearly empty) most likely, so if you want to shortcut your answer, you should try a new campaign created in 3.3.0 and add just the fundamentals to try what was bombing.
Bug fix update - v2.05c available in post #1.
Fixes script errors caused after the first time an image window had been closed. Errors reported in post #222: https://www.fantasygrounds.com/forum...l=1#post334171
FG v3.3.0 has a new onClose function for the image window, this was clashing with the extension's onClose function. Should be fixed now, download and install v2.0.5c.
So fast! Thanks Trenloe!
Ok, tried to use the Enhanced Images extension tonight...and had some issues. It goes into a rolling script error when I try to "lock tokens" movement (see images). It all clears up if I unlock the tokens.Attachment 18767Attachment 18768. I've tried to ensure my ext's are up to date. Any ideas?
V2.0.5d May 9th, 2017: Very minor update. Resize to grid functionality now caters for dynamic toolbars and different sized image window frames to display the full, resized, image.