mirror of
https://git.code.sf.net/p/quake/quakeforge
synced 2024-11-10 23:32:09 +00:00
[qwaq] Set view owner when setting proxy view
This fixes the debug editor's redraw issues.
This commit is contained in:
parent
5bb71c2089
commit
17da19b979
1 changed files with 2 additions and 0 deletions
|
@ -39,11 +39,13 @@
|
|||
}
|
||||
[self.view hide];
|
||||
[self.view setContext:nil];
|
||||
[self.view setOwner:nil];
|
||||
|
||||
[view retain];
|
||||
[self.view release];
|
||||
self.view = view;
|
||||
|
||||
[view setOwner:owner];
|
||||
[view setContext:[owner context]];
|
||||
if (state & sfDrawn) {
|
||||
[view draw];
|
||||
|
|
Loading…
Reference in a new issue