Render editor actor previews as part of the world.

This commit is contained in:
Paul Chote
2020-01-12 12:27:06 +00:00
committed by abcdefg30
parent fe25fdf0ff
commit e74033bded
10 changed files with 206 additions and 108 deletions

View File

@@ -224,8 +224,6 @@ Container@EDITOR_WORLD_ROOT:
Visible: false
Sprite@DRAG_LAYER_PREVIEW:
Visible: false
ActorPreview@DRAG_ACTOR_PREVIEW:
Visible: false
Background@ACTOR_EDIT_PANEL:
Background: panel-black
Width: 269

View File

@@ -265,6 +265,7 @@ World:
EditorWorld:
Inherits: ^BaseWorld
EditorActorLayer:
EditorCursorLayer:
EditorResourceLayer:
EditorSelectionLayer:
LoadWidgetAtGameStart:

View File

@@ -211,8 +211,6 @@ Container@EDITOR_WORLD_ROOT:
TooltipContainer: TOOLTIP_CONTAINER
TooltipTemplate: SIMPLE_TOOLTIP
Children:
ActorPreview@DRAG_ACTOR_PREVIEW:
Visible: false
TerrainTemplatePreview@DRAG_TILE_PREVIEW:
Visible: false
Sprite@DRAG_LAYER_PREVIEW:

View File

@@ -240,6 +240,7 @@ World:
EditorWorld:
Inherits: ^BaseWorld
EditorActorLayer:
EditorCursorLayer:
D2kEditorResourceLayer:
EditorSelectionLayer:
LoadWidgetAtGameStart:

View File

@@ -281,6 +281,7 @@ World:
EditorWorld:
Inherits: ^BaseWorld
EditorActorLayer:
EditorCursorLayer:
EditorResourceLayer:
EditorSelectionLayer:
LoadWidgetAtGameStart:

View File

@@ -375,6 +375,7 @@ World:
EditorWorld:
Inherits: ^BaseWorld
EditorActorLayer:
EditorCursorLayer:
EditorResourceLayer:
EditorSelectionLayer:
Palette: placefootprint