Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
P
Plugin-FileOBJ
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Container Registry
Analytics
Analytics
CI / CD
Repository
Value Stream
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
OpenFlipper-Free
Plugin-FileOBJ
Commits
ad99555c
Commit
ad99555c
authored
Oct 27, 2020
by
Jan Möbius
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fixed deprecation warning
parent
20e99fa7
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
0 deletions
+5
-0
FileOBJ.cc
FileOBJ.cc
+5
-0
No files found.
FileOBJ.cc
View file @
ad99555c
...
...
@@ -490,7 +490,12 @@ void FileOBJPlugin::addTextures(OBJImporter& _importer, int _objectID ){
QString
textureBlock
=
QString
(
material
.
map_Kd
().
c_str
());
#if QT_VERSION < QT_VERSION_CHECK(5, 14, 0)
QStringList
options
=
textureBlock
.
split
(
" "
,
QString
::
SkipEmptyParts
);
#else
QStringList
options
=
textureBlock
.
split
(
" "
,
Qt
::
SkipEmptyParts
);
#endif
while
(
options
.
size
()
>
1
)
{
if
(
options
[
0
]
==
"-blendu"
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment