Skip to content

Commit 19f2539

Browse files
committed
Merge branch 'dependabot/update-rtx-remix-target-deps' into 'main'
[dependabot] bump rtx-remix dependencies See merge request lightspeedrtx/lightspeed-kit!1053
2 parents 585e5e2 + 78f71b7 commit 19f2539

30 files changed

+89
-203
lines changed

CHANGELOG.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

88
## [Unreleased]
9-
- Cleanup Github runners before packaging Toolkit
109

1110
### Added
1211
- Created 1.2.4 build
@@ -51,6 +50,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
5150
- REMIX-4715, REMIX-4826: Improved Edit Graph dialog with tree-based selection UI and disabled compound graphs
5251
- REMIX-4818: FilePicker now supports automatic conversion to relative paths for USD edit target compliance
5352
- REMIX-4816: Improved logic graph properties panel UI with icon buttons and clearer dialog messages
53+
- Update hdremix and omni_core_materials to ext-83e59c6-main
5454

5555
### Fixed
5656
- Improved Pyright configuration by generating a list of search paths
@@ -63,6 +63,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6363
- Improved a few UX issues with the Logic Properties pane
6464
- REMIX-4766: Added input validation to ensure a valid graph prim name is provided for new graphs
6565
- REMIX-4804: Fixed Remix Logic Graph Creation Logic Inconstancy Across Editor, Property Panel, and Right Click Menus
66+
- Cleanup Github runners before packaging Toolkit
6667

6768
### Removed
6869
- Removed Waypoint support based on deprecated kit sample waypoint extension

deps/target-deps.packman.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
<package name="remix-models-i2m-artifacts" version="1.1.0" />
1010
</dependency>
1111
<dependency name="rtx-remix-hdremix" linkPath="../_build/target-deps/hdremix">
12-
<package name="rtx-remix-hdremix" version="ext-a9cbe4d-main" />
12+
<package name="rtx-remix-hdremix" version="ext-83e59c6-main" />
1313
</dependency>
1414
<dependency name="rtx-remix-lookdev-lighting" linkPath="../_build/target-deps/content/rtx-remix-lookdev-lighting">
1515
<package name="rtx-remix-lookdev-lighting" version="2023.1.0" />
@@ -18,7 +18,7 @@
1818
<package name="rtx-remix-lookdev-modeling" version="2023.0.0" />
1919
</dependency>
2020
<dependency name="rtx-remix-omni_core_materials" linkPath="../_build/target-deps/omni_core_materials">
21-
<package name="rtx-remix-omni_core_materials" version="ext-a9cbe4d-main" />
21+
<package name="rtx-remix-omni_core_materials" version="ext-83e59c6-main" />
2222
</dependency>
2323
<dependency name="rtx-remix-remix_runtime" linkPath="../_build/${platform}/${config}/deps/remix_runtime">
2424
<package name="rtx-remix-remix_runtime" version="remix-1.2.4" />

source/extensions/lightspeed.trex.logic.ogn/config/extension.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
# Main extension description values
22
[package]
33
# The current extension version number - uses [Semantic Versioning](https://semver.org/spec/v2.0.0.html)
4-
version = "0.0.2"
4+
version = "0.0.3"
55
# The title of the extension that will appear in the extension window
66
title = "Remix OmniGraph Python Nodes"
77
# Longer description of the extension

source/extensions/lightspeed.trex.logic.ogn/docs/CHANGELOG.md

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,10 +6,14 @@ This document records all notable changes to the **lightspeed.trex.logic.ogn** e
66

77
The format is based on [Keep a Changelog](https://keepachangelog.com). The project adheres to [Semantic Versioning](https://semver.org).
88

9-
## [0.0.1]
10-
### Initial Version
11-
- Created based on omni.graph.template.python-1.40.0
9+
## [0.0.3]
10+
### Changed
11+
- Update node schema to match omni_core_materials ext-83e59c6-main
1212

1313
## [0.0.2]
1414
### Changed
1515
- Updated node schema to match current runtime.
16+
17+
## [0.0.1]
18+
### Initial Version
19+
- Created based on omni.graph.template.python-1.40.0

source/extensions/lightspeed.trex.logic.ogn/python/nodes/ConditionallyStore.ogn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,14 +15,14 @@
1515
},
1616
"input": {
1717
"description": ["The value to store when store is true."],
18-
"type": ["bool", "float", "float[2]", "float[3]", "float[4]", "target", "token", "uint"],
18+
"type": "any",
1919
"uiName": "Input"
2020
}
2121
},
2222
"outputs": {
2323
"output": {
2424
"description": ["The currently stored value."],
25-
"type": ["bool", "float", "float[2]", "float[3]", "float[4]", "target", "token", "uint"],
25+
"type": "any",
2626
"uiName": "Output"
2727
}
2828
}

source/extensions/lightspeed.trex.logic.ogn/python/nodes/ConditionallyStore.py

Lines changed: 9 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -24,41 +24,28 @@ def on_connection_type_resolve(node) -> None:
2424
# Combination 3: input=float[2], output=float[2], store=bool, storedValue=float[2]
2525
# Combination 4: input=float[3], output=float[3], store=bool, storedValue=float[3]
2626
# Combination 5: input=float[4], output=float[4], store=bool, storedValue=float[4]
27-
# Combination 6: input=uint, output=uint, store=bool, storedValue=uint
28-
# Combination 7: input=token, output=token, store=bool, storedValue=token
29-
# Combination 8: input=target, output=target, store=bool, storedValue=target
27+
# Combination 6: input=token, output=token, store=bool, storedValue=token
28+
# Combination 7: input=target, output=target, store=bool, storedValue=target
3029

