IsItemDeactivatedAfterEdit
Definition
-- @/=[C]:-1
function IsItemDeactivatedAfterEdit(...)
Callers
@/lua/ge/extensions/editor/roadSpline.lua
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Width", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Position", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Tex Length", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Render Priority", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Fade In", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Fade Out", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Paint Margin", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Paint Material", { old = sliderPreEditState, new = groupMgr.deepCopyGroup(selGroup) }, groupMgr.singleGroupEditUndo, groupMgr.singleGroupEditRedo, true)
@/lua/ge/extensions/editor/assemblySpline.lua
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Spacing", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Vertical Offset", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Sag", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Pitch Jitter", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Yaw Jitter", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Roll Jitter", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Spline Random Seed", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Base Weight", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Variation Weight", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Bridge Base Weight", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Bridge Variation Weight", { old = sliderPreEditState, new = splineMgr.deepCopyAssemblySpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
@/lua/ge/extensions/util/groundModelDebug.lua
end
if im.IsItemDeactivatedAfterEdit() then
distance[0] = clamp(distance[0], 0, 60)
end
if im.IsItemDeactivatedAfterEdit() then
tileSize[0] = clamp(tileSize[0], 0.5, 1)
end
if im.IsItemDeactivatedAfterEdit() then
depthScale[0] = clamp(depthScale[0], 0.1, 10)
@/lua/ge/extensions/editor/api/gui.lua
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if bit.band(extra_flags, imgui.InputTextFlags_EnterReturnsTrue) ~= 0 then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit() or res
else
else
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if bit.band(extra_flags, imgui.InputTextFlags_EnterReturnsTrue) ~= 0 then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit() or res
else
else
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
editor.uiColorPicker4(label, col.clr, flags, nil, editEnded)
if editEnded then editEnded[0] = editEnded[0] or imgui.IsItemDeactivatedAfterEdit() end
uiSliderFloat(label..'##clrMetallic', col.pbr[1], 0, 1, "Metallic: %0.3f", nil)
if editEnded then editEnded[0] = editEnded[0] or imgui.IsItemDeactivatedAfterEdit() end
uiSliderFloat(label..'##clrRoughness', col.pbr[2], 0, 1, "Roughness: %0.3f", nil)
uiSliderFloat(label..'##clrRoughness', col.pbr[2], 0, 1, "Roughness: %0.3f", nil)
if editEnded then editEnded[0] = editEnded[0] or imgui.IsItemDeactivatedAfterEdit() end
uiSliderFloat(label..'##clrClearcoat', col.pbr[3], 0, 1, "Clearcoat: %0.3f", nil)
uiSliderFloat(label..'##clrClearcoat', col.pbr[3], 0, 1, "Clearcoat: %0.3f", nil)
if editEnded then editEnded[0] = editEnded[0] or imgui.IsItemDeactivatedAfterEdit() end
uiSliderFloat(label..'##clrClearcoatRoughness', col.pbr[4], 0, 1, "Clearcoat Roughness: %0.3f", nil)
uiSliderFloat(label..'##clrClearcoatRoughness', col.pbr[4], 0, 1, "Clearcoat Roughness: %0.3f", nil)
if editEnded then editEnded[0] = editEnded[0] or imgui.IsItemDeactivatedAfterEdit() end
imgui.EndPopup()
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded and editEnded[0] ~= true then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded and editEnded[0] ~= true then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded and editEnded[0] ~= true then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
if editEnded and editEnded[0] ~= true then
editEnded[0] = imgui.IsItemDeactivatedAfterEdit()
end
@/lua/ge/extensions/editor/rallyEditor/drivelineTab.lua
-- Regenerate spline when user releases the slider
if im.IsItemDeactivatedAfterEdit() then
self.drivelineV3:convertDrivelineToSpline()
@/lua/ge/extensions/flowgraph/nodes/macro/integrated.lua
if im.IsItemDeactivatedAfterEdit() then
reason = "Changed color of Integrated Node."
@/lua/ge/extensions/editor/drivePathEditor.lua
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Delay Time", { old = sliderPreEditState, new = splineMgr.deepCopyDrivePathSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Starting Node", { old = sliderPreEditState, new = splineMgr.deepCopyDrivePathSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Route Speed", { old = sliderPreEditState, new = splineMgr.deepCopyDrivePathSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Aggression", { old = sliderPreEditState, new = splineMgr.deepCopyDrivePathSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Num Laps", { old = sliderPreEditState, new = splineMgr.deepCopyDrivePathSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
@/lua/ge/extensions/editor/masterSpline.lua
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Auto Banking Strength", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Auto Banking Falloff", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Position", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust DOI", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Terraform Margin", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Terraform Falloff", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Terraform Roughness", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Terraform Scale", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Base Width", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Slope Avoidance", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Added Width Blend", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Banking Strength", { old = sliderPreEditState, new = splineMgr.deepCopyMasterSpline(selSpline) }, splineMgr.lightSplineUndo, splineMgr.lightSplineRedo, true)
@/lua/common/extensions/ui/imgui_gen_luaintf.lua
function M.IsItemDeactivated() return imgui.IsItemDeactivated() end
function M.IsItemDeactivatedAfterEdit() return imgui.IsItemDeactivatedAfterEdit() end
function M.IsItemToggledOpen() return imgui.IsItemToggledOpen() end
function M.IsItemDeactivated() return imgui.IsItemDeactivated() end
function M.IsItemDeactivatedAfterEdit() return imgui.IsItemDeactivatedAfterEdit() end
function M.IsItemToggledOpen() return imgui.IsItemToggledOpen() end
@/lua/ge/extensions/editor/meshSpline.lua
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Spacing", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Vertical Offset", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Pitch Jitter", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Yaw Jitter", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Roll Jitter", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Spline Random Seed", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Main Weight", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Alias 1 Weight", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Alias 2 Weight", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Alias 3 Weight", { old = sliderPreEditState, new = splineMgr.deepCopyMeshSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
@/lua/ge/extensions/flowgraph/nodes/debug/comment.lua
im.SliderFloat('##Alpha',self.alpha,0,1)
if im.IsItemDeactivatedAfterEdit() then
reason = "Changed alpha of comment."
if im.ColorEdit4("##BgClr",self.backgroundColor) then self:refreshColors() end
if im.IsItemDeactivatedAfterEdit() then
reason = "Changed background color of comment."
if im.ColorEdit4("##BorderClr",self.borderColor) then self:refreshColors() end
if im.IsItemDeactivatedAfterEdit() then
reason = "Changed border color of comment."
if im.ColorEdit4("##TextClr",self.textColor) then self:refreshColors() end
if im.IsItemDeactivatedAfterEdit() then
reason = "Changed text color of comment."
@/lua/ge/extensions/editor/decalSpline.lua
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Spacing", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Pitch Jitter", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Random Seed", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Component 1 Weight", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Component 2 Weight", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Component 3 Weight", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Component 4 Weight", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Rows", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Columns", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Frame", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Scale", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Rows", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Columns", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Frame", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Scale", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Rows", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Columns", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Frame", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Scale", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Rows", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Number of Columns", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Frame", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Decal Scale", { old = sliderPreEditState, new = splineMgr.deepCopyDecalSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
@/lua/ge/extensions/editor/sidewalkSpline.lua
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Vertical Offset", { old = sliderPreEditState, new = splineMgr.deepCopySidewalkSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Jitter", { old = sliderPreEditState, new = splineMgr.deepCopySidewalkSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Alignment Priority", { old = sliderPreEditState, new = splineMgr.deepCopySidewalkSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
editor.history:commitAction("Adjust Random Seed", { old = sliderPreEditState, new = splineMgr.deepCopySidewalkSpline(selSpline) }, splineMgr.singleSplineEditUndo, splineMgr.singleSplineEditRedo, true)
end
if im.IsItemDeactivatedAfterEdit() then
selSpline.distributionGroups = kit.buildDistributionGroups(selSpline)
end
if im.IsItemDeactivatedAfterEdit() then
selSpline.distributionGroups = kit.buildDistributionGroups(selSpline)
@/lua/ge/extensions/editor/dynamicDecals/widgets.lua
end
ended = ended or im.IsItemDeactivatedAfterEdit()
end
ended = ended or im.IsItemDeactivatedAfterEdit()
im.PopItemWidth()
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
im.PopItemWidth()
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
if editor.getPreference("dynamicDecalsTool.general.debug") then
end
ended = ended or im.IsItemDeactivatedAfterEdit()
im.PopItemWidth()
end
ended = ended or im.IsItemDeactivatedAfterEdit()
im.PopItemWidth()
end
ended = ended or im.IsItemDeactivatedAfterEdit()
end
ended = ended or im.IsItemDeactivatedAfterEdit()
im.PopItemWidth()