mirror of
https://github.com/overte-org/overte.git
synced 2025-08-09 07:37:20 +02:00
coding standards
This commit is contained in:
parent
cb1855b0d7
commit
07739453c5
1 changed files with 3 additions and 3 deletions
|
@ -30,7 +30,7 @@ Rectangle {
|
||||||
jointsModel.clear();
|
jointsModel.clear();
|
||||||
for (var i = 0; i < jointNames.length; ++i) {
|
for (var i = 0; i < jointNames.length; ++i) {
|
||||||
var jointName = jointNames[i];
|
var jointName = jointNames[i];
|
||||||
if(jointName !== 'LeftHand' && jointName !== 'RightHand') {
|
if (jointName !== 'LeftHand' && jointName !== 'RightHand') {
|
||||||
jointsModel.append({'text' : jointName, 'jointIndex' : i});
|
jointsModel.append({'text' : jointName, 'jointIndex' : i});
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -287,8 +287,8 @@ Rectangle {
|
||||||
|
|
||||||
function set(jointIndex) {
|
function set(jointIndex) {
|
||||||
notify = false;
|
notify = false;
|
||||||
for(var i = 0; i < jointsModel.count; ++i) {
|
for (var i = 0; i < jointsModel.count; ++i) {
|
||||||
if(jointsModel.get(i).jointIndex === jointIndex) {
|
if (jointsModel.get(i).jointIndex === jointIndex) {
|
||||||
currentIndex = i;
|
currentIndex = i;
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue