Blender V4.3
grease_pencil_material.cc File Reference
#include "DNA_material_types.h"
#include "BKE_attribute.hh"
#include "BKE_context.hh"
#include "BKE_curves_utils.hh"
#include "BKE_grease_pencil.hh"
#include "BKE_material.h"
#include "BLI_vector.hh"
#include "DEG_depsgraph.hh"
#include "ED_grease_pencil.hh"
#include "RNA_access.hh"
#include "RNA_define.hh"
#include "WM_api.hh"

Go to the source code of this file.

Namespaces

namespace  blender
 
namespace  blender::ed
 
namespace  blender::ed::greasepencil
 

Functions

void ED_operatortypes_grease_pencil_material ()
 
Show All Materials Operator
static int blender::ed::greasepencil::grease_pencil_material_reveal_exec (bContext *C, wmOperator *)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_reveal (wmOperatorType *ot)
 
Hide Others Materials Operator
static int blender::ed::greasepencil::grease_pencil_material_hide_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_hide (wmOperatorType *ot)
 
Lock All Materials Operator
static int blender::ed::greasepencil::grease_pencil_material_lock_all_exec (bContext *C, wmOperator *)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_lock_all (wmOperatorType *ot)
 
Unlock All Materials Operator
static int blender::ed::greasepencil::grease_pencil_material_unlock_all_exec (bContext *C, wmOperator *)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_unlock_all (wmOperatorType *ot)
 
Lock Unused Materials Operator
static int blender::ed::greasepencil::grease_pencil_material_lock_unused_exec (bContext *C, wmOperator *)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_lock_unused (wmOperatorType *ot)
 
Lock Unselected Materials Operator
static int blender::ed::greasepencil::grease_pencil_material_lock_unselected_exec (bContext *C, wmOperator *)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_lock_unselected (wmOperatorType *ot)
 
Copy Materials to Selected Objects
static int blender::ed::greasepencil::grease_pencil_material_copy_to_object_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_copy_to_object (wmOperatorType *ot)
 
static int blender::ed::greasepencil::material_isolate_exec (bContext *C, wmOperator *op)
 
static void blender::ed::greasepencil::GREASE_PENCIL_OT_material_isolate (wmOperatorType *ot)
 

Function Documentation

◆ ED_operatortypes_grease_pencil_material()

void ED_operatortypes_grease_pencil_material ( )

Definition at line 506 of file grease_pencil_material.cc.

References WM_operatortype_append().

Referenced by ED_operatortypes_grease_pencil().