GE Lua Documentation

Press F to search!

ClearSelection

Definition


-- @/=[C]:-1
function ClearSelection(...)

Callers

@/lua/ge/extensions/flowgraph/pin.lua
  if im.IsItemClicked() then
    ui_flowgraph_editor.ClearSelection()
    ui_flowgraph_editor.SelectNode(self.node.id, true)
@/lua/ge/extensions/flowgraph/manager.lua
  --[[
  ui_flowgraph_editor.ClearSelection()
  if self.graph then
  ui_flowgraph_editor.SetCurrentEditor(self.fgEditor.ectx)
  ui_flowgraph_editor.ClearSelection()
  local copiedNodesTblSize = tableSize(self.copyData.nodes)
@/lua/ge/extensions/editor/flowgraph/main.lua
    if not self.mgr.selectedNodes[ui_flowgraph_editor.PtrToId(self.contextNodeId)] then
      ui_flowgraph_editor.ClearSelection()
      ui_flowgraph_editor.SelectNode(self.contextNodeId[0], true)
    if not self.mgr.selectedLinks[ui_flowgraph_editor.PtrToId(self.contextLinkId)] then
      ui_flowgraph_editor.ClearSelection()
      ui_flowgraph_editor.SelectLink(self.contextLinkId[0], true)