Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Q
qt3dstudio
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
1
Issues
1
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
public-demos
qt3dstudio
Commits
248a4660
Commit
248a4660
authored
Apr 27, 2018
by
Tomi Korpipää
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Remove mac hack from kria
QML Streamer had a bug that has been fixed. No hacks for mac needed anymore.
parent
176a0e08
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
9 deletions
+5
-9
kria-cluster-3d-demo/qml/main.qml
kria-cluster-3d-demo/qml/main.qml
+5
-9
No files found.
kria-cluster-3d-demo/qml/main.qml
View file @
248a4660
...
...
@@ -148,14 +148,12 @@ Item {
qmlStreams
:
[
QmlStream
{
presentationId
:
"
navigationStream
"
// Load at start and set active & visible. Otherwise causes problems
// with macOS.
Loader
{
id
:
contentStream
active
:
tru
e
visible
:
tru
e
source
:
"
qrc:/Navigation.qml
"
asynchronous
:
fals
e
active
:
fals
e
visible
:
activ
e
source
:
""
asynchronous
:
tru
e
}
}
]
...
...
@@ -169,8 +167,6 @@ Item {
// Hack. We need to draw something in QML in each frame to minimize the jamming of
// Studio3D content.
/*
// This seems to mess up QML streaming for macOS. Enable if target device jams a lot.
property
bool
direction
:
false
onFrameUpdate
:
{
direction
=
!
direction
;
...
...
@@ -179,7 +175,7 @@ Item {
else
studio3D
.
x
-=
0.1
;
}
*/
}
OverlayContainer
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment