Skip to content

Commit

Permalink
Use Material.Script instead of duplicate type
Browse files Browse the repository at this point in the history
Signed-off-by: Steve Peters <scpeters@openrobotics.org>
  • Loading branch information
scpeters committed Sep 17, 2021
1 parent 6addaa4 commit e418f2f
Showing 1 changed file with 3 additions and 8 deletions.
11 changes: 3 additions & 8 deletions proto/ignition/msgs/scene.proto
Original file line number Diff line number Diff line change
Expand Up @@ -29,17 +29,12 @@ import "ignition/msgs/fog.proto";
import "ignition/msgs/sky.proto";
import "ignition/msgs/light.proto";
import "ignition/msgs/joint.proto";
import "ignition/msgs/material.proto";
import "ignition/msgs/model.proto";
import "ignition/msgs/header.proto";

message Scene
{
message Script
{
repeated string uri = 1;
string material_name = 2;
}

/// \brief Optional header data
Header header = 1;

Expand All @@ -58,6 +53,6 @@ message Scene
/// \brief Show/hide world origin indicator.
bool origin_visual = 12;

/// \brief Name of shadow caster material.
Script shadow_caster_script = 13;
/// \brief Shadow caster material script.
Material.Script shadow_caster_material_script = 13;
}

0 comments on commit e418f2f

Please sign in to comment.