diff options
author | Ton Roosendaal <ton@blender.org> | 2008-12-14 21:04:31 +0300 |
---|---|---|
committer | Ton Roosendaal <ton@blender.org> | 2008-12-14 21:04:31 +0300 |
commit | 84b293fbc38fa0c5ee3f2038831bb423d27189ba (patch) | |
tree | d25d4ae23739ab9a4fb37b364abaf187c266147c /source/creator | |
parent | cc51a4f211fd239fe255b7f398829aab288f36ef (diff) |
2.5
OSX crashed on double-click the Finder Blender icon
Removed 7 years old hack to get the correct arguments for this case, it
was a terrible hack anyway. Needs proper code.
Diffstat (limited to 'source/creator')
-rw-r--r-- | source/creator/creator.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/source/creator/creator.c b/source/creator/creator.c index bfc03c976fb..8cb436f4d6d 100644 --- a/source/creator/creator.c +++ b/source/creator/creator.c @@ -279,13 +279,11 @@ int main(int argc, char **argv) #ifdef __APPLE__ /* patch to ignore argument finder gives us (pid?) */ if (argc==2 && strncmp(argv[1], "-psn_", 5)==0) { - extern void wm_window_process_events(int wait_for_event); extern int GHOST_HACK_getFirstFile(char buf[]); static char firstfilebuf[512]; argc= 1; - wm_window_process_events(0); if (GHOST_HACK_getFirstFile(firstfilebuf)) { argc= 2; argv[1]= firstfilebuf; |