Blender  V3.3
Functions
sculpt_dyntopo.c File Reference
#include "MEM_guardedalloc.h"
#include "BLI_blenlib.h"
#include "BLI_hash.h"
#include "BLI_math.h"
#include "BLI_task.h"
#include "BLT_translation.h"
#include "DNA_mesh_types.h"
#include "DNA_meshdata_types.h"
#include "DNA_modifier_types.h"
#include "BKE_brush.h"
#include "BKE_context.h"
#include "BKE_global.h"
#include "BKE_main.h"
#include "BKE_mesh.h"
#include "BKE_mesh_mapping.h"
#include "BKE_modifier.h"
#include "BKE_object.h"
#include "BKE_paint.h"
#include "BKE_particle.h"
#include "BKE_pbvh.h"
#include "BKE_pointcache.h"
#include "BKE_scene.h"
#include "BKE_screen.h"
#include "DEG_depsgraph.h"
#include "WM_api.h"
#include "WM_message.h"
#include "WM_toolsystem.h"
#include "WM_types.h"
#include "ED_object.h"
#include "ED_screen.h"
#include "ED_sculpt.h"
#include "ED_undo.h"
#include "ED_view3d.h"
#include "paint_intern.h"
#include "sculpt_intern.h"
#include "RNA_access.h"
#include "RNA_define.h"
#include "UI_interface.h"
#include "UI_resources.h"
#include "bmesh.h"
#include "bmesh_tools.h"
#include <math.h>
#include <stdlib.h>

Go to the source code of this file.

Functions

void SCULPT_dynamic_topology_triangulate (BMesh *bm)
 
void SCULPT_pbvh_clear (Object *ob)
 
void SCULPT_dyntopo_node_layers_add (SculptSession *ss)
 
void SCULPT_dynamic_topology_enable_ex (Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob)
 
static void SCULPT_dynamic_topology_disable_ex (Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob, SculptUndoNode *unode)
 
void SCULPT_dynamic_topology_disable (bContext *C, SculptUndoNode *unode)
 
void sculpt_dynamic_topology_disable_with_undo (Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob)
 
static void sculpt_dynamic_topology_enable_with_undo (Main *bmain, Depsgraph *depsgraph, Scene *scene, Object *ob)
 
static int sculpt_dynamic_topology_toggle_exec (bContext *C, wmOperator *UNUSED(op))
 
static int dyntopo_warning_popup (bContext *C, wmOperatorType *ot, enum eDynTopoWarnFlag flag)
 
enum eDynTopoWarnFlag SCULPT_dynamic_topology_check (Scene *scene, Object *ob)
 
static int sculpt_dynamic_topology_toggle_invoke (bContext *C, wmOperator *op, const wmEvent *UNUSED(event))
 
void SCULPT_OT_dynamic_topology_toggle (wmOperatorType *ot)
 

Function Documentation

◆ dyntopo_warning_popup()

static int dyntopo_warning_popup ( bContext C,
wmOperatorType ot,
enum eDynTopoWarnFlag  flag 
)
static

◆ SCULPT_dynamic_topology_check()

enum eDynTopoWarnFlag SCULPT_dynamic_topology_check ( Scene scene,
Object ob 
)

◆ SCULPT_dynamic_topology_disable()

void SCULPT_dynamic_topology_disable ( bContext C,
SculptUndoNode unode 
)

◆ SCULPT_dynamic_topology_disable_ex()

static void SCULPT_dynamic_topology_disable_ex ( Main bmain,
Depsgraph depsgraph,
Scene scene,
Object ob,
SculptUndoNode unode 
)
static

◆ sculpt_dynamic_topology_disable_with_undo()

void sculpt_dynamic_topology_disable_with_undo ( Main bmain,
Depsgraph depsgraph,
Scene scene,
Object ob 
)

◆ SCULPT_dynamic_topology_enable_ex()

void SCULPT_dynamic_topology_enable_ex ( struct Main bmain,
struct Depsgraph depsgraph,
Scene scene,
Object ob 
)

◆ sculpt_dynamic_topology_enable_with_undo()

static void sculpt_dynamic_topology_enable_with_undo ( Main bmain,
Depsgraph depsgraph,
Scene scene,
Object ob 
)
static

◆ sculpt_dynamic_topology_toggle_exec()

static int sculpt_dynamic_topology_toggle_exec ( bContext C,
wmOperator UNUSEDop 
)
static

◆ sculpt_dynamic_topology_toggle_invoke()

static int sculpt_dynamic_topology_toggle_invoke ( bContext C,
wmOperator op,
const wmEvent UNUSEDevent 
)
static

◆ SCULPT_dynamic_topology_triangulate()

void SCULPT_dynamic_topology_triangulate ( BMesh bm)

◆ SCULPT_dyntopo_node_layers_add()

void SCULPT_dyntopo_node_layers_add ( SculptSession ss)

◆ SCULPT_OT_dynamic_topology_toggle()

void SCULPT_OT_dynamic_topology_toggle ( wmOperatorType ot)

◆ SCULPT_pbvh_clear()

void SCULPT_pbvh_clear ( Object ob)