Jump to content
The Dark Mod Forums

Large Maps Do Not Display Properly [closed]


Recommended Posts

  • Replies 60
  • Created
  • Last Reply

Top Posters In This Topic

Actually I think it is my code:

 

Thread [1] (Suspended: Signal 'SIGSEGV' received. Description: Segmentation fault.)	
14 visit() at /DarkRadiant/radiant/ui/einspector/EntityInspector.cpp:469 0x08155e7a	
13 EntityKeyValues::forEachKeyValue() at /DarkRadiant/libs/entitylib.h:693 0xb6201199	
12 ui::EntityInspector::refreshTreeModel() at /DarkRadiant/radiant/ui/einspector/EntityInspector.cpp:477 0x08156f3c	
11 ui::EntityInspector::callbackRedraw() at /DarkRadiant/radiant/ui/einspector/EntityInspector.cpp:243 0x08156fce	
10 Member<ui::EntityInspector, void, &() at /DarkRadiant/libs/generic/functional.h:13 0x0815803b	
9 BindFirstOpaque<Member<ui::EntityInspector, void, &() at /DarkRadiant/libs/generic/callback.h:120 0x08158057	
8 Callback0<void>::operator() at /DarkRadiant/libs/generic/callback.h:282 0x08089d1e	
7 IdleDraw::draw() at /DarkRadiant/libs/gtkutil/idledraw.h:35 0x08089d35	
6 g_child_watch_add()  0xb7e75bf2	
5 g_main_context_dispatch()  0xb7e738d6	
4 g_main_context_check()  0xb7e76996	
3 g_main_loop_run()  0xb7e76cb8	
2 gtk_main()  0xb7b76765	
1 main() at /DarkRadiant/radiant/main.cpp:546 0x08099721

 

I may have made a typo when cleaning up, investigating.

Link to comment
Share on other sites

D'oh, fixed. I changed the Entity::Visitor interface to std::string rather than const char*, then forgot that the compiler would not complain if those strings were passed directly to gtk functions which in fact expect a const char* in this situation.

Link to comment
Share on other sites

I noticed a couple of problems with the Skin Chooser that need fixing:

 

1. On Windows the dialog widget displays too low, with the buttons not visible. I have fixed this by making it appear centered on screen rather than over the entity inspector window.

2. There is a segfault on shutdown after the Skin Chooser has been used, owing to the attempt to delete the preview model which in turn releases the shader after the GlobalShaderCache has already been destructed. I will have to investigate the best way to solve this.

 

EDIT: Whoops, there's another one as well. The window does not correctly handle the "window close" event when the upper-right close box is clicked, and cannot be re-shown afterwards.

Link to comment
Share on other sites

The Skin Chooser problems are fixed, but I notice now that the Lighting mode render in Windows does not work. Does it work on Windows for you? I just get a completely black screen, even in a simple map I create myself with just a brush and a light.

 

EDIT: Same behaviour in Linux too.

Link to comment
Share on other sites

That's a good point, I'll look into it. The new parsing code should return an image map, but it might not be returning anything sensible.

 

Incidentally, I have added a page on the Wiki to cover the pre-release tests for DarkRadiant releases, so that we can be sure that future releases do not introduce glaring bugs that we have forgotten to test. Feel free to add anything you may think of that needs testing, the idea is to have an evolving list of tests which cover all major aspects of DR's functionality.

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recent Status Updates

    • The Black Arrow

      Hope everyone has the blessing of undying motivation for "The Dark Mod 15th Anniversary Contest". Can't wait to see the many magnificent missions you all may have planned. Good luck, with an Ace!
      · 0 replies
    • Ansome

      Finally got my PC back from the shop after my SSD got corrupted a week ago and damaged my motherboard. Scary stuff, but thank goodness it happened right after two months of FM development instead of wiping all my work before I could release it. New SSD, repaired Motherboard and BIOS, and we're ready to start working on my second FM with some added version control in the cloud just to be safe!
      · 2 replies
    • Petike the Taffer  »  DeTeEff

      I've updated the articles for your FMs and your author category at the wiki. Your newer nickname (DeTeEff) now comes first, and the one in parentheses is your older nickname (Fieldmedic). Just to avoid confusing people who played your FMs years ago and remember your older nickname. I've added a wiki article for your latest FM, Who Watches the Watcher?, as part of my current updating efforts. Unless I overlooked something, you have five different FMs so far.
      · 0 replies
    • Petike the Taffer

      I've finally managed to log in to The Dark Mod Wiki. I'm back in the saddle and before the holidays start in full, I'll be adding a few new FM articles and doing other updates. Written in Stone is already done.
      · 4 replies
    • nbohr1more

      TDM 15th Anniversary Contest is now active! Please declare your participation: https://forums.thedarkmod.com/index.php?/topic/22413-the-dark-mod-15th-anniversary-contest-entry-thread/
       
      · 0 replies
×
×
  • Create New...