http://www.miikahweb.com/feed.php MiikaHweb - Blender Temp-pyapi-units Branch http://www.miikahweb.com/ MiikaHweb - Blender Temp-pyapi-units Branch fi Mon, 24 Jan 22 11:43:24 +0000 MiikaHweb RSS contact at miikahweb.com <![CDATA[[4599dad]: remove unused includes, simplify alloc/free]]> http://www.miikahweb.com/en/blender/git-logs/commit/4599dadbaa2447160ab68f6ee86cfe1694527a20 4599dad
Branches : temp-pyapi-units
Author : Campbell Barton (campbellbarton)
----------------------------------------
remove unused includes, simplify alloc/free

----------------------------------------
1 Path Changed]]>
Tue, 17 Jun 2014 13:19:19 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/4599dadbaa2447160ab68f6ee86cfe1694527a20Campbell Barton
<![CDATA[[59ccf1b]: Fix loss of precision when converting string to value.]]> http://www.miikahweb.com/en/blender/git-logs/commit/59ccf1b4b119c11bd2126857d1a1da3252e9fe15 59ccf1b
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
Fix loss of precision when converting string to value.

----------------------------------------
2 Paths Changed]]>
Tue, 17 Jun 2014 13:03:52 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/59ccf1b4b119c11bd2126857d1a1da3252e9fe15Bastien Montagne
<![CDATA[[95289ad]: Add more tests to bpyunits.]]> http://www.miikahweb.com/en/blender/git-logs/commit/95289adbee0ee59a15b97c6166343dcb120c7a37 95289ad
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
Add more tests to bpyunits.

Only LENGTH type for now.

This showed two limits to current BKE's units code:
* When converting string to value, we use too few precision for units' values (6 digits),
not good esp. when mixing big and small units (like e.g. miles and inches). Will fix that
in next commit.
* When converting values to string, 'precision' parameter ignores order of magnitude of the value,
which leads to invalid results with big numbers (e.g. 1000000mi gives 1000000.004mi with prec of 3).

----------------------------------------
1 Path Changed]]>
Tue, 17 Jun 2014 12:55:42 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/95289adbee0ee59a15b97c6166343dcb120c7a37Bastien Montagne
<![CDATA[[fc3fc94]: Revert to static size for our buffers.]]> http://www.miikahweb.com/en/blender/git-logs/commit/fc3fc949ffe7e4ee706c50b585c23b6635da7af9 fc3fc94
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
Revert to static size for our buffers.

64 should be more than enough, never could get strings longer than ~21 chars so far.

----------------------------------------
1 Path Changed]]>
Tue, 17 Jun 2014 13:02:12 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/fc3fc949ffe7e4ee706c50b585c23b6635da7af9Bastien Montagne
<![CDATA[[d2d1cbb]: Fix doc strings.]]> http://www.miikahweb.com/en/blender/git-logs/commit/d2d1cbbd290c41b08b7c8fbd1936d08b45d7e207 d2d1cbb
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
Fix doc strings.

----------------------------------------
1 Path Changed]]>
Tue, 17 Jun 2014 10:09:05 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/d2d1cbbd290c41b08b7c8fbd1936d08b45d7e207Bastien Montagne
<![CDATA[[5c8c900]: Deduplicate some code for struct-seq initialization]]> http://www.miikahweb.com/en/blender/git-logs/commit/5c8c900ad64fbfa531957184d2a53a70ccb4c11e 5c8c900
Branches : temp-pyapi-units
Author : Campbell Barton (campbellbarton)
----------------------------------------
Deduplicate some code for struct-seq initialization

----------------------------------------
1 Path Changed]]>
Tue, 17 Jun 2014 09:53:06 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/5c8c900ad64fbfa531957184d2a53a70ccb4c11eCampbell Barton
<![CDATA[[8d839f9]: Make units a real submodule.]]> http://www.miikahweb.com/en/blender/git-logs/commit/8d839f93ac83b9a6fafdc64a0ad20c0f8271d7c2 8d839f9
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
Make units a real submodule.

----------------------------------------
3 Paths Changed]]>
Tue, 17 Jun 2014 08:41:18 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8d839f93ac83b9a6fafdc64a0ad20c0f8271d7c2Bastien Montagne
<![CDATA[[8dfa354]: Merge branch 'master' into temp-pyapi-units]]> http://www.miikahweb.com/en/blender/git-logs/commit/8dfa354017add208bdd99e1bde83286dfa072535 8dfa354
Branches : temp-pyapi-units
Author : Campbell Barton (campbellbarton)
----------------------------------------
Merge branch 'master' into temp-pyapi-units

----------------------------------------
0 Paths Changed]]>
Tue, 17 Jun 2014 04:17:23 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/8dfa354017add208bdd99e1bde83286dfa072535Campbell Barton
<![CDATA[[c256faa]: Minor cleanup/changes to api & docstrings]]> http://www.miikahweb.com/en/blender/git-logs/commit/c256faa6a8b1a2c6f71a0e48f45d976a7b6be65d c256faa
Branches : temp-pyapi-units
Author : Campbell Barton (campbellbarton)
----------------------------------------
Minor cleanup/changes to api & docstrings

----------------------------------------
5 Paths Changed]]>
Tue, 17 Jun 2014 04:48:13 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/c256faa6a8b1a2c6f71a0e48f45d976a7b6be65dCampbell Barton
<![CDATA[[061ea40]: First step toward a basic units py API (exposes all supported...]]> http://www.miikahweb.com/en/blender/git-logs/commit/061ea400a0248b286396b6b9acbef35fd8d93f18 061ea40
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
First step toward a basic units py API (exposes all supported unti systems & types, and str_to_value/value_to_str functions).

Also adds a skeletton of unittest file for it!

Reviewers: campbellbarton

CC: carter2422

Differential Revision: https://developer.blender.org/D416

----------------------------------------
9 Paths Changed]]>
Mon, 16 Jun 2014 07:25:44 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/061ea400a0248b286396b6b9acbef35fd8d93f18Bastien Montagne
<![CDATA[[a40c256]: Some minor tweaking on temps buffers...]]> http://www.miikahweb.com/en/blender/git-logs/commit/a40c2568ab607a7531633dbd6f7678778f1c2a0e a40c256
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
Some minor tweaking on temps buffers...

----------------------------------------
1 Path Changed]]>
Mon, 16 Jun 2014 18:17:22 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a40c2568ab607a7531633dbd6f7678778f1c2a0eBastien Montagne
<![CDATA[[a63aa05]: Modifications from Campbell's review, thanks! :)]]> http://www.miikahweb.com/en/blender/git-logs/commit/a63aa0524a2e7d0706983b5124d21fefc5b63c59 a63aa05
Branches : temp-pyapi-units
Author : Bastien Montagne (mont29)
----------------------------------------
Modifications from Campbell's review, thanks! :)

----------------------------------------
8 Paths Changed]]>
Mon, 16 Jun 2014 14:57:27 +0000 http://www.miikahweb.com/en/blender/git-logs/commit/a63aa0524a2e7d0706983b5124d21fefc5b63c59Bastien Montagne