mirror of
https://github.com/DrBeef/Raze.git
synced 2025-01-18 15:11:51 +00:00
Hook the polymer map selection code to a few more places in the editor code. This will fix the screen turning greenish when selecting a pal with Alt-P. I could just drop the selection from these cases since the cursor can't actually move, but then people would ask why the FPS gets higher in this occurrences.
git-svn-id: https://svn.eduke32.com/eduke32@1577 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
bbdb36692e
commit
9b1d03d2cc
2 changed files with 27 additions and 0 deletions
|
@ -5340,6 +5340,15 @@ int32_t _getnumber256(char *namestart, int32_t num, int32_t maxnumber, char sign
|
|||
ExtAnalyzeSprites();
|
||||
#endif
|
||||
drawmasks();
|
||||
#ifdef POLYMER
|
||||
if (rendmode == 4 && searchit == 2)
|
||||
{
|
||||
polymer_editorpick();
|
||||
drawrooms(pos.x,pos.y,pos.z,ang,horiz,cursectnum);
|
||||
ExtAnalyzeSprites();
|
||||
drawmasks();
|
||||
}
|
||||
#endif
|
||||
|
||||
ch = bgetchar();
|
||||
|
||||
|
|
|
@ -3843,6 +3843,15 @@ void getnumberptr256(char *namestart, void *num, int32_t bytes, int32_t maxnumbe
|
|||
ExtAnalyzeSprites();
|
||||
#endif
|
||||
drawmasks();
|
||||
#ifdef POLYMER
|
||||
if (rendmode == 4 && searchit == 2)
|
||||
{
|
||||
polymer_editorpick();
|
||||
drawrooms(pos.x,pos.y,pos.z,ang,horiz,cursectnum);
|
||||
ExtAnalyzeSprites();
|
||||
drawmasks();
|
||||
}
|
||||
#endif
|
||||
|
||||
ch = bgetchar();
|
||||
|
||||
|
@ -4112,6 +4121,15 @@ ENDFOR1:
|
|||
ExtAnalyzeSprites();
|
||||
#endif
|
||||
drawmasks();
|
||||
#ifdef POLYMER
|
||||
if (rendmode == 4 && searchit == 2)
|
||||
{
|
||||
polymer_editorpick();
|
||||
drawrooms(pos.x,pos.y,pos.z,ang,horiz,cursectnum);
|
||||
ExtAnalyzeSprites();
|
||||
drawmasks();
|
||||
}
|
||||
#endif
|
||||
|
||||
ch = bgetchar();
|
||||
|
||||
|
|
Loading…
Reference in a new issue