mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 01:03:57 +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();
|
||||
for (var i = 0; i < jointNames.length; ++i) {
|
||||
var jointName = jointNames[i];
|
||||
if(jointName !== 'LeftHand' && jointName !== 'RightHand') {
|
||||
if (jointName !== 'LeftHand' && jointName !== 'RightHand') {
|
||||
jointsModel.append({'text' : jointName, 'jointIndex' : i});
|
||||
}
|
||||
}
|
||||
|
@ -287,8 +287,8 @@ Rectangle {
|
|||
|
||||
function set(jointIndex) {
|
||||
notify = false;
|
||||
for(var i = 0; i < jointsModel.count; ++i) {
|
||||
if(jointsModel.get(i).jointIndex === jointIndex) {
|
||||
for (var i = 0; i < jointsModel.count; ++i) {
|
||||
if (jointsModel.get(i).jointIndex === jointIndex) {
|
||||
currentIndex = i;
|
||||
break;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue