@@ -3970,7 +3970,9 @@ eAutoPropButsReturn uiTemplateOperatorPropertyButs(
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* set various special settings for buttons */
|
/* set various special settings for buttons */
|
||||||
{
|
|
||||||
|
/* Only do this if we're not refreshing an existing UI. */
|
||||||
|
if (block->oldblock == NULL) {
|
||||||
const bool is_popup = (block->flag & UI_BLOCK_KEEP_OPEN) != 0;
|
const bool is_popup = (block->flag & UI_BLOCK_KEEP_OPEN) != 0;
|
||||||
uiBut *but;
|
uiBut *but;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user