GE Lua Documentation

Press F to search!

OpenPopup

Definition


-- @/lua/common/extensions/ui/imgui_custom_luaintf.lua:177

  function M.OpenPopup(string_str_id, ImGuiPopupFlags_popup_flags)
    return M.OpenPopup1(string_str_id, ImGuiPopupFlags_popup_flags)
  end

Callers

@/lua/ge/extensions/editor/flowgraph/main.lua
              if im.IsItemClicked() then
                im.OpenPopup("FG_SiblingGraphs")
                self._siblings = self.mgr.graphs[lIds[i]]:getChildrenWithStates()
    end
    im.OpenPopup("Node Context Menu")
    self.mgr.openPopupPosition = mousePos
  elseif ui_flowgraph_editor.ShowPinContextMenu(self.contextPinId) then
    im.OpenPopup("Pin Context Menu")
    self.mgr.openPopupPosition = mousePos
    end
    im.OpenPopup("Link Context Menu")
    self.mgr.openPopupPosition = mousePos
  elseif im.IsWindowHovered() and ui_flowgraph_editor.ShowBackgroundContextMenu() then
    im.OpenPopup("BackgroundContextMenu")
    self.mgr._nodeTemplates = nil -- force refresh
@/lua/common/extensions/ui/flowgraph/editor.lua
  if editor.uiIconImageButton(editor.icons.settings, im.ImVec2(22, 22)) then
    im.OpenPopup(source.id .. "-" .. name)
  end
          if im.Button("Rename Variable") then
            im.OpenPopup(source.id .. "-rename-" .. name)
          end
  im.EndChild()
  if self.openPopup then im.OpenPopup("vehicleSearchUtil"..self._imguiId) end
  if im.BeginPopup("vehicleSearchUtil"..self._imguiId) then
@/lua/ge/extensions/editor/preferences.lua
    if imgui.Button("Reset Category To Defaults") then
      imgui.OpenPopup("Reset Category Preferences To Defaults")
    end
      if imgui.Button("Reset All To Defaults") then
        imgui.OpenPopup("Reset All To Defaults")
      end
@/lua/ge/extensions/editor/vehicleDetailViewer.lua
        if im.IsItemClicked(1) then
          im.OpenPopup('VDV_VIEW_POPUP')
        end
@/lua/ge/extensions/editor/createObjectTool.lua
    if imgui.Button(btnText) then
      imgui.OpenPopup("CreateSimObjectPopup")
      focusTextInput = true
@/lua/ge/extensions/editor/dynamicDecals/widgets.lua
  if im.ColorButton(string.format("%s_openPopupColorButton", widgetId), im.ImVec4(value[1],value[2],value[3],value[4]), nil, nil) then
    im.OpenPopup(string.format("%s_Point4FColorPopup", widgetId))
  end
    if editor.uiIconImageButton(editor.icons.fg_type_diamond_2, tool.getIconSizeVec2(), nil, nil, nil, string.format("WidgetTypeOpenPopupButton_", widgetId)) then
      im.OpenPopup(string.format("WidgetTypePopup_%s", widgetId))
    end
