     if addToOctree
       @octree.add object
       object.addEventListener 'transformed', @updateOctree
+      @fireEvent 'objectAddedToOctree'
     else
       @_objects[object.__unique_id] = object
     @getObjects().push object
+    @fireEvent 'objectAdded'
     if object.castShadow isnt false
       # immediately invalidate shadow maps so that this object doesn't
       # not have a shadow

      if i > num
        for j in [num...i]
          @_cameras[j] = new Jax.Camera
  
  ###
  Renders this World to its Jax context. If a material (or its name) is not

      
  @define 'ambientColor',
    get: -> @_ambientColor
    set: (c) ->
      @_ambientColor = Jax.Color.parse c
      @fireEvent 'ambientChanged'
    
  @getter 'objects', ->
    console.log """The getter `objects` is deprecated; please use `getObjects()` instead.
