Parcourir la source

Fixed assignment-to-self warnings on OS X

- These statements weren't doing anything so I removed them.
  I'm assuming that they were intended to do something so I
  left TODOs in their place.
Nur Monson il y a 12 ans
Parent
commit
ddc006fb73

+ 1 - 1
Core/Contents/Source/PolyParticleEmitter.cpp

@@ -167,7 +167,7 @@ ParticleEmitter::ParticleEmitter(const String& imageFile, Mesh *particleMesh, in
 	gravVector = gravity;
 	ignoreParentMatrix = false;
 	this->emitterType = emitterType;
-	this->emitSpeed = emitSpeed;
+	// TODO: initialize emitSpeed
 	this->deviation = deviation;
 	pMesh = particleMesh;
 	rotationFollowsPath = false;

+ 1 - 1
Modules/Contents/UI/Source/PolyUITextInput.cpp

@@ -705,7 +705,7 @@ void UITextInput::updateCaretPosition() {
 }
 
 void UITextInput::selectLineFromOffset() {
-	lineOffset = lineOffset;
+	// TODO: remove or fill out body
 }
 
 void UITextInput::dragSelectionTo(Number x, Number y) {