@/lua/ge/extensions/editor/biomeTool.lua
    if isAddBlending and bothBrushesEmpty then
      imgui.OpenPopup("No Brush Selected!")
    elseif noLasso and layerType == layerType_enum.area then
    elseif noLasso and layerType == layerType_enum.area then
      imgui.OpenPopup("No Lasso Areas!")
    else
      biomeProcFunc(isDeletingLayer, layer)
      imgui.OpenPopup("Biome Work Progress")
    end
  if imgui.Button("Select Brush##Central", imgui.ImVec2(100, 30)) then
    imgui.OpenPopup("Select Forest Brush (Central)")
    var.layers.PopupOpenMousePos.x = imgui.GetMousePos().x
  if imgui.Button("Select Brush##Falloff", imgui.ImVec2(100, 30)) then
    imgui.OpenPopup("Select Forest Brush (Falloff)")
    var.layers.PopupOpenMousePos.x = imgui.GetMousePos().x
      if tableIsEmpty(edgeElements) then
        imgui.OpenPopup("No Brush Selected!##Edge")
      else
        var.forestBrushTool:initBiomeEdgeProc(edgeElements, maskFile, matIndex, falloff, blendingMethod, fileSuffix, randomTilt[1], randomTilt[2], itemDistance, lassoAreas)
        imgui.OpenPopup("Biome Edge Placement Progress")
      end
    if imgui.Button("Select Brush##Edge", imgui.ImVec2(100, 30)) then
      imgui.OpenPopup("Select Forest Brush (Edge)")
      var.layers.PopupOpenMousePos.x = imgui.GetMousePos().x
      if imgui.Button("Delete Layer", buttonSize) then
        imgui.OpenPopup("Delete Layer")
      end
  if imgui.Button("Exit", buttonSize) then
    imgui.OpenPopup("Exit Confirmation")
  end
  if not var.askedToOpenProject then
    --imgui.OpenPopup("Ask Project")
  end
        biomeProcFunc(isDeletingLayer, layer, var.lassoHoveredNode.areaID, isResizingLasso)
        imgui.OpenPopup("Biome Lasso Work Progress")
      end
@/lua/ge/extensions/editor/rallyEditor/pacenotes/structuredForm.lua
  if editor.uiIconImageButton(editor.icons.trashBin2, im.ImVec2(20, 20), regenClr) then
    im.OpenPopup("Delete Audio Files")
  end
@/lua/ge/extensions/editor/camPathEditor.lua
    -- if im.Button('Normalize Speed', im.ImVec2(buttonWidth, 0)) then
    --   im.OpenPopup('Speed Settings')
    -- end
      if replayToBeLoaded then
        im.OpenPopup('Load new replay')
      end
@/lua/ge/extensions/editor/rallyEditor/pacenotes.lua
  if im.Button("Delete All") then
    im.OpenPopup("Delete All")
  end
@/lua/ge/extensions/editor/dynamicDecals/textures.lua
  if openPopup then
    im.OpenPopup("TextureContextMenuPopup")
    openPopup = false
@/lua/ge/extensions/editor/util/transformUtil.lua
  if editor.uiIconImageButton(editor.icons.settings, vec22x22) then
    im.OpenPopup("Tranform Util Context Menu " .. self.objectName)
  end
    if im.Button("...") then
      im.OpenPopup("Tranform Util Context Menu " .. self.objectName)
    end
@/lua/ge/extensions/editor/autoSave.lua
      if (not tableIsEmpty(autosaves)) or showWindowNow then
        imgui.OpenPopup("AutoSave Restore")
      end
    if imgui.Button("Restore") then
      imgui.OpenPopup("AutoSave Restore Confirm")
    end
@/lua/ge/extensions/editor/dynamicDecals/vehicleColorPalette.lua
  if im.Button(string.format("Save##vehicleColorPalette", guiId)) then
    im.OpenPopup("SaveVehicleColorPalette_" .. guiId)
  end
  if im.Button(string.format("Load##vehicleColorPalette", guiId)) then
    im.OpenPopup("LoadVehicleColorPalette_" .. guiId)
  end
@/lua/ge/extensions/editor/materialEditor.lua
    if clicked then
      im.OpenPopup(popupId(suf))
    end
          if im.IsMouseClicked(1) then
            im.OpenPopup(popupId)
          elseif im.IsMouseClicked(0) then
          if im.IsMouseClicked(1) then
            im.OpenPopup(popupId)
          elseif im.IsMouseClicked(0) then
      editMatName = currentMaterial:getField("name", 0)
      im.OpenPopup("EDITMATERIALNAME")
    end
    if editor.uiIconImageButton(editor.icons.delete, im.ImVec2(v.inputWidgetHeight * 1.5, v.inputWidgetHeight * 1.5)) then
      im.OpenPopup("DeleteCurrentMaterial")
    end
      pickMapToFromObjectPopupHeight = popupHeight > pickMapToFromObjectPopupMaxHeight * im.uiscale[0] and pickMapToFromObjectPopupMaxHeight * im.uiscale[0] or popupHeight
      im.OpenPopup("PickMapToFromObjectPopup")
      openPickMapToFromObjectPopup = false
@/lua/ge/extensions/editor/api/gui.lua
  if imgui.ColorButton(label..'clrButton', imgui.ImVec4(col.clr[0], col.clr[1], col.clr[2], col.clr[3]), flags) then
    imgui.OpenPopup(label..'##colorEdit8')
  end
  if imgui.IsItemClicked() then
    imgui.OpenPopup(label..'##colorEdit8')
  end
  if windowsState[windowName].visible[0] == true then
    imgui.OpenPopup(title)
  end
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/veStaticRenderView.lua
  if im.IsItemClicked(1) then
    im.OpenPopup('viewcontrol' .. tostring(wndData.wndName))
  end
@/lua/ge/extensions/editor/forestEditor.lua
  if im.IsItemClicked(1) then
    im.OpenPopup(popupId)
  end
  if im.Button("...") then
    im.OpenPopup("##" .. fieldName .. "DataBlockPopup")
  end
@/lua/ge/extensions/editor/audioEventsList.lua
    elseif im.IsMouseReleased(1) then
      im.OpenPopup("rightClickPopupMenu" .. event.id)
    end
@/lua/ge/extensions/gameplay/rally/tools/devTools.lua
        if currentPath and currentPath.generatePacenotes then
          im.OpenPopup("Generate Pacenotes##devToolsGenPacenotes")
        else
@/lua/ge/extensions/editor/flowgraphEditor.lua
  if not tableIsEmpty(dirtyChildren) then
    im.OpenPopup("Unsaved macros")
  else
  if not tableIsEmpty(dirtyChildren) then
    im.OpenPopup("Unsaved macros")
  else
@/lua/ge/extensions/editor/flowgraph/overview.lua
              self.contextMenuNode = node
              im.OpenPopup("nodeOverviewPopup" .. tostring("self_id"))
            end
@/lua/ge/extensions/editor/flowgraph/variables.lua
    if editor.uiIconImageButton(editor.icons.add, im.ImVec2(35,35)) then
      im.OpenPopup("addVariablePopup")
      self.addVariableSettings = { target = 1 , addAnother = editor.getPreference("flowgraph.general.repeatVariableCreation")}
    if editor.uiIconImageButton(editor.icons.add, im.ImVec2(35,35)) then
      im.OpenPopup("addVariablePopup")
      self.addVariableSettings = { target = 2, addAnother = editor.getPreference("flowgraph.general.repeatVariableCreation") }
@/lua/ge/extensions/editor/dynamicDecals/brushes.lua
  if openBrushContextPopup then
    im.OpenPopup("DynDecal_Browser_BrushesTab_BrushPopup")
    openBrushContextPopup = false
@/lua/ge/extensions/editor/trafficManager.lua
      if im.Button("AI Parameters...") then
        im.OpenPopup("AI Parameters##trafficManager")
      end
  if im.Button("More Options...##trafficManagerAllVehicles") then -- dropdown with special functions
    im.OpenPopup("Advanced Functions##trafficManagerAllVehicles")
  end
          else
            im.OpenPopup(windows[key].key)
          end
    if confirmData.ready then
      im.OpenPopup("Confirm##trafficManager")
      confirmData.ready = nil
@/lua/ge/extensions/editor/assetDeduplicator.lua
    if state.wantOpenCompare then
      im.OpenPopup(comparePopupId)
      state.wantOpenCompare = false
        if im.Button("Preview and apply") then
          im.OpenPopup("Preview Changes")
        end
            end
            im.OpenPopup('linkingFinished')
          elseif generateLinksJob.status == 1 then
            end
            im.OpenPopup('linkingFinished')
          end
