Merge branch 'blender-v2.83-release'
This commit is contained in:
@@ -108,7 +108,7 @@ void BlenderSync::sync_recalc(BL::Depsgraph &b_depsgraph, BL::SpaceView3D &b_v3d
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (dicing_prop_changed) {
|
if (dicing_prop_changed) {
|
||||||
for (const pair<GeometryKey, Geometry *> &iter : geometry_map.key_to_scene_data()) {
|
for (const pair<const GeometryKey, Geometry *> &iter : geometry_map.key_to_scene_data()) {
|
||||||
Geometry *geom = iter.second;
|
Geometry *geom = iter.second;
|
||||||
if (geom->type == Geometry::MESH) {
|
if (geom->type == Geometry::MESH) {
|
||||||
Mesh *mesh = static_cast<Mesh *>(geom);
|
Mesh *mesh = static_cast<Mesh *>(geom);
|
||||||
|
@@ -19,6 +19,7 @@
|
|||||||
#include "render/scene.h"
|
#include "render/scene.h"
|
||||||
|
|
||||||
#include "util/util_foreach.h"
|
#include "util/util_foreach.h"
|
||||||
|
#include "util/util_hash.h"
|
||||||
#include "util/util_logging.h"
|
#include "util/util_logging.h"
|
||||||
#include "util/util_progress.h"
|
#include "util/util_progress.h"
|
||||||
#include "util/util_types.h"
|
#include "util/util_types.h"
|
||||||
@@ -447,7 +448,14 @@ void GeometryManager::create_volume_mesh(Mesh *mesh, Progress &progress)
|
|||||||
start_point = transform_point(&itfm, start_point);
|
start_point = transform_point(&itfm, start_point);
|
||||||
cell_size = transform_direction(&itfm, cell_size);
|
cell_size = transform_direction(&itfm, cell_size);
|
||||||
|
|
||||||
volume_params.start_point = start_point;
|
/* Slightly offset vertex coordinates to avoid overlapping faces with other
|
||||||
|
* volumes or meshes. The proper solution would be to improve intersection in
|
||||||
|
* the kernel to support robust handling of multiple overlapping faces or use
|
||||||
|
* an all-hit intersection similar to shadows. */
|
||||||
|
const float3 face_overlap_avoidance = cell_size * 0.1f *
|
||||||
|
hash_uint_to_float(hash_string(mesh->name.c_str()));
|
||||||
|
|
||||||
|
volume_params.start_point = start_point + face_overlap_avoidance;
|
||||||
volume_params.cell_size = cell_size;
|
volume_params.cell_size = cell_size;
|
||||||
volume_params.pad_size = pad_size;
|
volume_params.pad_size = pad_size;
|
||||||
|
|
||||||
|
@@ -35,6 +35,8 @@
|
|||||||
# include "GHOST_ImeWin32.h"
|
# include "GHOST_ImeWin32.h"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
#include <vector>
|
||||||
|
|
||||||
#include <wintab.h>
|
#include <wintab.h>
|
||||||
#define PACKETDATA (PK_BUTTONS | PK_NORMAL_PRESSURE | PK_ORIENTATION | PK_CURSOR)
|
#define PACKETDATA (PK_BUTTONS | PK_NORMAL_PRESSURE | PK_ORIENTATION | PK_CURSOR)
|
||||||
#define PACKETMODE PK_BUTTONS
|
#define PACKETMODE PK_BUTTONS
|
||||||
|
@@ -86,6 +86,12 @@ static void cmp_node_image_add_pass_output(bNodeTree *ntree,
|
|||||||
{
|
{
|
||||||
bNodeSocket *sock = BLI_findstring(&node->outputs, name, offsetof(bNodeSocket, name));
|
bNodeSocket *sock = BLI_findstring(&node->outputs, name, offsetof(bNodeSocket, name));
|
||||||
|
|
||||||
|
/* Replace if types don't match. */
|
||||||
|
if (sock && sock->type != type) {
|
||||||
|
nodeRemoveSocket(ntree, node, sock);
|
||||||
|
sock = NULL;
|
||||||
|
}
|
||||||
|
|
||||||
/* Create socket if it doesn't exist yet. */
|
/* Create socket if it doesn't exist yet. */
|
||||||
if (sock == NULL) {
|
if (sock == NULL) {
|
||||||
if (rres_index >= 0) {
|
if (rres_index >= 0) {
|
||||||
|
@@ -18,14 +18,12 @@ local:
|
|||||||
*cineon*;
|
*cineon*;
|
||||||
*COLLADA*;
|
*COLLADA*;
|
||||||
cu*;
|
cu*;
|
||||||
decodeInstruction;
|
|
||||||
*default_error_condition*;
|
*default_error_condition*;
|
||||||
*dpx*;
|
*dpx*;
|
||||||
*embree*;
|
*embree*;
|
||||||
ff_*;
|
ff_*;
|
||||||
fftw*;
|
fftw*;
|
||||||
FLAC*;
|
FLAC*;
|
||||||
ForceStackAlign;
|
|
||||||
FT_*;
|
FT_*;
|
||||||
*GeneratedSaxParser*;
|
*GeneratedSaxParser*;
|
||||||
*google*;
|
*google*;
|
||||||
@@ -40,14 +38,11 @@ local:
|
|||||||
jack_*;
|
jack_*;
|
||||||
jpeg_*;
|
jpeg_*;
|
||||||
jsimd**;
|
jsimd**;
|
||||||
_Jv_RegisterClasses;
|
|
||||||
lame_*;
|
lame_*;
|
||||||
*llvm*;
|
*llvm*;
|
||||||
*LLVM*;
|
*LLVM*;
|
||||||
*MathML*;
|
*MathML*;
|
||||||
*mkldnn*;
|
*mkldnn*;
|
||||||
Name;
|
|
||||||
NumNamedVarArgParams;
|
|
||||||
oc_*;
|
oc_*;
|
||||||
ogg*;
|
ogg*;
|
||||||
*oidn*;
|
*oidn*;
|
||||||
@@ -72,8 +67,46 @@ local:
|
|||||||
vp9*;
|
vp9*;
|
||||||
vpx*;
|
vpx*;
|
||||||
x264_*;
|
x264_*;
|
||||||
X86CompilationCallback*;
|
|
||||||
xml*;
|
xml*;
|
||||||
xvid*;
|
xvid*;
|
||||||
*YAML*;
|
*YAML*;
|
||||||
|
|
||||||
|
/* LLVM symbols not in the LLVM namespace that can conflict with LLVM usage
|
||||||
|
* in OpenGL and OpenCL drivers. */
|
||||||
|
decodeInstruction;
|
||||||
|
EnableHotColdSplit;
|
||||||
|
EnableIPRA;
|
||||||
|
EnableOrderFileInstrumentation;
|
||||||
|
EnableVPlanNativePath;
|
||||||
|
EnableVPlanPredication;
|
||||||
|
FlattenedProfileUsed;
|
||||||
|
ForceStackAlign;
|
||||||
|
ForceSummaryEdgesCold;
|
||||||
|
FSEC;
|
||||||
|
__jit_debug_descriptor;
|
||||||
|
__jit_debug_register_code;
|
||||||
|
_Jv_RegisterClasses;
|
||||||
|
MachineRegionInfoPassID;
|
||||||
|
MemOPSizeLarge;
|
||||||
|
MemOPSizeRange;
|
||||||
|
MISchedPostRA;
|
||||||
|
ModuleSummaryDotFile;
|
||||||
|
__morestack;
|
||||||
|
Name;
|
||||||
|
NumNamedVarArgParams;
|
||||||
|
PGOViewCounts;
|
||||||
|
PrintBlockFreqFuncName;
|
||||||
|
PrintBranchProbFuncName;
|
||||||
|
ProfileLikelyProb;
|
||||||
|
StartAfterOptName;
|
||||||
|
StartBeforeOptName;
|
||||||
|
StaticLikelyProb;
|
||||||
|
StopAfterOptName;
|
||||||
|
StopBeforeOptName;
|
||||||
|
UseDbgAddr;
|
||||||
|
ViewBlockFreqFuncName;
|
||||||
|
ViewBlockLayoutWithBFI;
|
||||||
|
ViewHotFreqPercent;
|
||||||
|
WriteRelBFToSummary;
|
||||||
|
X86CompilationCallback*;
|
||||||
};
|
};
|
||||||
|
Reference in New Issue
Block a user