Geosphere UV fix

If this are the the 'real' sphere texture coordinates then SWEET!  :lol:

BUT i get "Parsing of patch failed: String index out of range: -1" error upon trying to apply it :frowning:

(Using NetBeans…)

There are two patches in the code block above. One for the fix and one for the test class. I bet you need to separate them before applying.

It is.

Works for me.  I'm on a mac, but executed

"patch -p1 < ~/geouvfix.diff.txt"

and it worked.  Not sure how to do it in an IDE though

Has this been applied?

Nope, I don't believe it has; want me to do it?  (I got my finger on the trigger already :))


I can't apply it :confused:

Even from the command line w/ the supplied command results in:

Macintosh-2:~ Josh$ patch -p1 < ~/geoUV.diff.rtf
can't find file to patch at input line 11
Perhaps you used the wrong -p or --strip option?
The text leading up to this was:
|{fonttblf0fswissfcharset0 Helvetica;}
|f0fs24 cf0 diff --git a/src/com/jme/scene/shape/ b/src/com/jme/scene/shape/
|index f1817e8..14511fe 100755
|--- a/src/com/jme/scene/shape/
|+++ b/src/com/jme/scene/shape/
File to patch: /Volumes/Storage/documents/Programs/_jME2.0/trunk/src/com/jme/scene/shape/
patching file /Volumes/Storage/documents/Programs/_jME2.0/trunk/src/com/jme/scene/shape/
Hunk #1 FAILED at 8.
Hunk #2 FAILED at 22.
Hunk #3 FAILED at 57.
Hunk #4 FAILED at 85.
Hunk #5 FAILED at 97.
Hunk #6 FAILED at 116.
Hunk #7 FAILED at 160.
Hunk #8 FAILED at 182.
Hunk #9 FAILED at 199.
Hunk #10 FAILED at 213.
Hunk #11 FAILED at 287.
Hunk #12 FAILED at 325.
Hunk #13 FAILED at 362.
13 out of 13 hunks FAILED -- saving rejects to file /Volumes/Storage/documents/Programs/_jME2.0/trunk/src/com/jme/scene/shape/
patching file 'dev/null'
patch: **** malformed patch at line 305: *

Macintosh-2:~ Josh$

(The red text is where I supplied the correct path, so thats not it...)
If cep_21 is around in the next couple of days I guess I will apply it by hand  :roll:

The second patch is just the addition of a test (nice touch) and should be really easy to parse.

sigh, I guess I will have to do it by hand…