Implemented the face orientation overlay for testing. Overlay mode is only drawn when there are overlays to be rendered. The overlay mode is rendered before the object mode.
45 lines
1.7 KiB
C++
45 lines
1.7 KiB
C++
/*
|
|
* Copyright 2016, Blender Foundation.
|
|
*
|
|
* This program is free software; you can redistribute it and/or
|
|
* modify it under the terms of the GNU General Public License
|
|
* as published by the Free Software Foundation; either version 2
|
|
* of the License, or (at your option) any later version.
|
|
*
|
|
* This program is distributed in the hope that it will be useful,
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
* GNU General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU General Public License
|
|
* along with this program; if not, write to the Free Software Foundation,
|
|
* Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
|
*
|
|
* Contributor(s): Blender Institute
|
|
*
|
|
*/
|
|
|
|
/** \file blender/draw/modes/draw_mode_engines.h
|
|
* \ingroup draw
|
|
*/
|
|
|
|
#ifndef __DRAW_MODE_ENGINES_H__
|
|
#define __DRAW_MODE_ENGINES_H__
|
|
|
|
extern DrawEngineType draw_engine_object_type;
|
|
extern DrawEngineType draw_engine_edit_armature_type;
|
|
extern DrawEngineType draw_engine_edit_curve_type;
|
|
extern DrawEngineType draw_engine_edit_lattice_type;
|
|
extern DrawEngineType draw_engine_edit_mesh_type;
|
|
extern DrawEngineType draw_engine_edit_metaball_type;
|
|
extern DrawEngineType draw_engine_edit_surface_type;
|
|
extern DrawEngineType draw_engine_edit_text_type;
|
|
extern DrawEngineType draw_engine_paint_texture_type;
|
|
extern DrawEngineType draw_engine_paint_vertex_type;
|
|
extern DrawEngineType draw_engine_paint_weight_type;
|
|
extern DrawEngineType draw_engine_particle_type;
|
|
extern DrawEngineType draw_engine_pose_type;
|
|
extern DrawEngineType draw_engine_sculpt_type;
|
|
extern DrawEngineType draw_engine_overlay_type;
|
|
|
|
#endif /* __DRAW_MODE_ENGINES_H__ */ |