@/lua/ge/extensions/editor/vehicleEditor/staticEditor/vePartList.lua
                elseif im.IsItemClicked(1) then
                  im.OpenPopup('part_context_menu')
                  rightClickedPart = v
@/lua/ge/extensions/editor/api/valueInspector.lua
    if imgui.Button("  ...  ###" .. fieldNameId) then
      imgui.OpenPopup(fieldNameId .. "DataBlockPopup")
    end
@/lua/ge/extensions/editor/scriptAIManager.lua
          ffi.copy(tmpSaveFilename, tostring(vehId) .. '-' .. tostring(bo:getName()) .. '-' .. tostring(bo.JBeam))
          im.OpenPopup('Save Recording##'..vehId)
        end
      if editor.uiIconImageButton(editor.icons.folder_open, im.ImVec2(24,24), nil, nil, nil, 'loadrecord'..vehId) then
        im.OpenPopup('Load Recording##'..vehId)
      end
      if im.Button('More##'..vehId) then
        im.OpenPopup('controlsPopup##'..vehId)
      end
@/lua/ge/extensions/editor/mapSensorEditor.lua
      extensions.tech_pythonExport.getFullConfig(nil, sensors, pythonCodePtr)
      im.OpenPopup("Python Code")
    end
@/lua/ge/extensions/core/ropeVisualTest.lua
      openSaveModalPopup = nil
      im.OpenPopup("Save Parameters")
    end
      openLoadModalPopup = nil
      im.OpenPopup("Load Parameters")
    end
@/lua/ge/extensions/editor/sitesEditor/sortedListDisplay.lua
        self.popupTag = t
        im.OpenPopup("TagPopup")
      end
@/lua/ge/extensions/editor/rallyEditor/notebookInfo.lua
    deleteCodriverPopupShow = false
    im.OpenPopup("Delete Codriver")
  end
@/lua/ge/extensions/editor/missionEditor/genericTypeData.lua
function C:openPopup()
  im.OpenPopup("missionFGVariables")
end
@/lua/ge/extensions/editor/mainToolbar.lua
  if editor.uiIconImageButton(editor.icons.simobject_timeofday, im.ImVec2(iconButtonWidth, iconButtonWidth), nil, nil, nil, nil) then
    im.OpenPopup("TODCamSlidersPopup")
  end
  if editor.uiIconImageButton(editor.icons.photo_camera, im.ImVec2(iconButtonWidth, iconButtonWidth), nil, nil, nil, nil) then
    im.OpenPopup("EditorIconsAndCameraPopup")
  end
    if editor.uiIconImageButton(icon, im.ImVec2(editor.getDefaultIconButtonSize().x, editor.getDefaultIconButtonSize().y), nil, nil, nil) then
      im.OpenPopup("EditModeSetsPopup")
    end
      modesManagerOpen[0] = false
      im.OpenPopup("CustomizeToolbarLayout")
    end
          if editor.uiIconImageButton(editor.icons.fast_forward, im.ImVec2(editor.getDefaultIconButtonSize().x/2.0, editor.getDefaultIconButtonSize().y), nil, nil, nil, nil) then
            im.OpenPopup("EditModePopup")
          end
@/lua/ge/extensions/editor/fileDialog.lua
              cbdata = {path=currentPath, action=action, filename=fname, filepath=currentPath..fname, filestat = "overwrite"}
              --im.OpenPopup("overwriting_popup")
            else
        ffi.copy(textinputNewFolder, "")
        im.OpenPopup("FileDialog_NewFolderPopup")
      end
          if string.match(ffi.string(textinputNewFolder), "^%s*$") then
            im.OpenPopup("Error##FileDialog_ErrorPopup")
            return
          if im.IsItemClicked(1) then
            im.OpenPopup("ColumnContextMenu")
          end
            cbdata = {path=currentPath, action=action, filename=fname, filepath=currentPath..fname, filestat = "overwrite"}
            --im.OpenPopup("overwriting_popup")
          else
