diff --git a/resources/Qtmodels/AnimatedEntity.qml b/resources/Qtmodels/AnimatedEntity.qml index 8bc677772..d731c334d 100644 --- a/resources/Qtmodels/AnimatedEntity.qml +++ b/resources/Qtmodels/AnimatedEntity.qml @@ -10,7 +10,6 @@ Entity { property InstrumentModel instrument property alias camera: camera - property real negativeOne: -1.0 Camera { id: camera diff --git a/resources/Qtmodels/ComponentControls.qml b/resources/Qtmodels/ComponentControls.qml index f092753b2..a772ba39c 100644 --- a/resources/Qtmodels/ComponentControls.qml +++ b/resources/Qtmodels/ComponentControls.qml @@ -206,11 +206,7 @@ Pane { anchors.top: editorButton.top anchors.right: parent.right text: "Delete" - onClicked: { - console.log("Gonna delete something.") - components.remove_component(index) - console.log("Done deleting something.") - } + onClicked: components.remove_component(index) buttonEnabled: removable // The sample (at index 0) should never be removed. Don't even show it as an option. visible: index != 0