mirror of
https://github.com/overte-org/overte.git
synced 2025-04-08 05:52:38 +02:00
less warning maybe ?
This commit is contained in:
parent
5db3eee4ad
commit
17f8e789fc
3 changed files with 8 additions and 7 deletions
|
@ -72,5 +72,5 @@ void RegionState::run(const workload::WorkloadContextPointer& renderContext, con
|
|||
}
|
||||
|
||||
auto config = std::static_pointer_cast<Config>(renderContext->jobConfig);
|
||||
config->setNum(0, _state[0].size(), _state[1].size(), _state[2].size());
|
||||
config->setNum(0, (uint32_t) _state[0].size(), (uint32_t) _state[1].size(), (uint32_t) _state[2].size());
|
||||
}
|
||||
|
|
|
@ -56,8 +56,8 @@ function getTileColor(a, b, c) {
|
|||
function addObject(a, b, c, lifetime) {
|
||||
var center = getStagePosOriAt(a, b, c).pos;
|
||||
var offset = (Math.abs(a) + (Math.abs(b) % 2)) % 2;
|
||||
var makePrim = (offset > 0 ? true : false) ;
|
||||
if (makePrim) {
|
||||
var makePrim = (offset == 0 ? true : false) ;
|
||||
if (makePrim == true) {
|
||||
return (Entities.addEntity({
|
||||
type: "Shape",
|
||||
shape: "Sphere",
|
||||
|
|
|
@ -179,7 +179,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
RowLayout {
|
||||
/*RowLayout {
|
||||
visible: Workload.getConfig("controlViews")["regulateViewRanges"]
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
|
@ -237,7 +237,7 @@ Rectangle {
|
|||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}*/
|
||||
property var controlViews: Workload.getConfig("controlViews")
|
||||
|
||||
PlotPerf {
|
||||
|
@ -294,6 +294,7 @@ Rectangle {
|
|||
text: "Test"
|
||||
}
|
||||
Row {
|
||||
spacing: 5
|
||||
anchors.left: parent.left
|
||||
anchors.right: parent.right
|
||||
HifiControls.Button {
|
||||
|
@ -310,13 +311,13 @@ Rectangle {
|
|||
_workload.broadcastClearScene()
|
||||
}
|
||||
}
|
||||
HifiControls.Button {
|
||||
/*HifiControls.Button {
|
||||
text: "bump floor"
|
||||
onClicked: {
|
||||
print("pressed")
|
||||
_workload.broadcastBumpUpFloor()
|
||||
}
|
||||
}
|
||||
}*/
|
||||
}
|
||||
HifiControls.Label {
|
||||
id: gridSizeLabel
|
||||
|
|
Loading…
Reference in a new issue