Cleanup: Subdiv: Remove unnecessary C-API header
Use the topology refiner header directly.
Followup for 5e46e3d28a.
Pull Request: https://projects.blender.org/blender/blender/pulls/129941
This commit is contained in:
@@ -15,7 +15,7 @@ set(SRC
|
||||
opensubdiv_converter_capi.hh
|
||||
opensubdiv_evaluator_capi.hh
|
||||
opensubdiv_evaluator.hh
|
||||
opensubdiv_topology_refiner_capi.hh
|
||||
opensubdiv_topology_refiner.hh
|
||||
)
|
||||
|
||||
set(LIB
|
||||
@@ -67,7 +67,6 @@ if(WITH_OPENSUBDIV)
|
||||
internal/topology/topology_refiner_factory.cc
|
||||
internal/topology/topology_refiner_impl.cc
|
||||
internal/topology/topology_refiner_impl_compare.cc
|
||||
internal/topology/topology_refiner_impl.h
|
||||
)
|
||||
|
||||
list(APPEND LIB
|
||||
|
||||
@@ -24,10 +24,9 @@
|
||||
#include "internal/evaluator/eval_output_gpu.h"
|
||||
#include "internal/evaluator/evaluator_cache_impl.h"
|
||||
#include "internal/evaluator/patch_map.h"
|
||||
#include "internal/topology/topology_refiner_impl.h"
|
||||
#include "opensubdiv_evaluator.hh"
|
||||
#include "opensubdiv_evaluator_capi.hh"
|
||||
#include "opensubdiv_topology_refiner_capi.hh"
|
||||
#include "opensubdiv_topology_refiner.hh"
|
||||
|
||||
using OpenSubdiv::Far::PatchTable;
|
||||
using OpenSubdiv::Far::PatchTableFactory;
|
||||
|
||||
@@ -8,8 +8,6 @@
|
||||
# include <iso646.h>
|
||||
#endif
|
||||
|
||||
#include "internal/topology/topology_refiner_impl.h"
|
||||
|
||||
#include <cassert>
|
||||
#include <cstdio>
|
||||
|
||||
@@ -19,6 +17,7 @@
|
||||
#include "internal/topology/mesh_topology.h"
|
||||
|
||||
#include "opensubdiv_converter_capi.hh"
|
||||
#include "opensubdiv_topology_refiner.hh"
|
||||
|
||||
struct TopologyRefinerData {
|
||||
const OpenSubdiv_Converter *converter;
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
*
|
||||
* Author: Sergey Sharybin. */
|
||||
|
||||
#include "internal/topology/topology_refiner_impl.h"
|
||||
#include "opensubdiv_topology_refiner.hh"
|
||||
|
||||
namespace blender::opensubdiv {
|
||||
|
||||
|
||||
@@ -4,13 +4,11 @@
|
||||
*
|
||||
* Author: Sergey Sharybin. */
|
||||
|
||||
#include "internal/topology/topology_refiner_impl.h"
|
||||
|
||||
#include "internal/base/type_convert.h"
|
||||
#include "internal/topology/mesh_topology.h"
|
||||
#include "internal/topology/topology_refiner_impl.h"
|
||||
|
||||
#include "opensubdiv_converter_capi.hh"
|
||||
#include "opensubdiv_topology_refiner.hh"
|
||||
|
||||
namespace blender::opensubdiv {
|
||||
|
||||
|
||||
@@ -15,7 +15,6 @@
|
||||
|
||||
#include "internal/base/memory.h"
|
||||
#include "internal/topology/mesh_topology.h"
|
||||
#include "opensubdiv_topology_refiner_capi.hh"
|
||||
|
||||
// Those settings don't really belong to OpenSubdiv's topology refiner, but
|
||||
// we are keeping track of them on our side of topology refiner. This is to
|
||||
@@ -1,7 +0,0 @@
|
||||
/* SPDX-FileCopyrightText: 2018 Blender Foundation
|
||||
*
|
||||
* SPDX-License-Identifier: GPL-2.0-or-later */
|
||||
|
||||
#pragma once
|
||||
|
||||
#include "internal/topology/topology_refiner_impl.h"
|
||||
Reference in New Issue
Block a user