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

    • OrbWeaver

      Does anyone actually use the Normalise button in the Surface inspector? Even after looking at the code I'm not quite sure what it's for.
      · 6 replies
    • Ansome

      Turns out my 15th anniversary mission idea has already been done once or twice before! I've been beaten to the punch once again, but I suppose that's to be expected when there's over 170 FMs out there, eh? I'm not complaining though, I love learning new tricks and taking inspiration from past FMs. Best of luck on your own fan missions!
      · 4 replies
    • The Black Arrow

      I wanna play Doom 3, but fhDoom has much better features than dhewm3, yet fhDoom is old, outdated and probably not supported. Damn!
      Makes me think that TDM engine for Doom 3 itself would actually be perfect.
      · 6 replies
    • Petike the Taffer

      Maybe a bit of advice ? In the FM series I'm preparing, the two main characters have the given names Toby and Agnes (it's the protagonist and deuteragonist, respectively), I've been toying with the idea of giving them family names as well, since many of the FM series have named protagonists who have surnames. Toby's from a family who were usually farriers, though he eventually wound up working as a cobbler (this serves as a daylight "front" for his night time thieving). Would it make sense if the man's popularly accepted family name was Farrier ? It's an existing, though less common English surname, and it directly refers to the profession practiced by his relatives. Your suggestions ?
      · 9 replies
    • nbohr1more

      Looks like the "Reverse April Fools" releases were too well hidden. Darkfate still hasn't acknowledge all the new releases. Did you play any of the new April Fools missions?
      · 5 replies
×
×
  • Create New...