CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Jan 2010
    Posts
    2

    Strange problem loading textures...

    So, I have a main form that opens sub-forms with ShowDialog(). Everything works 100% fine, but I added an option to choose a root Database file to use from the main form. If I open my Map Editor without that option, everything still works fine. But, if I have a root file selected (even if I don't even reference it from my sub-forms), it causes my texture paths to get screwed up, and will not load them correctly.

    Somehow, the texture paths are getting screwed up when I use my main form's OpenFileDialog to choose a root file, as I said, even when I don't do anything with it (or even -reference- it in any way) from my sub-form.

    I'm not really sure what else to say about it, if anyone thinks they can help, it would be much appreciated!

  2. #2
    Join Date
    Jan 2010
    Posts
    2

    Re: Strange problem loading textures...

    Well, I realized that I was basing most of my texture loading on CurrentDirectory, so... nevermind

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured