Commit 79e111d5 authored by Jan Möbius's avatar Jan Möbius

Removed unused update type

git-svn-id: http://www.openflipper.org/svnrepo/OpenFlipper/branches/Free@9567 383ad7c9-94d9-4d36-a494-682f7c89f535
parent 48f4c258
...@@ -35,11 +35,8 @@ class DLLEXPORT UpdateType { ...@@ -35,11 +35,8 @@ class DLLEXPORT UpdateType {
/// Identifier for all updates /// Identifier for all updates
const UpdateType UPDATE_ALL( UpdateTypeSet(1) ); const UpdateType UPDATE_ALL( UpdateTypeSet(1) );
/// This is the update identifier for global Object selections(source/target)
const UpdateType UPDATE_OBJECT_SELECTION( UpdateTypeSet(1) << 1 );
/// This is the update identifier for global Object visibility ( show/hide ) /// This is the update identifier for global Object visibility ( show/hide )
const UpdateType UPDATE_VISIBILITY( UpdateTypeSet(1) << 2 ); const UpdateType UPDATE_VISIBILITY( UpdateTypeSet(1) << 1 );
/// The following update types are predefined for the general use cases /// The following update types are predefined for the general use cases
...@@ -49,14 +46,14 @@ const UpdateType UPDATE_VISIBILITY( UpdateTypeSet(1) << 2 ); ...@@ -49,14 +46,14 @@ const UpdateType UPDATE_VISIBILITY( UpdateTypeSet(1) << 2 );
* Updated Geometry ( This update type has to be used if you only modify vertex positions of * Updated Geometry ( This update type has to be used if you only modify vertex positions of
* an object. Everything else has to stay as before the update. * an object. Everything else has to stay as before the update.
*/ */
const UpdateType UPDATE_GEOMETRY( UpdateTypeSet(1) << 3 ); const UpdateType UPDATE_GEOMETRY( UpdateTypeSet(1) << 2 );
/** \brief Topology updated /** \brief Topology updated
* *
* Updated Topology ( This update type has to be used if you modify the topology * Updated Topology ( This update type has to be used if you modify the topology
* of an object. This includes adding vertices or removing them! ) * of an object. This includes adding vertices or removing them! )
*/ */
const UpdateType UPDATE_TOPOLOGY( UpdateTypeSet(1) << 4 ); const UpdateType UPDATE_TOPOLOGY( UpdateTypeSet(1) << 3 );
/** \brief Selection updated /** \brief Selection updated
...@@ -64,35 +61,35 @@ const UpdateType UPDATE_TOPOLOGY( UpdateTypeSet(1) << 4 ); ...@@ -64,35 +61,35 @@ const UpdateType UPDATE_TOPOLOGY( UpdateTypeSet(1) << 4 );
* Updated Selection ( This update type has to be used if you modify the internal * Updated Selection ( This update type has to be used if you modify the internal
* selection of an object. Like selecting a single vertex or a set of faces. ). * selection of an object. Like selecting a single vertex or a set of faces. ).
*/ */
const UpdateType UPDATE_SELECTION( UpdateTypeSet(1) << 5 ); const UpdateType UPDATE_SELECTION( UpdateTypeSet(1) << 4 );
/** \brief Vertex selection has changed /** \brief Vertex selection has changed
* *
* This is a more fine grained selection update. UPDATE_SELECTION will also match this update type. * This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
*/ */
const UpdateType UPDATE_SELECTION_VERTICES( UpdateTypeSet(1) << 6 ); const UpdateType UPDATE_SELECTION_VERTICES( UpdateTypeSet(1) << 5 );
/** \brief Edge selection has changed /** \brief Edge selection has changed
* *
* This is a more fine grained selection update. UPDATE_SELECTION will also match this update type. * This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
*/ */
const UpdateType UPDATE_SELECTION_EDGES( UpdateTypeSet(1) << 7 ); const UpdateType UPDATE_SELECTION_EDGES( UpdateTypeSet(1) << 6 );
/** \brief Face selection has changed /** \brief Face selection has changed
* *
* This is a more fine grained selection update. UPDATE_SELECTION will also match this update type. * This is a more fine grained selection update. UPDATE_SELECTION will also match this update type.
*/ */
const UpdateType UPDATE_SELECTION_FACES( UpdateTypeSet(1) << 8 ); const UpdateType UPDATE_SELECTION_FACES( UpdateTypeSet(1) << 7 );
/** \brief Colors have changed /** \brief Colors have changed
* *
* Update the colors. This does not have to be called when topology is also updated * Update the colors. This does not have to be called when topology is also updated
*/ */
const UpdateType UPDATE_COLOR( UpdateTypeSet(1) << 9 ); const UpdateType UPDATE_COLOR( UpdateTypeSet(1) << 8 );
/// marks the last used ID /// marks the last used ID
const UpdateType UPDATE_UNUSED ( UpdateTypeSet(1) << 10 ); const UpdateType UPDATE_UNUSED ( UpdateTypeSet(1) << 9 );
//===================================================================================== //=====================================================================================
// FUNCTIONS // FUNCTIONS
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment