Commit Graph

985 Commits

Author SHA1 Message Date
966b301546 Added/changed comment for clarification 2013-07-29 17:27:27 +00:00
91fc92794c Import of single bones used infinite bone size 2013-07-26 22:19:46 +00:00
824ec5a388 code cleanup: case & brace placement 2013-07-19 10:40:43 +00:00
1d4bd90c84 Avoid creating Morph Controllers when shape key export is disabled 2013-07-18 07:54:19 +00:00
89f4445b44 Leaf bone length calculation used wrong bone tail 2013-07-17 21:06:27 +00:00
f2db6949c2 Fix: #36184 Collada import/export... leaf bone size was not set as needed. 2013-07-17 20:22:08 +00:00
61cb92f701 fix: #36122 Collada import - Keyframes offset after recording and playing 2013-07-15 11:01:23 +00:00
bd863ce58d Collada miport: Report 'unknown animation class' only when relevant 2013-07-15 10:50:04 +00:00
e353593b30 fix: #36060 Collada Import: animated armature+mesh problem 2013-07-14 17:21:12 +00:00
4507dd9a7e Removed unused paramter from ArmatureImporter:add_joint() 2013-07-14 16:24:42 +00:00
ce6cfeca40 minor: commented fallthrough 2013-07-14 12:30:05 +00:00
f5033303e1 fix: #34823 Collada: nodes exporting world matrices 2013-07-14 00:34:21 +00:00
725543241a Avoid blender crash during collada export (when armature has animation data) 2013-06-26 09:02:11 +00:00
c42c9cb234 Added missing include to collada sources 2013-06-24 13:17:21 +00:00
cda5770160 code cleanup: also fix crash in GPU_state_print(). and confine to debug mode builds. 2013-06-13 11:59:28 +00:00
9acadd17a9 fix [#35592] Collada (DAE) exporter messes up vertex colors 2013-06-02 23:53:03 +00:00
dfad9b0c09 fix [#35555] Collada: export destroys mesh in some cases
add arguments to calculate normals when converting to bmesh:
  BM_mesh_bm_from_me, DM_to_bmesh

This gives some speedup to undo (which didnt need to re-calculate vertex normals), and array modifier which doesnt need to calculate face normals at all
2013-06-02 23:20:49 +00:00
225c5fee6b move BLO_sys_types.h -> BLI_sys_types.h (it had nothing todo with loading)
remove MEM_sys_types.h which was a duplicate.
2013-05-28 19:35:26 +00:00
ef4db04da8 code cleanup: lots of calls to BKE_mesh_calc_normals_mapping were not using the mapping functionality.
replace ED_mesh_calc_normals with BKE_mesh_calc_normals().
2013-05-28 14:23:07 +00:00
be773f22b1 Added missing recalculate of normals after mesh import 2013-05-28 13:32:29 +00:00
ec8d277c64 BLI_math rename functions:
- mult_m4_m4m4 -> mul_m4_m4m4
- mult_m3_m3m4 -> mul_m3_m3m4

these temporary names were used to avoid problems when argument order was switched.
2013-05-26 18:36:25 +00:00
fdcca14090 Fix #35255: build for older OpenCollada versions failed, but don't see a good
reason to not keep it working.
2013-05-08 10:07:58 +00:00
c36365935c Fix #35229: collada crash exporting constraints with no target set. 2013-05-06 11:12:00 +00:00
62087935ec Fix #35209: cycles generated texture coordinates did not stick to deforming meshes. 2013-05-05 05:56:41 +00:00
cd60848dd0 Fix collada module build for visual studio 2012.
Patch #35153 by Jurgen Herrmann.
2013-04-29 19:15:53 +00:00
631f2b94ef fix:#35073 face normals calculation used wrong mloop index 2013-04-25 13:28:32 +00:00
cd7fbf9749 Fix part of #34746: crash importing certain collada files with armatures. It still
imports the armature wrong though.
2013-04-22 15:49:15 +00:00
c846e3c750 Fix #35014: collada import crash with UV coordinates. 2013-04-18 21:40:06 +00:00
4df0c46f83 Make freestyle use local Main for temporary objects
This means main database is no longer pollutes with
temporary scene and objects needed for freestyle
render.

Actually, there're few of separated temporary mains
now. Ideally it's better to use single one, but it's
not so much trivial to pass it to all classes. Not
so big deal actually.

Required some changes to blender kernel, to make it
possible to add object to a given main, also to
check on mesh materials for objects in given main.
This is all straightforward changes.

As an additional, solved issue with main database
being infinitely polluted with text blocks created
by create_lineset_handler function.

This fixes:
- #35003: Freestyle crashes if user expands objects in FRS1_Scene
- #35012: ctrl+f12 rendering crashes when using Freestyle
2013-04-18 08:58:21 +00:00
1777a69818 misc minor edits.
- pass string size to BLI_timestr() to avoid possible buffer overrun.
- quiet warning for mingw.
- include guards for windows utf conversion funcs.
- fix for mistage in edge-angle-selection check.
- some style cleanup.
2013-03-29 06:25:22 +00:00
8fce915b6e scon update for new collada libraries 2013-03-28 18:04:07 +00:00
32ec0c762e Updated Blender Collada module to newest opencollada API 2013-03-28 18:03:01 +00:00
64d161de87 style cleanup:
also rename mesh_getVertexCos() --> BKE_mesh_vertexCos_get() to match curve function.
2013-03-26 07:29:01 +00:00
6926596174 More new data names translation (most cases should be covered now).
Also done a few cleanup here and there...
2013-03-25 08:29:06 +00:00
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
92d7955d13 fix for struct definition building with msvc2008 and some style cleanup. 2013-03-24 01:19:55 +00:00
01e9dae3dc code cleanup 2013-03-18 18:25:05 +00:00
655ed9cc7f style cleanup 2013-03-18 11:44:56 +00:00
3dababa7ec code cleanup: name mesh functions more consistently, also use bools for mesh args. 2013-03-17 19:55:10 +00:00
a0351fd97e object converting curve/mball to a mesh would give invalid selection state (edges selected but nothing else).
add arg to BKE_mesh_calc_edges() so selecting newly created edges is optional.
2013-03-16 01:19:03 +00:00
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
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
c36f20a7d2 style cleanup 2013-03-08 04:00:06 +00:00
172d624598 Collada fixed Collada ID name for exported animation curves 2013-03-07 10:26:04 +00:00
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
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
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
86ff11fe47 Collada: Added ngon support to Vertex Color exporter 2013-03-04 13:12:56 +00:00
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
7835126419 Collada: Fix: do not export controllers when shape_key exporting is disabled 2013-03-04 00:28:25 +00:00