@/lua/ge/extensions/editor/rallyEditor.lua
    if generateAllFreeformPopup then
      im.OpenPopup("Generate All Freeform##genAllFreeform")
      generateAllFreeformPopup = nil
@/lua/ge/extensions/editor/perfProfiler.lua
  if openRecordPopup then
    im.OpenPopup("NewRecording")
    openRecordPopup = nil
@/lua/ge/extensions/editor/rallyEditor/pacenotes/pacenoteForm.lua
  if showDeleteConfirmDialog then
    im.OpenPopup("Delete Pacenote?")
    showDeleteConfirmDialog = false
@/lua/ge/extensions/editor/assetBrowser.lua
    if im.IsItemHovered() and im.IsItemClicked(1) then
      im.OpenPopup("Popup_Filter_" .. item.label)
    end
    selectDirectory(dir, nil, nil, true)
    im.OpenPopup("Popup_" .. dir.path)
  end
      if var.newFolderModalOpen == true then
        im.OpenPopup("new_folder_popup")
        var.newFolderModalOpen = false
      var.newFolderParentDir = dir
      im.OpenPopup("Popup_" .. dir.path)
    end
    elseif im.IsItemClicked(1) then
      im.OpenPopup("Popup_" .. dir.path)
    end
    elseif im.IsItemClicked(1) then
      im.OpenPopup("Popup_" .. set.dir.path .. "_" .. set.name)
    end
    elseif im.IsItemClicked(1) then
      im.OpenPopup("Popup_" .. set.dir.path .. "_" .. set.name)
    end
    elseif im.IsItemClicked(1) then
      im.OpenPopup("ContextMenu_Material_" .. tostring(material.id))
    end
      elseif im.IsMouseClicked(1) then
        im.OpenPopup("Popup_" .. file.path .. "_" .. file.fullFileName)
      end
    elseif im.IsItemClicked(1) then
      im.OpenPopup("Popup_" .. file.path .. "_" .. file.fullFileName)
    end
      elseif im.IsMouseClicked(1) then
        im.OpenPopup("Popup_" .. file.path .. "_" .. file.fullFileName)
      end
  if im.IsItemClicked(1) and var.assetHovered == false then
    im.OpenPopup("Popup_" .. var.selectedDirectory.path)
  end
    ) then
      im.OpenPopup("childrenDirectoryPopup_" .. dir.path)
    end
  if open_popup == true then
    im.OpenPopup("SaveFilterDropdown")
  end
  if open_popup == true then
    im.OpenPopup("FilterByTypeDropdown")
  end
  if open_popup_rmb == true then
    im.OpenPopup("FilterByTypeDropdown_rmb")
  end
@/lua/ge/extensions/editor/util/editorElementHelper.lua
  if im.Button("...##..." .. e._id) then
    im.OpenPopup("Editor Helper File Context Menu " .. e._id)
  end
@/lua/ge/extensions/editor/missionEditor/additionalAttributes.lua
function C:openTimeUpdater()
  im.OpenPopup("timeUpdaterForMissions")
end
@/lua/ge/extensions/editor/sceneView.lua
      if im.IsItemClicked(1) then
        im.OpenPopup('viewcontrol' .. tostring(sceneViewName))
      end
@/lua/ge/extensions/editor/trafficSignalsEditor.lua
    if windowFlags.clear then
      im.OpenPopup("Confirm##trafficSignals")
      windowFlags.clear = nil
@/lua/ge/extensions/editor/dynamicDecals/layerStack.lua
    if im.IsItemClicked(1) then
      im.OpenPopup(layerMaskContextMenuPopupName)
    end
    if im.IsItemClicked(1) then
      im.OpenPopup(layerMaskContextMenuPopupName)
    end
    if im.IsItemClicked(1) then
      im.OpenPopup(layerMaskContextMenuPopupName)
    end
  if im.Button("Clear Layer Stack") then
    im.OpenPopup("ClearLayerStackPopup")
  end
@/lua/ge/extensions/flowgraph/manager.lua
        ui_flowgraph_editor.Suspend()
        im.OpenPopup("BackgroundContextMenu")
        ui_flowgraph_editor.Resume()
