pgtools 1.0.1 → 1.0.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: b93db3608af5f88382180905f15693b4b892a8123609b9bf2763e540ab54d771
4
- data.tar.gz: 88b27f7585d3f49eaaf5e32d00b825eea2144d6af8ba94c7b21c4b983acb6dc2
3
+ metadata.gz: 0c2fb4ab4a42bc444d5f9b54ad9ce7bfda71a28ce8c603efb6c1dc6bfacc306b
4
+ data.tar.gz: bf5a6958e38f23ba77868a01463a71211124c0a17613e9556ff105626efd14d2
5
5
  SHA512:
6
- metadata.gz: 0fbe72c0bf9c198551af629a6bb6ab8a991d4c9a2379065ab4b915ac65eccd77007cf24b9e302ea0063ae6ef544a13039ee7764135a84ec8f4bb4e47585e5b7e
7
- data.tar.gz: 7a240821e4053eabb8d7b20e93ee06bcc3a76fbc366b452fd829bc2b446ca55b34dafbb4e905f1a7f91e3978df474d8485474249b51ebe4b0b35f08d757e01ee
6
+ metadata.gz: cbad50b90102a3b832060a90d1b5ab69c501f915df1f0026f5cfbe584681d0b806c0b60c731f090a38f83400eb7b59146838881133e49ec917be3caecca7149e
7
+ data.tar.gz: 7a6b7430bc9b6f98e6b38d40288f106089ad64d7de08816ac6082f92b4c1583118e121c35af0f0281b09dc96738370b917353875aa1e518d75cab8457f6b6c73
@@ -431,6 +431,8 @@ Dir.mkdir("wmb_output") unless Dir.exist?("wmb_output")
431
431
  wmb1 = WMBFile::load(input_file1)
432
432
  wmb2 = WMBFile::load(input_file2)
433
433
 
434
+ tex_map = {}
435
+
434
436
  if $options[:import_textures]
435
437
  tex1_file_name = input_file1.gsub(/wmb\z/,"wtb")
436
438
  tex1 = WTBFile::new(File::new(tex1_file_name, "rb"))
@@ -441,9 +443,9 @@ if $options[:import_textures]
441
443
  tex2_file_name = input_file2.gsub(/wmb\z/,"wtb")
442
444
  tex2 = WTBFile::new(File::new(tex2_file_name, "rb"))
443
445
  end
444
- end
445
446
 
446
- tex_map = get_texture_map(tex1, tex2)
447
+ tex_map = get_texture_map(tex1, tex2)
448
+ end
447
449
 
448
450
  merge_vertexes(wmb1, wmb2)
449
451
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pgtools
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brice Videau