diff options
Diffstat (limited to 'tools/datapacker/main.cpp')
| -rw-r--r-- | tools/datapacker/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
| diff --git a/tools/datapacker/main.cpp b/tools/datapacker/main.cpp index 596259b..33e4cfe 100644 --- a/tools/datapacker/main.cpp +++ b/tools/datapacker/main.cpp | |||
| @@ -239,7 +239,13 @@ class DataPacker { | |||
| 239 | Port& port = *container_.all_objects().mutable_ports(port_id); | 239 | Port& port = *container_.all_objects().mutable_ports(port_id); |
| 240 | 240 | ||
| 241 | port.set_path(h_port.path()); | 241 | port.set_path(h_port.path()); |
| 242 | port.set_orientation(h_port.orientation()); | 242 | |
| 243 | if (h_port.no_shuffle()) { | ||
| 244 | port.set_no_shuffle(h_port.no_shuffle()); | ||
| 245 | } else { | ||
| 246 | *port.mutable_destination() = h_port.destination(); | ||
| 247 | port.set_rotation(h_port.rotation()); | ||
| 248 | } | ||
| 243 | 249 | ||
| 244 | // Setting this explicitly because the Godot protobuf doesn't support | 250 | // Setting this explicitly because the Godot protobuf doesn't support |
| 245 | // custom defaults. | 251 | // custom defaults. |
