-
You don't have the right window classes. The panel windows you mention are just containers, since they can be swapped in/out.
Code:
<windowclass name="imagewindow" merge="join">
<sheetdata>
<image_record name="image">
<script file="campaign/scripts/image.lua" />
</image_record>
</sheetdata>
</windowclass>
<windowclass name="imagepanelwindow" merge="join">
<sheetdata>
<imagepanel_record name="image">
<script file="campaign/scripts/image.lua" />
</imagepanel_record>
</sheetdata>
</windowclass>
Any time that you are merging the window classes, you need to make sure that the control you are trying to merge over actually exists in that definition.
Regards,
JPG
-
Awesome. Thanks for the help!
-
Unfortunately, none of that is preventing functions from outside the extension from not being able to be accessed within (or even in one case, outside) of the extension. The latest was CombatManager (called from the extension but not modified by it) after someone drug a token with shift-drag. Previously, Interface has disappeared, along with the functions DB.getValue(), onDrop(), and getGridSize(). I haven't been able to reproduce it myself, but several others have run into these problems at some point into their session (haven't heard that it happens right off the bat - works for a while and then something happens to cause these things).