Cleanup variable name.
This commit is contained in:
@@ -16,7 +16,7 @@ namespace Cryville.Crtr {
|
||||
|
||||
public override void Init() {
|
||||
base.Init();
|
||||
sgos = gogroup.GetComponentsInChildren<SectionalGameObject>();
|
||||
sgos = RootTransform.GetComponentsInChildren<SectionalGameObject>();
|
||||
}
|
||||
SectionalGameObject[] sgos;
|
||||
Vector3 bpos; Quaternion brot;
|
||||
@@ -33,7 +33,7 @@ namespace Cryville.Crtr {
|
||||
}
|
||||
protected override void StartGraphicalUpdate(ContainerState s) {
|
||||
base.StartGraphicalUpdate(s);
|
||||
if (gogroup) {
|
||||
if (RootTransform) {
|
||||
TransformAwake(s);
|
||||
var p = GetCurrentWorldPoint();
|
||||
foreach (var i in sgos) {
|
||||
@@ -82,7 +82,7 @@ namespace Cryville.Crtr {
|
||||
|
||||
ptime = s.Time;
|
||||
|
||||
if (!gogroup || s.CloneType == 3) return;
|
||||
if (!RootTransform || s.CloneType == 3) return;
|
||||
var p = GetCurrentWorldPoint();
|
||||
foreach (var i in sgos)
|
||||
i.AppendPoint(p, s.QuatDir);
|
||||
|
Reference in New Issue
Block a user