Skip to content
Snippets Groups Projects
Commit ee810028 authored by Ton Roosendaal's avatar Ton Roosendaal
Browse files

Increased builtin limit for selection buffer (border select in Object mode)

to allow up to 2500 objects (was 500).
Still an arbitrary limit, could use better code. For now its less
frustrating :)
parent 1b4667b3
No related branches found
Tags
No related merge requests found
......@@ -42,7 +42,7 @@
#define MAXLAMP 32765
/* max length material array, 16 because of bits in matfrom */
#define MAXPICKBUF 2000
#define MAXPICKBUF 10000
#define MAXSEQ 32
/* in Image struct */
#define MAXMIPMAP 10
......
......@@ -828,7 +828,7 @@ short selectprojektie(unsigned int *buffer, short x1, short y1, short x2, short
}
glPopName(); /* see above (pushname) */
hits= glRenderMode(GL_RENDER);
if(hits<0) error("Too many objects in selectbuf");
if(hits<0) error("Too many objects in select buffer");
G.f &= ~G_PICKSEL;
setwinmatrixview3d(0);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment