ambiera logo

Ambiera Forum

Discussions, Help and Support.

folder icon Ambiera Forum > irrEdit
forum topic indicator IrrEdit Plugin Troubles
person icon
A Guy
Guest
Quote
2008-02-14 14:15:31

I am currently working on a game using Irrlicht and IrrEdit.  I wrote a plugin DLL for a custom scene node but have encountered a problem.  When I click the button to insert the scene node, I want it to function much like how the MeshSceneNode works.  I want it to ask for a mesh, and then insert the node.  I have this working fine by using the win32 function GetOpenFileName.  The problem is that whenever I then load the scene, it will ask me to input the mesh for every one of my custom nodes.  Obviously this is not acceptable.  Is there any simple way I am overlooking to make it only ask for the mesh name when the button is pressed, and only then.

person icon
niko
Moderator
Quote
2008-02-15 14:15:38

That's a shortcoming of the current plugin system, unfortunately. It was originally only written to enhance the scene graph with scene nodes and loaders, but not with user interfaces. You need to find a way not to show the dialog when this happens, such as storing a flag somewhere like in the scene node or similar.


Create reply:










 

  

Possible Codes


Feature Code
Link [url] www.example.com [/url]
Bold [b]bold text[/b]
Image [img]http://www.example.com/image.jpg[/img]
Quote [quote]quoted text[/quote]
Code [code]source code[/code]

Emoticons


icon_holyicon_cryicon_devilicon_lookicon_grinicon_kissicon_monkeyicon_hmpf
icon_sadicon_happyicon_smileicon_uhicon_blink   






Copyright© Ambiera e.U. all rights reserved.
Contact | Imprint | Products | Privacy Policy | Terms and Conditions |