gsoc 2013 branch soc-2013-bge
Deleting soc-2013-bge to rebranch from current Trunk
Branching from Trunk/blender to soc-2013-bge
The start of the new level of detail system. The UI properly modifies level of detail information on the object, and allows for adding and removing levels of detail. No level of detail selection or switching occurs yet.
Adding code to detect when an LoD switch is needed in the viewport. It currently just prints to the console. This print will be replaced with actual switching code in the near future.
Adding a do_version for the base LoD level on objects.
Levels of detail are now properly saved and loaded.
Basic mesh level of detail is now working in the viewport. It should only display levels of detail if you are in object mode, or the object is not the currently active object.
Correcting a logic error that caused some levels of details to be skipped when increasing detail.
When getting the mesh source object, levels that are not enabled for mesh LoD as well as non-mesh objects are now ignored, and the next appropriate LoD object is found.
Material level of detail is now working. Material levels of detail appear in all editing modes (sculpt, edit, etc).
Fixing a crash that occurred when switching to a level of detail with no object specified.
Fixing some crashes with the level of detail system with the default blendfile.
Removing a level of detail now causes the view to update. Also making sure to free the removed level of detail now.
Fixing a minor memory leak caused by not freeing the level of detail list when an object is freed.
Fixed a crash that occurred when an object being used as a level of detail was deleted.
Fixing a crash that occurred when give_current_material was passed a NULL object.
The 3Dview now redraws on changes to level of detail settings. Also, changing the distance values on levels of details now causes the levels of detail to be sorted.
Duplicate objects no longer share level of detail settings.
Removing an unnecessary vector copy when updating levels of detail.