Campbell Barton
0807c976f4
code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,
...
also correct odd indentation.
2013-03-15 10:48:48 +00:00
Campbell Barton
ffc8ecc587
use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.
...
also replace sprintf with strcpy when no formatting is done.
2013-03-14 10:39:18 +00:00
Campbell Barton
c36f20a7d2
style cleanup
2013-03-08 04:00:06 +00:00
Gaia Clary
172d624598
Collada fixed Collada ID name for exported animation curves
2013-03-07 10:26:04 +00:00
Gaia Clary
8664d4b98b
Collada: Added option for how rot,loc,trans data is exported (improves flexibility for support of other 3D tools)
2013-03-06 23:21:52 +00:00
Campbell Barton
f2bb536994
code cleanup: also change BKE_blender.h BLENDER_VERSION_CHAR to 'a' so as not to confuse things.
2013-03-05 14:47:49 +00:00
Campbell Barton
e39f05e5fa
patch [ #34103 ] fileops_1.patch
...
from Lawrence D'Oliveiro (ldo)
Add comments and use of bool type in fileops.c
2013-03-05 03:53:22 +00:00
Gaia Clary
86ff11fe47
Collada: Added ngon support to Vertex Color exporter
2013-03-04 13:12:56 +00:00
Campbell Barton
2921d48239
code cleanup: unused vars in collada, preprocessor formatting & warning in mingw.
...
also compiling without bullet needed a stub added.
2013-03-04 00:53:57 +00:00
Gaia Clary
7835126419
Collada: Fix: do not export controllers when shape_key exporting is disabled
2013-03-04 00:28:25 +00:00
Gaia Clary
f19206a361
Collada: Fix export of Normals where shading is set to smooth
2013-03-04 00:17:20 +00:00
Gaia Clary
4774357b59
Collada: exported normals now based on MPoly instead of MFace
2013-03-03 13:53:32 +00:00
Campbell Barton
c6642b8ec8
enable triangulation with collada, disable BLI_STATIC_ASSERT for C++.
2013-03-03 01:24:09 +00:00
Gaia Clary
24437b6171
partial revert of collada triangulation code due to problems on linux
2013-03-02 23:42:03 +00:00
Gaia Clary
b74c686c66
Fix Collada build error in scons
2013-03-02 20:46:37 +00:00
Gaia Clary
be701b6278
Collada: Added support for ngon export/import and added triangulate option to export
2013-03-02 15:58:13 +00:00
Gaia Clary
debc3ac910
Collada export: Add ngon support (initial)
2013-02-27 13:53:43 +00:00
Brecht Van Lommel
4f3ca854e1
Fix various warnings with clang build, and adjust cmake clang warnings flags
...
to include a few more that gcc is using too.
2013-02-26 21:58:06 +00:00
Gaia Clary
8291a4fe08
fix : #34427 : Collada export crash with armature
2013-02-25 16:02:40 +00:00
Brecht Van Lommel
20220d47e3
Dependency Graph: some refactoring which should have no user visible impact
...
besides performance in some cases.
* DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in
most cases. This will clear the dependency graph, and only rebuild it right
before it's needed again when the scene is re-evaluated.
This is done because DAG_scene_sort is slow when called many times from
python operators. Further the scene argument is not needed because most
operations can potentially affect more than the current scene.
* DAG_scene_relations_update will now rebuild the dependency graph if it's not
there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare
cases that need it.
* Remove various places where ob->recalc was set manually. This should go
through DAG_id_tag_update() in nearly all cases instead since this is now
a fast operation. Also removed DAG_ids_flush_update that goes along with
such manual tagging of ob->recalc.
2013-02-21 19:33:04 +00:00
Gaia Clary
7337c2d4c2
fix #34049 : Collada importer doesn't import armature. Added some comments to the program code for better understanding.
2013-02-20 00:13:34 +00:00
Gaia Clary
134537b65b
fix #34049 : Collada importer doesn't import armature. Added support for 'rootless' armature similar to Maya.
2013-02-20 00:06:31 +00:00
Gaia Clary
ee64cbaf39
fix #34284 Collada: update problem for vertex weights directly after import.
2013-02-17 18:33:10 +00:00
Gaia Clary
9fe4dbb9f1
Fix: Collada Import files with X_UP and Y_UP axis where imported with wrong orientation
2013-02-15 15:36:02 +00:00
Gaia Clary
8a20930c71
Collada: Fixed import of textures with path settings relative to main import file
2013-02-13 16:00:46 +00:00
Gaia Clary
6f4ce31320
fix: remove extra qualification in header
2013-02-13 08:53:05 +00:00
Gaia Clary
8996184ac4
Fixed importing of shapekey names: name is now taken from geometry name instead of deriving it from the mesh name
2013-02-12 17:52:18 +00:00
Gaia Clary
eb9c3f6aec
[ #34062 ] Collada: fixed redundant transform information and order of creation for the loc/rot/trans
2013-02-11 22:45:48 +00:00
Gaia Clary
3dfd736d45
Fix: Collada Import of armatures only added the root bone
2013-02-11 20:21:10 +00:00
Gaia Clary
9d6210c0ed
Collada Importer: Some code cleanup and optimization of the rescale function
2013-02-11 11:12:44 +00:00
Campbell Barton
2005f7c6c0
style cleanup: also some typos
2013-02-11 00:49:00 +00:00
Gaia Clary
22dbb675c1
Fix #33437 Collada: Added scale matching for Scene imports.
2013-02-10 22:14:56 +00:00
Campbell Barton
942ad6d9cd
style cleanup
2013-02-10 17:06:05 +00:00
Gaia Clary
f34d1d5585
[ #33437 ](partial fix) Collada: importing a scene changes units. Added an option to disable unit settings during import.
2013-02-09 16:19:30 +00:00
Gaia Clary
e3488af838
fixed: [ #34080 ] import of COLLADA breaks on '#' in filepath
2013-02-09 00:23:59 +00:00
Gaia Clary
deeeaed3d8
[ #33955 ] Collada Model Import Hangs Blender. Optimized Object import for better performance. Added logging messages
2013-02-08 19:52:02 +00:00
Gaia Clary
8b37f4724f
fix : #34051 Collada export crashes
2013-02-08 12:31:47 +00:00
Gaia Clary
fdd18c7a07
fixed collada import for objects which have NO children
2013-02-08 12:23:36 +00:00
Gaia Clary
286d67b714
fix null pointer issue when child nodes reference to unknown/invalid mesh
2013-02-08 00:28:58 +00:00
Gaia Clary
dbcf735636
fix warning message when imported Collada nodes have < 3 edges.
2013-02-08 00:27:35 +00:00
Thomas Dinges
dad053a152
* One more fix for Collada.
2013-02-05 13:16:21 +00:00
Sergey Sharybin
9d02ac41dc
Attempt to fix collada compilation after recent commit
...
I don't have recent collada compiled here atm, so perhaps there're
more issues here.
2013-02-05 13:04:01 +00:00
Campbell Barton
69993c5d40
style cleanup: spaces -> tabs
2013-02-04 00:18:09 +00:00
Campbell Barton
0dbb08d4eb
code style checker now tests for: 'SomeText{' (no space before {).
...
also removed duplicate break;, probably error from merge.
2013-02-02 13:55:47 +00:00
Campbell Barton
518bfbb1c9
style cleanup
2013-02-02 04:58:03 +00:00
Brecht Van Lommel
6baf63c83b
Fix some warnings in the collade code, but did not fix two because they seem
...
to indicate bugs, left a comment about those.
2013-02-01 15:17:51 +00:00
Jens Verwiebe
8954c99095
Fix compile with collada enabled
2013-01-21 17:38:11 +00:00
Bastien Montagne
95758cf2cf
Fix building for new collada...
2013-01-21 14:00:01 +00:00
Gaia Clary
c263753d17
Added gsoc-2012 collada improvements from bratwurst branch
2013-01-21 13:45:49 +00:00
Campbell Barton
761ac89877
style cleanup
2013-01-15 23:45:41 +00:00