@/lua/ge/extensions/editor/sceneTree.lua
    if imgui.IsMouseReleased(1) then
      imgui.OpenPopup("##sceneItemPopupMenu"..node.id)
    end
@/lua/ge/extensions/editor/flowgraph/properties.lua
    if editor.uiIconImageButton(editor.icons[item.customIcon or item.icon or "add"], im.ImVec2(22, 22)) then
      im.OpenPopup("FGIconSelector")
    end
          if not self._openedPopup then
            im.OpenPopup("fgmultiline")
            self._openedPopup = true
@/lua/ge/extensions/gameplay/missions/missionTypes/editorHelper.lua
    --print("Editor Helper File Context Menu " .. e._id)
    im.OpenPopup("Editor Helper File Context Menu " .. e._id)
  end
@/lua/ge/extensions/editor/missionEditor.lua
      if variableClicked then missionTypeWindow:openPopup() end
      if translationClicked then im.OpenPopup("missionTranslationHelper") end
      if timeUpdaterClicked then additionalAttributes:openTimeUpdater() end
      if openNewMissionPopup then
        im.OpenPopup("NewMission")
        openNewMissionPopup = nil
    if editor.uiIconImageButton(editor.icons.ab_filter_default, im.ImVec2(21,21), next(groupFilterText) and im.ImVec4(0,1,0,1)) then
      im.OpenPopup("MissionEditorGroupFilter")
      --grouping.mode = "type"
