|
@@ -417,7 +417,7 @@ var PBT = function() {
|
|
parent.addControl(header);
|
|
parent.addControl(header);
|
|
|
|
|
|
button.onValueChangedObservable.add(function(value) {
|
|
button.onValueChangedObservable.add(function(value) {
|
|
- header.text = "Y-rotation: " + onValueChange(value) + " " + unit;
|
|
|
|
|
|
+ header.text = text + onValueChange(value) + " " + unit;
|
|
func(value);
|
|
func(value);
|
|
});
|
|
});
|
|
parent.addControl(button);
|
|
parent.addControl(button);
|