From 1e06ad091ad5924b552f4040f0a9eadada18bf2f Mon Sep 17 00:00:00 2001 From: Kirill Vainer Date: Sun, 27 Nov 2016 14:37:52 -0500 Subject: [PATCH] upload_native: final check --- jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp | 2 +- private/upload_native.sh | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp b/jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp index 8561d1fd2..27fde5bfe 100644 --- a/jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp +++ b/jme3-bullet-native/src/native/cpp/jmePhysicsSpace.cpp @@ -100,7 +100,7 @@ void jmePhysicsSpace::createPhysicsSpace(jfloat minX, jfloat minY, jfloat minZ, dynamicsWorld->setWorldUserInfo(this); broadphase->getOverlappingPairCache()->setInternalGhostPairCallback(new btGhostPairCallback()); - dynamicsWorld->setGravity(btVector3(0, -9.85f, 0)); + dynamicsWorld->setGravity(btVector3(0, -9.81f, 0)); struct jmeFilterCallback : public btOverlapFilterCallback { // return true when pairs need collision diff --git a/private/upload_native.sh b/private/upload_native.sh index d31a5e5f0..051c495b1 100755 --- a/private/upload_native.sh +++ b/private/upload_native.sh @@ -7,7 +7,6 @@ if [ "$NATIVE_CHANGES" != "" ]; then ./gradlew -PbuildNativeProjects=true :jme3-bullet-native:assemble openssl aes-256-cbc -K $encrypted_f0a0b284e2e8_key -iv $encrypted_f0a0b284e2e8_iv -in private/key.enc -out "$HOME/.ssh/id_rsa" -d chmod 600 "$HOME/.ssh/id_rsa" - md5sum jme3-bullet-native/build/libs/bulletjme/shared/linux32/libbulletjme.so jme3-bullet-native/libs/native/linux/x86/libbulletjme.so git checkout "$TRAVIS_BRANCH" git add -v -- jme3-bullet-native/libs/native/ git commit -v -m "[ci skip] bullet: update $TRAVIS_OS_NAME natives"