Merging - New functionality Clip Planes and Use Clip Planes

Reiner's picture
Project: 
Bforartists Tracker

We merge regularly the newest Blender Master branch into our repository. Into a branch called sync_blender_master. While merging i stumbled across two new operators. Clip Planes and Use Clip Planes. They have no hotkey yet from what i can see. And also no menu entry. And i have no idea what they do. Seems to be something new for vertex- or weightpainting.

I don't want to loose them out of sight. When it ends as usual in a hotkey only functionality then we need to add it to a menu or a panel at one point. Our keymap does not update with the Blender keymap. And so i add this task here as a reminder to the tracker, for the next merge.

Location: H:\bforartists\Bforartists\source\blender\makesrna\intern\rna_space.c . Line 2874
   

/* This isn't directly accessible from the UI, only an operator. */
prop = RNA_def_property(srna, "use_clip_planes", PROP_BOOLEAN, PROP_NONE);
RNA_def_property_boolean_sdna(prop, NULL, "rflag", RV3D_CLIPPING);
RNA_def_property_ui_text(prop, "Use Clip Planes", "");

prop = RNA_def_property(srna, "clip_planes", PROP_FLOAT, PROP_NONE);
RNA_def_property_float_sdna(prop, NULL, "clip");
RNA_def_property_multi_array(prop, 2, (int[]){6, 4});
RNA_def_property_ui_text(prop, "Clip Planes", "");

   

Status: 
Closed (works as designed)
Priority: 
Normal
Category: 
Task
Component: 
Code
Assigned: 
Unassigned
Reporter: 
Created: 
Thu, 10/05/2017 - 18:18
Updated: 
Tue, 12/05/2017 - 18:09

Comments

3
Reiner's picture

Body: Old » New
Reiner's picture

Even after a few commits there is no solution to this riddle. Seems to be some internal functionality. Or an extension to the python api. The snap utilities seems to use it.

Closing this task since here is nothing to fix.

 

Reiner's picture

Status: Postponed » Closed (works as designed)