Blender V5.3
paint_canvas.cc File Reference
#include "BLI_string_ref.hh"
#include "DNA_brush_types.h"
#include "DNA_material_types.h"
#include "DNA_scene_types.h"
#include "DNA_userdef_types.h"
#include "DNA_workspace_types.h"
#include "BKE_context.hh"
#include "BKE_material.hh"
#include "BKE_object_types.hh"
#include "BKE_paint.hh"
#include "WM_toolsystem.hh"
#include "ED_paint.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 BMesh Iterators.
namespace  blender::ed
namespace  blender::ed::sculpt_paint
namespace  blender::ed::sculpt_paint::canvas

Functions

static TexPaintSlot * blender::ed::sculpt_paint::canvas::get_active_slot (Object &ob)
static bool blender::paint_tool_uses_canvas (StringRef idname)
static bool blender::paint_brush_uses_canvas (bContext *C)
static bool blender::paint_brush_type_shading_color_follows_last_used (StringRef idname)
void blender::ED_paint_brush_type_update_sticky_shading_color (bContext *C, Object *ob)
static bool blender::paint_brush_type_shading_color_follows_last_used_tool (bContext *C, Object *ob)
bool blender::ED_paint_brush_type_use_canvas (bContext *C, bToolRef *tref)
eV3DShadingColorType blender::ED_paint_shading_color_override (bContext *C, const PaintModeSettings *settings, Object &ob, eV3DShadingColorType orig_color_type)