Limited to 10 text entries?

11 views
Skip to first unread message

piltrafus emeritus

unread,
Dec 16, 2015, 8:34:53 PM12/16/15
to spReticle Developers
Hi. The reticle accepts more than 10 text entries in the attribute editor, however, only the first 10 actually show in the viewport.
Is there any hardcoded limitation to the number of displayable text entries? Can be lifted?
I couldn't find anything in the source files.

Thanks.
Using it on windows7 64bit maya 2016 sp4

Russel Rehmund

unread,
Nov 28, 2016, 2:27:51 PM11/28/16
to spReticle Developers
I'm running into the same thing...anyone know of any way to increase this limit?

Peter Nepp

unread,
Nov 29, 2016, 9:12:01 AM11/29/16
to spReticle Developers
Actually there is a hardcoded limit. Look at function spReticleLoc::getTextData() in spReticleLoc.cpp:

There  is a loop like this:

for (int i = 0; i < numPlugs && i < 10; i++ )

Change it to:

for (int i = 0; i < numPlugs; i++ )

to get rid of the limitation.

Good luck,
Peter
Reply all
Reply to author
Forward
0 new messages