module('lively.GeometryEvents').requires().toRun(function() {

Morph.addMethods({
	signalGeometryChange: function() {
		signal(this, 'geometryChanged')
		var morphs = this.submorphs;
		for(var i=0; i < morphs.length; i++) {
			morphs[i].signalGeometryChange()
		}
	},

	enableGeometryChangeEvent: function() {
		// if we move this into the transformChanged method we should get much even more faster...

		connect(this, 'origin', this, 'signalGeometryChange')
		this.submorphs.invoke('enableGeometryChangeEvent');
	},
})


}) // end of module