Campbell Barton
e1a54214bb
code cleanup:
...
- remove unused defines.
- quiet some shadow warnings.
- bevel, ifdef out some asserts that are too common.
- style
2013-03-25 02:41:30 +00:00
Campbell Barton
01e9dae3dc
code cleanup
2013-03-18 18:25:05 +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
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
be701b6278
Collada: Added support for ngon export/import and added triangulate option to export
2013-03-02 15:58:13 +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
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
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
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
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
Bastien Montagne
818a345be3
Silent a bunch of gcc warnings (usually dummy, but noisy!).
2012-12-02 16:01:06 +00:00
Campbell Barton
a0f01ef8d8
remove BLI_utildefines from BKE_DerivedMesh.h header
2012-11-01 15:34:38 +00:00
Gaia Clary
10004d4a42
fixed: [ #32240 ] Collada import when nodes share geometry but not material
2012-08-12 17:13:07 +00:00
Campbell Barton
32478997ec
style cleanup
2012-06-27 18:29:47 +00:00
Gaia Clary
adf3a5e332
Collada: (Export) Added export of surface textures, and control over exported uv layers
2012-06-22 16:16:58 +00:00
Campbell Barton
a744fed46c
style cleanup
2012-06-20 16:43:48 +00:00
Gaia Clary
0df30d1063
Collada: (Exporter) add 'mesh type selection(view|render)' for Apply modifiers option
2012-06-16 23:35:53 +00:00
Campbell Barton
664c95d1eb
code cleanup: collada
...
- when bubble sorting names - dont convert to str::string just to compare strings
- use BLI_linklist_index() to check if an item is in the list
- quiet some warnings
2012-06-16 09:16:24 +00:00
Gaia Clary
9f6a66d5f9
Collada: (Exporter) Add new option 'deform bones only'
2012-06-15 22:00:25 +00:00
Guillermo S. Romero
e879ee1798
SVN maintenance.
2012-06-15 02:21:07 +00:00
Gaia Clary
91eed57e62
Collada: cleanup sort function for
2012-06-14 14:48:52 +00:00
Gaia Clary
05a1a31693
Collada: Added export Option 'sort by object name' to fix an issue with Second Life import
2012-06-14 10:38:39 +00:00
Campbell Barton
2e8a2f7668
style cleanup
2012-06-12 22:05:33 +00:00
Gaia Clary
36ed4818e5
patch #31794 Collada: make exporter more robust, now uses BKE_object_relational_superset()
2012-06-12 21:25:29 +00:00
Gaia Clary
49a5141cde
[ #31739 ] Collada: New Export selections 'Include Armatures'
2012-06-07 17:55:26 +00:00
Campbell Barton
299ff91ea1
code cleanup: BKE_scene api naming.
...
also stop numpy from being found in /usr/include with cmake.
2012-05-05 14:33:36 +00:00
Campbell Barton
a731e13043
code cleanup: function naming, use BKE_*type* prefix.
2012-05-05 14:03:12 +00:00
Brecht Van Lommel
b075765edd
Fix #31258 : collada now selects newly added objects after import.
2012-05-03 21:32:49 +00:00
Campbell Barton
b8a71efeba
style cleanup: follow style guide for/with/if spacing
2012-03-24 07:52:14 +00:00
Brecht Van Lommel
3311164b24
Math lib: matrix multiplication order fix for two functions that were
...
inconsistent with similar functions & math notation:
mul_m4_m4m4(R, B, A) => mult_m4_m4m4(R, A, B)
mul_m3_m3m4(R, B, A) => mult_m3_m3m4(R, A, B)
For branch maintainers, it should be relatively simple to fix things manually,
it's also possible run this script after merging to do automatic replacement:
http://www.pasteall.org/27459/python
2011-12-16 19:53:12 +00:00
Campbell Barton
4a04f72069
remove $Id: tags after discussion on the mailign list: http://markmail.org/message/fp7ozcywxum3ar7n
2011-10-23 17:52:20 +00:00
Nathan Letwory
caf9fb6cce
doxygen: blender/collada tagged.
2011-02-27 20:30:35 +00:00
Nathan Letwory
5b607701a7
doxygen: prevent GPL license block from being parsed as doxygen comment.
2011-02-23 10:52:22 +00:00
Campbell Barton
0a4eb24ca0
fix for building with opencollada 833 on linux.
2011-02-12 06:25:04 +00:00
Campbell Barton
c4967b5dde
bugfix [ #24616 ] Apply Visual Transform doesn't always apply location
...
- object updates were not being flushed, so children weren't updating.
- apply the matrix relative to the parent, added this as an option to object_apply_mat4() which allows assigning the worldspace matrix in python without worrying about the parent.
2010-11-08 22:32:28 +00:00
Nathan Letwory
01cdd515fb
Compile fix after math API change from r32694
2010-10-25 07:36:14 +00:00
Guillermo S. Romero
9f3d203acb
SVN maintenance.
2010-10-05 00:49:39 +00:00
Nathan Letwory
82209cdc86
Reorganisation of COLLADA import code. Classes have been split into their own files.
...
No functional changes.
Where necessary extern "C" {} blocks have been added.
2010-10-05 00:05:14 +00:00