Skip to content

Instantly share code, notes, and snippets.

View bdancer's full-sized avatar

Andrei Izrantcev bdancer

View GitHub Profile
#
# THIS FILE USES WINDOWS PATH SEPARATOR ";"
# REPLACE IT WITH ":" FOR LINUX / MACOS
#
# V-Ray for Houdini Begin
#
VFH_ROOT="</Path/To/Unpacked/Archive>" # DON'T FORGET TO EDIT THIS!
VRAY_APPSDK="${VFH_ROOT}/appsdk"
diff --git a/src/export/export/vfh_export_geom.cpp b/src/export/export/vfh_export_geom.cpp
index 9e75e524..cb677308 100644
--- a/src/export/export/vfh_export_geom.cpp
+++ b/src/export/export/vfh_export_geom.cpp
@@ -618,8 +618,12 @@ void ObjectExporter::processPrimitives(OBJ_Node &objNode, const GU_Detail &gdp,
}
const STY_Styler &objStyler = getStylerForObject(getStyler(), pluginExporter.getBundleMap(), objNode);
+
PrimitiveItem objItem;
#
# V-Ray For Blender Batch Render
#
# http://chaosgroup.com
#
# Author: Andrei Izrantcev
# E-Mail: andrei.izrantcev@chaosgroup.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License
#
# V-Ray For Blender Batch Render
#
# http://chaosgroup.com
#
# Author: Andrei Izrantcev
# E-Mail: andrei.izrantcev@chaosgroup.com
#
# This program is free software; you can redistribute it and/or
# modify it under the terms of the GNU General Public License