Beispiel #1
0
static int screenshot_poll(bContext *C)
{
    if (G.background)
        return false;

    return WM_operator_winactive(C);
}
Beispiel #2
0
static bool screenshot_poll(bContext *C)
{
  if (G.background) {
    return false;
  }

  return WM_operator_winactive(C);
}