Revision 52cc8639
Added by Leszek Koltunski almost 2 years ago
src/main/java/org/distorted/objectlib/json/JsonWriter.java | ||
---|---|---|
87 | 87 |
cubit.put("qw", rotQuat.get3() ); |
88 | 88 |
cubit.put("variant", variant ); |
89 | 89 |
cubit.put("type", type); |
90 |
cubit.put("offsetX", offset[0]); |
|
91 |
cubit.put("offsetY", offset[1]); |
|
92 |
cubit.put("offsetZ", offset[2]); |
|
90 |
|
|
91 |
if( offset!=null ) |
|
92 |
{ |
|
93 |
cubit.put("offsetX", offset[0]); |
|
94 |
cubit.put("offsetY", offset[1]); |
|
95 |
cubit.put("offsetZ", offset[2]); |
|
96 |
} |
|
93 | 97 |
|
94 | 98 |
JSONArray colors = new JSONArray(); |
95 | 99 |
|
Also available in: Unified diff
Bugfix