Skip to content

Export creates extra empty lines in .xml #6

@8-root-grafter

Description

@8-root-grafter

How it is:

<SubPart Id="Icosphere">

  <SubPartModel Id="IcosphereModel">

    <Mesh Id="IcosphereMeshFile" />

  </SubPartModel>

</SubPart>

<Thruster Id="Thruster">

  <Location X="0.0" Y="0.0" Z="0.0" />

  <ExhaustDirection X="-0.0" Y="-0.0" Z="-1.0" />

  <ControlMap CSV="TranslateForward,PitchUp,RollLeft,YawLeft" />

  <Thrust N="100.0" />

  <SpecificImpulse Seconds="280.0" />

  <MinimumPulseTime Seconds="0.5" />

  <VolumetricExhaust Id="ApolloRCS" />

  <SoundEvent Action="Off" SoundId="DefaultRcsThruster" />

</Thruster>

How it should be (empty lines only between groups):

<Thruster Id="Thruster">
  <Location X="0.0" Y="0.0" Z="0.0" />
  <ExhaustDirection X="-0.0" Y="-0.0" Z="-1.0" />
  <ControlMap CSV="TranslateForward,PitchUp,RollLeft,YawLeft" />
  <Thrust N="100.0" />
  <SpecificImpulse Seconds="280.0" />
  <MinimumPulseTime Seconds="0.5" />
  <VolumetricExhaust Id="ApolloRCS" />
  <SoundEvent Action="Off" SoundId="DefaultRcsThruster" />
</Thruster>

<Thruster Id="Thruster.001">
  <Location X="0.0" Y="0.0" Z="0.0" />
  <ExhaustDirection X="0.0" Y="0.0" Z="-1.0" />
  <ControlMap CSV="TranslateLeft,TranslateUp" />
  <Thrust N="100.0" />
  <SpecificImpulse Seconds="280.0" />
  <MinimumPulseTime Seconds="0.5" />
  <VolumetricExhaust Id="ApolloRCS" />
  <SoundEvent Action="On" SoundId="DefaultRcsThruster" />
</Thruster>

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions