Commit graph

354 commits

Author SHA1 Message Date
Moritz Brückner 829aa20f08 Fix camera export when multiple scenes are exported 2020-04-08 23:24:43 +02:00
Valentín Barros 64ed9d8d9e Fixed memory problem in ArmoryExporter.execute [fixes #1604]
The Blender crash referenced in the issue happened always
when starting 2nd iteration of the loop in line 2041. I'm not
really sure, but I bet it had to do with
`export_object` modifying `bpy.context.collection.objects`
(line 818), wich in turn could invalidate the reference
obtained in line 1926, if I understand a bit of Blender
internals — wich I didn't some days ago, so this could be
completely wrong.

It no longer happens with this change.
2020-03-21 11:07:58 +01:00
luboslenco 620e15db8e Fix wrd access 2020-03-07 15:00:51 +01:00
Moritz Brückner fe367518cc
Merge branch 'master' into console-output 2020-03-07 00:04:30 +01:00
Philip Michel Duarte 4adbc3cbb0 instanced autobake done 2020-03-05 13:40:15 -03:00
Philip Michel Duarte 4e633c736a pending stuff 2020-03-04 19:42:38 -03:00
philip 57a052b25d towards instanced autobake 2020-03-04 17:34:21 -03:00
Philip Michel Duarte 02bc76f9d5 same-file collection instance bug fixed 2020-03-03 23:38:37 -03:00
Moritz Brückner 086810849e De-clutter console output (new "Verbose Output" switch) 2020-03-04 00:14:14 +01:00
Lubos Lenco f3bffa27e5
Merge pull request #1595 from MoritzBrueckner/fix-object-names
Exporter: better handling of duplicate object names
2020-03-03 22:10:33 +01:00
Moritz Brückner 6f906c5863 Exporter: better handling of duplicate object names 2020-03-03 21:34:19 +01:00
N8n5h 06af6d30d4 Update exporter to fit expected vertex array data 2020-03-03 03:07:56 -03:00
Lubos Lenco 75ca3aa44b
Merge pull request #1592 from philipmduarte/autobake
Action autobaking
2020-03-02 19:20:24 +01:00
Philip Michel Duarte 8921afd155 autobake done 2020-03-02 11:03:42 -03:00
N8n5h c04dbe4993 Fix Vertex Color and Tangent not exporting
Applied the same fix that is used for uvs, since it seems to solve the issue of not updating correctly for exporting of materials too.
Also added support for the Vertex Color node.
2020-03-02 02:04:54 -03:00
Moritz Brückner 141e7e71df Export asset name for object trait properties 2020-01-27 17:13:43 +01:00
Moritz Brückner e7d631f9da Support object prop type 2020-01-07 21:09:39 +01:00
Moritz Brückner 049911504c Refactor trait prop system and support different prop types 2020-01-07 12:35:38 +01:00
Moritz Brückner 3615566b0e Export collection instance offset and move coll. export into own method 2019-12-27 15:40:40 +01:00
Moritz Brückner a17384e318 exporter.py: Some style improvements and added some docstrings 2019-12-27 15:39:20 +01:00
Lubos Lenco d6f32d1bc5
Merge pull request #1513 from MoritzBrueckner/themes
Load themes from canvas
2019-12-14 13:33:13 +01:00
Moritz Brückner 3d59e6b4d6 Fix export error when no canvas is used at all 2019-12-13 19:21:59 +01:00
Lubos Lenco 24ec5cf79b
Merge pull request #1507 from QuantumCoderQC/master
Moved kinematic and static flags from Bt.hx to RigidBody.hx
2019-12-08 10:04:49 +01:00
QuantumCoderQC 8c80b94b4a Moved kinematic and static flags from Bt.hx to RigidBody.hx 2019-12-07 21:41:08 +01:00
Moritz Brückner b4bca6f364 Export themes for canvas 2019-12-06 21:41:19 +01:00
N8n5h 4216d327a3 Fix for faulty "missing uv maps"
Ask for export_uvs to the original object instead of the evaluated copy. Reason is, it seems the dependency graph fails to update
whenever custom properties are set. So for that I think asking the original object in this case could be sufficient to fix it.

The same could be applied to the other functions that are in that chunk of code.
2019-12-05 17:17:51 -03:00
N8n5h b1a25548a9 fix export with a 'zoo collection'
Add a temporary collection to the scene that links all the foreign objects meshes and collections with meshes to the current scene, have the dependency graph see it and then destroy it.
2019-12-02 09:01:46 -03:00
QuantumCoderQC 5099580885 Implemented Kinematic and Static flags for better control. Mass of Animated(Kinematic) and Static objects will be set to zero. Implemented btMotionState for kinematic rigid bodies. And btSetWorldTransform for Dynamic and static rigid bodies. Kinematic rigid bodies can now be fully contolled through animation timeline inside blender. 2019-12-01 00:59:16 +01:00
luboslenco b17fe028b6 Re-apply ced8cd8 2019-10-30 15:33:14 +01:00
QuantumCoderQC 8beb8ef061 Implemented Physics constraints: Generic, Generic-Spring, Slider, Piston and Hinge. Point constraint now uses Bullet Physics btPoint2Point constraint. Hinge constraint now obeys orientation inputs. Generic constraint can now be fully configured within Blender. Constraint behaviour matches that of Blender physics constraints. 2019-10-29 23:12:40 +01:00
luboslenco ced8cd845f Fix Principled BSDF node lookup for empty material 2019-10-25 14:20:22 +02:00
N8n5h 5184794a0e nav update 3
added support for modifiers for navigation meshes, removed the need to restart blender when creating visualization
2019-10-13 19:46:22 -03:00
Yannik Boettcher 25fe284f75 change the exporter to use blenders triangle loops 2019-09-23 12:11:48 +02:00
marketgarden c9911ad25f add collision-filter-mask feature 2019-09-10 23:09:44 +02:00
luboslenco 24867658f1 Deprecated cleanup 2019-08-24 11:50:27 +02:00
MoritzBrueckner d2c83e47f2 Remove not longer required variables 2019-07-19 22:44:22 +02:00
MoritzBrueckner 455151d102 Simplify animation export and support for baked FCurves & modifiers 2019-07-19 22:28:11 +02:00
MoritzBrueckner 85c0d2ca28 Correct Python syntax 2019-07-18 21:51:25 +02:00
MoritzBrueckner f040ac18eb Simplify keyframe export methods 2019-06-25 14:08:42 +02:00
MoritzBrueckner ddd9eaf88a Reorder imports and remove unused ones 2019-06-25 13:54:30 +02:00
MoritzBrueckner e176ad7320 Python docstring for module 2019-06-25 13:53:57 +02:00
MoritzBrueckner 6a29442ceb Fix classify_animation_curve() in blender\arm\exporter.py 2019-06-24 11:30:24 +02:00
MoritzBrueckner 15660ab5f3 Cleanup whitespace 2019-06-23 22:52:41 +02:00
MoritzBrueckner f10a8caee7 Add support for fcurves with interpolation set to constant 2019-06-23 22:52:30 +02:00
unknown 8bccdd9879 lz4 compress stubs 2019-06-22 11:29:05 +02:00
luboslenco 9be7287c51 More b28 changes 2019-06-03 11:29:16 +02:00
luboslenco 297a7b8281 b28 fixes 2019-05-20 14:32:48 +02:00
luboslenco 2303bada3a Add single-data-file exporter option 2019-05-14 11:43:41 +02:00
unknown 4ecec19ad3 Force gpu skinning 2019-04-06 14:13:38 +02:00
luboslenco fc2635e673 Calibrate area light 2019-02-27 21:31:21 +01:00