3130
# Get attributes
3231
input_input = node.get_attribute("inputs:input")
33-
input_storedValue = node.get_attribute("inputs:storedValue")
3432
output_output = node.get_attribute("outputs:output")
3533

3634
# Get current types of connected attributes
3735
type_input = input_input.get_resolved_type()
38-
type_storedValue = input_storedValue.get_resolved_type()
3936

4037
# Check all valid type combinations and resolve output types
41-
if (type_input == og.Type(og.BaseDataType.BOOL) and
42-
type_storedValue == og.Type(og.BaseDataType.BOOL)):
38+
if (type_input == og.Type(og.BaseDataType.BOOL)):
4339
output_output.set_resolved_type(og.Type(og.BaseDataType.BOOL))
44-
elif (type_input == og.Type(og.BaseDataType.FLOAT) and
45-
type_storedValue == og.Type(og.BaseDataType.FLOAT)):
40+
elif (type_input == og.Type(og.BaseDataType.FLOAT)):
4641
output_output.set_resolved_type(og.Type(og.BaseDataType.FLOAT))
47-
elif (type_input == og.Type(og.BaseDataType.FLOAT, 2) and
48-
type_storedValue == og.Type(og.BaseDataType.FLOAT, 2)):
42+
elif (type_input == og.Type(og.BaseDataType.FLOAT, 2)):
4943
output_output.set_resolved_type(og.Type(og.BaseDataType.FLOAT, 2))
50-
elif (type_input == og.Type(og.BaseDataType.FLOAT, 3) and
51-
type_storedValue == og.Type(og.BaseDataType.FLOAT, 3)):
44+
elif (type_input == og.Type(og.BaseDataType.FLOAT, 3)):
5245
output_output.set_resolved_type(og.Type(og.BaseDataType.FLOAT, 3))
53-
elif (type_input == og.Type(og.BaseDataType.FLOAT, 4) and
54-
type_storedValue == og.Type(og.BaseDataType.FLOAT, 4)):
46+
elif (type_input == og.Type(og.BaseDataType.FLOAT, 4)):
5547
output_output.set_resolved_type(og.Type(og.BaseDataType.FLOAT, 4))
56-
elif (type_input == og.Type(og.BaseDataType.UINT) and
57-
type_storedValue == og.Type(og.BaseDataType.UINT)):
58-
output_output.set_resolved_type(og.Type(og.BaseDataType.UINT))
59-
elif (type_input == og.Type(og.BaseDataType.TOKEN) and
60-
type_storedValue == og.Type(og.BaseDataType.TOKEN)):
48+
elif (type_input == og.Type(og.BaseDataType.TOKEN)):
6149
output_output.set_resolved_type(og.Type(og.BaseDataType.TOKEN))
62-
elif (type_input == og.Type(og.BaseDataType.RELATIONSHIP) and
63-
type_storedValue == og.Type(og.BaseDataType.RELATIONSHIP)):
50+
elif (type_input == og.Type(og.BaseDataType.RELATIONSHIP)):
6451
output_output.set_resolved_type(og.Type(og.BaseDataType.RELATIONSHIP))

source/extensions/lightspeed.trex.logic.ogn/python/nodes/ConstFloat.ogn

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"lightspeed.trex.logic.ConstFloat": {
33
"description": ["Provides a constant decimal number that you can set.\n\nUse this to provide fixed values like 0.5, 3.14, or 100.0 to other components."],
44
"version": 1,
5-
"uiName": "Constant Float",
5+
"uiName": "Constant Number",
66
"language": "python",
77
"categoryDefinitions": "config/CategoryDefinition.json",
88
"categories": "Constants",

source/extensions/lightspeed.trex.logic.ogn/python/nodes/CountToggles.ogn

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,10 +22,10 @@
2222
},
2323
"outputs": {
2424
"count": {
25-
"description": ["The current count value as a float."],
25+
"description": ["The current count value."],
2626
"type": "float",
2727
"default": 0.000000,
28-
"uiName": "Count as Float"
28+
"uiName": "Count"
2929
}
3030
}
3131
}

source/extensions/lightspeed.trex.logic.ogn/python/nodes/Counter.ogn

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lightspeed.trex.logic.Counter": {
3-
"description": ["Counts up by a value every frame when a condition is true.\n\nIncrements a counter by a specified value every frame that the input bool is true. Useful for tracking how many frames a condition has been active."],
3+
"description": ["Counts up by a value every frame when a condition is true.\n\nIncrements a counter by a specified value every frame that the input bool is true. Use `Starting Value` to set the initial counter value. Useful for tracking how many frames a condition has been active."],
44
"version": 1,
55
"uiName": "Counter",
66
"language": "python",
@@ -19,6 +19,12 @@
1919
"default": 1.000000,
2020
"optional": true,
2121
"uiName": "Increment Value"
22+
},
23+
"defaultValue": {
24+
"description": ["The initial value of the counter when the component is created."],
25+
"type": "float",
26+
"default": 0.000000,
27+
"uiName": "Starting Value"
2228
}
2329
},
2430
"outputs": {

source/extensions/lightspeed.trex.logic.ogn/python/nodes/Counter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,4 @@ def compute(_db: CounterDatabase):
1919
def on_connection_type_resolve(node) -> None:
2020
"""Resolve flexible types based on connected attribute types."""
2121
# Valid type combinations for this component:
22-
# Combination 1: count=float, increment=bool, incrementValue=float, value=float
22+
# Combination 1: count=float, defaultValue=float, increment=bool, incrementValue=float, value=float

0 commit comments

Comments
 (0)