瀏覽代碼

Set default rotation for light dragpoint

habeebweeb 4 年之前
父節點
當前提交
d1d1fb8b25
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/DragPoint/DragPointLight.cs

+ 1 - 0
COM3D2.MeidoPhotoStudio.Plugin/MeidoPhotoStudio/DragPoint/DragPointLight.cs

@@ -163,6 +163,7 @@ namespace COM3D2.MeidoPhotoStudio.Plugin
 
             SetLightType(MPSLightType.Normal);
             ScaleFactor = 50f;
+            DefaultRotation = LightProperty.DefaultRotation;
         }
 
         protected override void OnDestroy()