Jump to content
Forum Login Changes ×
The Dark Mod Forums


  • Posts

  • Joined

  • Last visited

Posts posted by mohij

  1. To get back to topic, I see two possibilities to get this working:

    simply calling m_transformChanged() from within updateAABB(), which works and is already implemented, but I'm not sure whether this is the correct way to do it, since it is called transformChanged and not boundsChanged.

    second is to add another Callback called m_boundsChanged() (which sounds more reasonable to me), I'd basicly copy that from the light class.


    What should I do?


    Edit: I copied the stuff from Light class over and it works, even though I don't understand why....


    So, what is left now?

  2. So if I get this right, it is normal that I have to call the InstanceSet::boundsChanged() before the bounds are updated. Then there is no bug in there at all, I simply didn't call anything like that. So the only question left is, how to call that thing best. Do I have to add a callback?



    btw. I nearly forgot, in order to get the allowance to work on DarkRadiant, I have to inform the guys I "work for" that I am an IBM employee. I guess posting in here should suffice ;-)

  3. Actually I didn't find the time in the last 3 weeks, since I had (maybe have) to manage all the things concerning my studies (I was on an excursion entire last week, I just came home an hour ago). I guess things will start to relax a bit now. And since there isn't much left on this, I should really finish this now, I guess. I'll probably find time on monday evening.

  4. BA? Is that short for Bachelor of Arts?

    It means "Berufs Akademie" (german), it's offers sort of dual studies, you study and work in a company in rotation, it's meant to get you the practise of job live and you don't have to apply for a job afterwards, you normally just stay in that company. Even though I'm still pondering whether this is the best step to take...


    I assume you mean working on DarkRadiant during your work time? :)
    I'm afraid not, I have to get an authorization for every work I do not related to the company, but I guess it shouldn't be a problem with DarkRadiant. We'll see.
  5. Oh yeah, more bugs! Would you care to post them into the bugtracker? Or do you have time to look into the missing images?
    Well, I started my studies (BA, for those who know it) last thursday, so I'm quite busy right now (moved out a week ago and working from 6:30 to 18:00), additionally I have to check with my company whether it is ok that I work on DarkRadiant. So in fact I'd like to get those things settled before starting anything new...


    If I understood right, Tels wants to do it, so that should be fine.

  6. That's the backtrace (recompiled with BUILD="debug"):

    (darkradiant:5233): Gtk-CRITICAL **: gtk_window_set_focus: assertion `GTK_IS_WINDOW (window)' failed
    Program received signal SIGSEGV, Segmentation fault.
    [Switching to Thread -1232226608 (LWP 5233)]
    0x083066ca in FreezePointer::freeze_pointer (this=0x990fd84, window=0x0, 
    function=0x83d4526 <Camera_motionDelta(int, int, unsigned int, void*)>, data=0x990fb6c) at libs/gtkutil/cursor.h:168
    168		 gdk_pointer_grab(GTK_WIDGET(window)->window, TRUE, mask, 0, cursor, GDK_CURRENT_TIME);
    (gdb) bt
    #0  0x083066ca in FreezePointer::freeze_pointer (this=0x990fd84, window=0x0, 
    function=0x83d4526 <Camera_motionDelta(int, int, unsigned int, void*)>, data=0x990fb6c) at libs/gtkutil/cursor.h:168
    #1  0x083d5c2a in CamWnd::enableFreeMove (this=0x990f800) at radiant/camera/CamWnd.cpp:343
    #2  0x083d5c9f in enable_freelook_button_press (widget=0x990dae0, event=0x9922378, camwnd=0x990f800)
    at radiant/camera/CamWnd.cpp:195
    #3  0xb7bdc490 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #4  0x0990dae0 in ?? ()
    #5  0x09922378 in ?? ()
    #6  0x0990f800 in ?? ()
    #7  0xb79196e8 in ?? () from /usr/lib/libgobject-2.0.so.0
    #8  0xb7bdc430 in ?? () from /usr/lib/libgtk-x11-2.0.so.0
    #9  0xffffffff in ?? ()
    #10 0xbfdde388 in ?? ()
    #11 0xb78e9ec9 in g_closure_invoke () from /usr/lib/libgobject-2.0.so.0
    Backtrace stopped: frame did not save the PC

  • Create New...