Skip to content

Spurious edits reported for stella_tortoise.tscn (editable children bug?) #153

@wjt

Description

@wjt

Steps to reproduce:

Expected results:

  • Patchwork tab only shows one (or perhaps two for reasons I don't understand) "Initialized repository" revision.

Actual results:

  • "Will edited stella_tortoise.tscn"

I had not edited this scene!

Image

This scene res://scenes/quests/story_quests/stella/3_stella_sequence_puzzle/stella_sequence_components/stella_tortoise.tscn contains 6 instances of res://scenes/quests/story_quests/stella/3_stella_sequence_puzzle/stella_sequence_components/stella_tortoise_shell_gem.tscn. Each one has editable children enabled and the same edits made on each. Here's the serialised form of Gem 2:

[node name="Gem 2" parent="." unique_id=1055701984 instance=ExtResource("2_ohnjq")]
sprite_frames = ExtResource("4_c23wd")
audio_stream = ExtResource("5_2w8tf")

[node name="AnimatedSprite2D" parent="Gem 2" index="0" unique_id=82348668]
sprite_frames = ExtResource("4_c23wd")

[node name="InteractArea" parent="Gem 2" index="1" unique_id=1667611513]
interact_label_position = Vector2(50, -66)

[node name="CollisionShape2D" type="CollisionShape2D" parent="Gem 2/InteractArea" index="0" unique_id=638900854]
position = Vector2(71, -65)
shape = SubResource("RectangleShape2D_4sftv")
debug_color = Color(0.600391, 0.54335, 0, 0.42)

[node name="AudioStreamPlayer2D" parent="Gem 2" index="2" unique_id=1201720970]
stream = ExtResource("5_2w8tf")

Gem 1 is different only in that its sprite_frames properties (on the root and on the AnimatedSprite2D) are not changed.

The edits shown by Patchwork match up with these edits.

I don't understand what is special about this scene though. There are other scenes in the project which also use editable children, and opening & saving them doesn't cause this edit; and I didn't even open this scene to cause this history entry!

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions