Jens
a9e0f3364f
Fix collada after git switch ( undefined build_commit_time )
2013-11-15 18:38:06 +01:00
Sergey Sharybin
927dea436e
Further tweaks to buildinfo
...
Summary:
Old idea with changes since previous release tag
didn't work good enough. In most of the cases tag
was done in a branch hence not actually reachable
from the master branch.
Now change since release is gone, and date of
the latest commit is used instead.
The date is displayed in format YYYY-MM-DD HH:mm
in the splash.
New bpy.app fields:
- build_commit_timestamp is an unix timestamp of
the commit blender was build from.
- build_commit_date is a date of that commit.
- build_commit_time is a time of that commit.
Reviewers: campbellbarton
Differential Revision: http://developer.blender.org/D5
2013-11-15 18:05:27 +06:00
Sergey Sharybin
2010c6ad6c
Made buildinfo aware of builds from GIT
...
- Use commit number since last annotated tag as a
revision number replacement. It'll eb followed
by 'M' symbol if there're local modification in
the source tree.
- Commit short SHA1 is included. Helps getting
information about commit used to build blender
with much faster.
- If build is not done from master branch, this also
will be noticed in the splash screen.
This commit also replaces revision stored in the
files with git-specific fields (change and hash).
This is kind of breaks compatibility, meaning
files which were saved before this change wouldn't
display any information about which revision they
were saved with. When we'll finally switch to git,
we'll see proper hash and change number since
previous release in the files, for until then
svn version will be used as a change number and
hash will be empty.
Not a huge deal, since this field was only used
by developers to help torubleshooting things and
isn't needed for blender itself.
Some additional tweaks are probably needed :)
2013-11-04 13:21:39 +00:00
Campbell Barton
beae4f498d
code cleanup: spelling
2013-10-31 14:10:01 +00:00
Gaia Clary
055b65d6ba
(Due to a change in function call) Added default triangulation method for Collada exporter
2013-10-29 10:49:44 +00:00
Jens Verwiebe
f9ab1df564
Fix collada compile, too less arguments
2013-10-29 10:13:49 +00:00
Gaia Clary
c819fd4ee0
Changed some labels from Second Life to OpenSim
2013-10-03 14:24:54 +00:00
Gaia Clary
52e12dca6a
Added new file that contains the sha1 hash key of the currently to be used OpenCollada libraries
2013-09-30 21:11:20 +00:00
Campbell Barton
aa8488421f
style cleanup: whitespace & odd indentation
2013-09-21 10:46:58 +00:00
Nathan Letwory
1d936a1074
Ensure positions can be read for sources that have stride
...
defined as 2 (2D coordinates).
2013-09-19 21:59:22 +00:00
Campbell Barton
f6b37f34ec
code cleanup:
...
- add missing headers from cmake (own omission)
- quiet rna_test.c unused define warnings.
- minor style edits
- spelling corrections and ignore all uppercase words with spell checking script.
2013-09-05 19:56:49 +00:00
Nathan Letwory
76aa5dfb70
Apply patch [ #36601 ].
...
Submitted by Saurabh Wankhade (sauraedron).
This patch adds camera shift and dof export and import in a Blender profile.
2013-09-05 06:58:27 +00:00
Gaia Clary
3741a588bc
Fix 36505: Collada exporter crashes Blender when exporting to locked file
2013-08-24 09:51:05 +00:00
Thomas Dinges
9843170f4b
* Compile fix for r59395, 'move bmesh tools into their own include'.
2013-08-23 11:16:52 +00:00
Gaia Clary
ab777e957c
fix(Collada): wrong usage of the set attribute with multiple UV sets
2013-08-02 15:58:11 +00:00
Gaia Clary
f7169cd47d
fix: [ #36148 ] Collada instance nodes are not scaled properly during import
2013-07-30 12:18:24 +00:00
Gaia Clary
5c69338fe6
apply world matrix only to armature, Bones and children get it implicit via parenting
2013-07-30 11:10:04 +00:00
Gaia Clary
90eec89125
Collada: renamed size_mat to scale_mat for clarity. removed obsolete variable definition
2013-07-30 07:32:37 +00:00
Gaia Clary
8140f56575
Collada: unit converter was not initialized for ArmatureImporter
2013-07-30 07:22:40 +00:00
Gaia Clary
a5cc8f2c92
Collada: Optimize Scale to scene. Only need to scale the root objects of a hierarchy
2013-07-29 22:15:04 +00:00
Gaia Clary
1a3a252e06
Collada: Import now always rotates input to match blender's Z_UP axis
2013-07-29 21:51:53 +00:00
Gaia Clary
c8958eea29
Added Scene scale calculator to UnitConverter for future usage (wip)
2013-07-29 21:22:59 +00:00
Gaia Clary
966b301546
Added/changed comment for clarification
2013-07-29 17:27:27 +00:00
Gaia Clary
91fc92794c
Import of single bones used infinite bone size
2013-07-26 22:19:46 +00:00
Campbell Barton
824ec5a388
code cleanup: case & brace placement
2013-07-19 10:40:43 +00:00
Gaia Clary
1d4bd90c84
Avoid creating Morph Controllers when shape key export is disabled
2013-07-18 07:54:19 +00:00
Gaia Clary
89f4445b44
Leaf bone length calculation used wrong bone tail
2013-07-17 21:06:27 +00:00
Gaia Clary
f2db6949c2
Fix : #36184 Collada import/export... leaf bone size was not set as needed.
2013-07-17 20:22:08 +00:00
Gaia Clary
61cb92f701
fix : #36122 Collada import - Keyframes offset after recording and playing
2013-07-15 11:01:23 +00:00
Gaia Clary
bd863ce58d
Collada miport: Report 'unknown animation class' only when relevant
2013-07-15 10:50:04 +00:00
Gaia Clary
e353593b30
fix : #36060 Collada Import: animated armature+mesh problem
2013-07-14 17:21:12 +00:00
Gaia Clary
4507dd9a7e
Removed unused paramter from ArmatureImporter:add_joint()
2013-07-14 16:24:42 +00:00
Gaia Clary
ce6cfeca40
minor: commented fallthrough
2013-07-14 12:30:05 +00:00
Gaia Clary
f5033303e1
fix : #34823 Collada: nodes exporting world matrices
2013-07-14 00:34:21 +00:00
Gaia Clary
725543241a
Avoid blender crash during collada export (when armature has animation data)
2013-06-26 09:02:11 +00:00
Gaia Clary
c42c9cb234
Added missing include to collada sources
2013-06-24 13:17:21 +00:00
Campbell Barton
cda5770160
code cleanup: also fix crash in GPU_state_print(). and confine to debug mode builds.
2013-06-13 11:59:28 +00:00
Campbell Barton
9acadd17a9
fix [ #35592 ] Collada (DAE) exporter messes up vertex colors
2013-06-02 23:53:03 +00:00
Campbell Barton
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
Campbell Barton
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
Campbell Barton
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
Gaia Clary
be773f22b1
Added missing recalculate of normals after mesh import
2013-05-28 13:32:29 +00:00
Campbell Barton
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
Brecht Van Lommel
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
Brecht Van Lommel
c36365935c
Fix #35229 : collada crash exporting constraints with no target set.
2013-05-06 11:12:00 +00:00
Brecht Van Lommel
62087935ec
Fix #35209 : cycles generated texture coordinates did not stick to deforming meshes.
2013-05-05 05:56:41 +00:00
Brecht Van Lommel
cd60848dd0
Fix collada module build for visual studio 2012.
...
Patch #35153 by Jurgen Herrmann.
2013-04-29 19:15:53 +00:00
Gaia Clary
631f2b94ef
fix:#35073 face normals calculation used wrong mloop index
2013-04-25 13:28:32 +00:00
Brecht Van Lommel
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
Brecht Van Lommel
c846e3c750
Fix #35014 : collada import crash with UV coordinates.
2013-04-18 21:40:06 +00:00