-
Notifications
You must be signed in to change notification settings - Fork 1
fix(mocap): retarget live body drive via landmark directions #939
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: master
Are you sure you want to change the base?
Changes from all commits
8d707b6
7d452d4
c3267bb
f10e91e
a21a840
bb65a47
545b89c
c217684
a4903c7
57a44db
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
|
|
@@ -11,6 +11,8 @@ Column { | |
| property bool sectionVisible: true | ||
| default property alias content: contentLoader.sourceComponent | ||
|
|
||
| signal contentReady() | ||
|
|
||
| visible: sectionVisible | ||
| width: parent ? parent.width : 200 | ||
|
|
||
|
|
@@ -58,7 +60,25 @@ Column { | |
| Loader { | ||
| id: contentLoader | ||
| width: parent.width | ||
| active: root.expanded | ||
| // Defer activation to the next event-loop turn. Synchronous Loader | ||
| // startup while a parent component is still finalizing (e.g. expanding | ||
| // a section during a binding cascade) can SIGSEGV — see PropertiesPanel | ||
| // Component.onCompleted comment. | ||
| active: loadActive | ||
| visible: root.expanded | ||
| property bool loadActive: false | ||
| onLoaded: root.contentReady() | ||
| } | ||
|
|
||
| onExpandedChanged: { | ||
| if (root.expanded) | ||
| Qt.callLater(function() { contentLoader.loadActive = true }) | ||
| else | ||
| contentLoader.loadActive = false | ||
| } | ||
|
|
||
| Component.onCompleted: { | ||
| if (root.expanded) | ||
| Qt.callLater(function() { contentLoader.loadActive = true }) | ||
| } | ||
|
Comment on lines
+73
to
83
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. 🎯 Functional Correctness | 🟠 Major | ⚡ Quick win Guard the deferred activation against a state change during the pending callback.
If Recheck 🐛 Proposed fix to recheck expanded state in the deferred callback onExpandedChanged: {
if (root.expanded)
- Qt.callLater(function() { contentLoader.loadActive = true })
+ Qt.callLater(function() { if (root.expanded) contentLoader.loadActive = true })
else
contentLoader.loadActive = false
}🤖 Prompt for AI Agents |
||
| } | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
🎯 Functional Correctness | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
Repository: fernandotonon/QtMeshEditor
Length of output: 6882
🏁 Script executed:
Repository: fernandotonon/QtMeshEditor
Length of output: 5539
🏁 Script executed:
Repository: fernandotonon/QtMeshEditor
Length of output: 5198
Clear the GPU flag when the selected archive is CPU-only.
Linux ARM can pick
onnxruntime-linux-aarch64-*.tgzwhileQTMESH_ONNX_GPU=ONremains cached, reports GPU, and definesQTMESH_ONNX_GPU_BUILD. ForceQTMESH_ONNX_GPUOFF before exporting/caching the selected CPU-only archive for unsupported platforms.🤖 Prompt for AI Agents