@/lua/ge/extensions/editor/resourceChecker.lua
                  if im.IsItemHovered() and im.IsMouseClicked(1) then
                    im.OpenPopup("Popup_"..l..count)
                  end
                    if im.IsItemHovered() and im.IsMouseClicked(1) then
                      im.OpenPopup("Popup_"..l..count)
                    end
                                    if im.IsMouseClicked(1) then
                                      im.OpenPopup("Popup_"..l..count)
                                    end
                                if im.IsItemHovered() and im.IsMouseClicked(1) then
                                  im.OpenPopup("Popup_"..l..count)
                                end
                            if im.IsItemHovered() and im.IsMouseClicked(1) then
                              im.OpenPopup("Popup_"..l..count)
                            end
                        if im.IsItemHovered() and im.IsMouseClicked(1) then
                          im.OpenPopup("Popup_"..l..count)
                        end
                      if im.IsItemHovered() and im.IsMouseClicked(1) then
                        im.OpenPopup("Popup_"..l..count)
                      end
                  if im.IsItemHovered() and im.IsMouseClicked(1) then
                    im.OpenPopup("Popup_"..l..count)
                  end
                if im.IsItemHovered() and im.IsMouseClicked(1) then
                  im.OpenPopup("Popup_"..l..count)
                end
        btnpress = 3
        im.OpenPopup("Progress")
        resExplorer = resourceUtil.removeUnused(level, unusType, selected)
                if im.IsItemHovered() and im.IsMouseClicked(1) then
                  im.OpenPopup("Popup_" .. i..count)
                end
                      if im.IsItemHovered() and im.IsMouseClicked(1) then
                        im.OpenPopup("Popup_" .. d..count)
                      end
                              if path then
                                im.OpenPopup("Popup_" .. path..count)
                              end
          local matName = tostring(v):match("^(%S+)%s+(.+)")
          im.OpenPopup("Popup_" .. matName..count)
        elseif testName == "duplicates" then
        elseif testName == "duplicates" then
          im.OpenPopup("Popup_" .. v..count)
        else
        else
          im.OpenPopup("Popup_" .. path..count)
        end
      if im.Button("Remove selected files ("..cnt..")", im.ImVec2(buttonWidth,0)) then
        im.OpenPopup("Remove only selected files")
      end
    if im.Button("Remove all unused files", im.ImVec2(buttonWidth,0)) then
      im.OpenPopup("Remove all unused files")
    end
    if im.Button("Scan Assets", im.ImVec2(140* im.uiscale[0],0)) then
      im.OpenPopup("Progress")
      resExplorer = nil
    if im.Button("Check materials version", im.ImVec2(152* im.uiscale[0],0)) then
      im.OpenPopup("Progress")
      convertdata = matdata
    if im.Button("Verify duplicates", im.ImVec2(120* im.uiscale[0],0)) then
      im.OpenPopup("Progress")
      convertdata = matdata
    if im.Button("Remove pid", im.ImVec2(121* im.uiscale[0],0)) then
      im.OpenPopup("Progress")
      convertdata = matdata
        function(data)
          im.OpenPopup("Progress")
          convertdata = matdata
    if im.Button("Check texture map", im.ImVec2(131* im.uiscale[0],0)) then
      im.OpenPopup("Progress")
      convertdata = matdata
    if im.Button("Check texture files", im.ImVec2(131* im.uiscale[0],0)) then
      im.OpenPopup("Progress")
      convertdata = matdata
    if im.Button("Check missing mats", im.ImVec2(131* im.uiscale[0],0)) then
      im.OpenPopup("Progress")
      convertdata = matdata
      if im.Button("Remove dummy mats", im.ImVec2(140* im.uiscale[0],0)) then
        im.OpenPopup("Progress")
        convertdata = matdata
    if im.Button("Loaded TSStatics", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.checkStatic()
    if im.Button("Available ForestItems", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.checkForest()
    if im.Button("Loaded Terrains", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.checkTerrains()
    if im.Button("Used Materials", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.checkUsedMats(getlevel)
    if im.Button("Unused Materials", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.checkUnusedMats(getlevel)
    if im.Button("Unused Meshes", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.checkUnusedModels(getlevel)
    if im.Button("Unused Textures", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.unusedTextures(getlevel)
    if im.Button("Collision Data", im.ImVec2(buttonSize,0)) then
      im.OpenPopup("Progress")
      resExplorer = resourceUtil.checkColData(getlevel)
@/lua/ge/extensions/editor/vehicleEditor/liveEditor/veView.lua
  if im.IsItemClicked(1) then
    im.OpenPopup('viewcontrol' .. tostring(sceneViewName))
  end
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/decal.lua
    newBrushName = string.sub(fileName, 1, #fileName - (#fileExt + 1))
    im.OpenPopup("SaveBrushPopup")
  end
@/lua/common/extensions/ui/imguiUtils.lua
  if open_popup == true then
    imgui.OpenPopup(label)
    return true
  if open_popup == true then
    imgui.OpenPopup(label)
    return true
  if open_popup_rmb == true then
    imgui.OpenPopup(label.."rmb")
  end
  if open_popup == true then
    imgui.OpenPopup(label)
    return true
@/lua/ge/extensions/editor/dynamicDecals/layerTypes/linkedSet.lua
  -- if editor.uiIconImageButton(editor.icons.add, im.ImVec2(btnSize, btnSize), nil, nil, nil, string.format("PropertiesAddButton_%s_%s", guiId, layer.uid)) then
  --   im.OpenPopup(string.format("%s_%s_AddPropertyPopup", layer.uid, guiId))
  -- end
  if im.Button(string.format("Add##LinkedSet_%s_%s", guiId, layer.uid), im.ImVec2(im.GetContentRegionAvailWidth(), 0)) then
    im.OpenPopup(string.format("%s_%s_AddPropertyPopup", layer.uid, guiId))
  end
@/lua/ge/extensions/editor/visualization.lua
  if im.Button("Reset To Defaults") then
    im.OpenPopup("Reset To Defaults")
  end
@/lua/ge/extensions/editor/inspector.lua
      imgui.SetWindowSize2(groundCoverUVWindowName, imgui.ImVec2(800, 600))
      imgui.OpenPopup(groundCoverUVWindowName)
    else
@/lua/ge/extensions/editor/sensorConfigurationEditor.lua
        getPythonCode()
        im.OpenPopup("Python Code")
      end