Commit Graph

50882 Commits

Author SHA1 Message Date
Jens Verwiebe
2b793822ad OSX/cmake: use CMAKE_XCODE_ATTRIBUTE rather than CMAKE_OSX_SYSROOT and set min deployment target to 10.6 now 2013-11-15 20:05:23 +01:00
Jens Verwiebe
ca5bbe0e41 OSX/cmake: simplify system-version detection 2013-11-15 19:26:43 +01:00
Jens
a9e0f3364f Fix collada after git switch ( undefined build_commit_time ) 2013-11-15 18:38:06 +01:00
Lukas Tönne
53fffbafbe Fix for own mistake in r61178: bNodeTree->links ListBase was being modified while iterating ... 2013-11-15 16:54:05 +01:00
howardt
9a78cda321 Fix Bevel artifacts bug T37053
In the case that there are two beveled edges with one unbeveled
one in between, and the widths don't allow them to magically
line up, it is better to slide along unbeveled edge.

Sometimes bevel widths are uneven (this was the case before)
and it is a followup TODO to do a width cleanup pass afterwards
to even the edges up as much as possible.
2013-11-15 10:47:45 -05:00
jensverwiebe
4836fc78a0 Cmake: little typo breaking player 2013-11-15 16:30:49 +01:00
Jens Verwiebe
92f3fa3fcd OSX/scons: make another gcc conditional futureproof 2013-11-15 15:44:29 +01:00
Sergey Sharybin
a00f0469ca Added the wrong file. Now addin .arcconfig for real.
Summary is still: http://wiki.blender.org/index.php/Dev:Doc/Tools/Code_Review
2013-11-15 20:40:43 +06:00
Sergey Sharybin
f19eef9ed8 Add .arcconfig for Phabricator Arcanist
Summary: http://wiki.blender.org/index.php/Dev:Doc/Tools/Code_Review
2013-11-15 20:38:39 +06: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
Campbell Barton
825b0e8bc4 support for paths with spaces in makefile 2013-11-15 18:59:50 +11:00
Campbell Barton
345c509239 add gitignore 2013-11-15 18:51:31 +11:00
Sergey Sharybin
ac21db957a Add functional and cctype headers to msgfmt.cc
Fixes compilation with MSVC compilers.

Patch by leszekswirski (Lech Swirski) with some own tweaks.

Differential Revision: http://developer.blender.org/D2
2013-11-15 12:43:56 +06:00
Sergey Sharybin
efd518b379 Fix for msgfmt leaving context from previous message string 2013-11-15 12:19:55 +06:00
Sergey Sharybin
89e5c87538 Remove debug-only print from cmake macros
Left it there by an accident.
2013-11-15 12:19:47 +06:00
Sergey Sharybin
6bbca88f66 Initialize git submodules for addons, locales and scons
Uses relative paths to repositories, so this is expected
to work fine for any protocol we support (git, ssh and http).

Uses ignore=all for all the submodules, so updating them
to latest remote hash does not tags blender repository
as changes. But it is still possible to make changes to
submodules and commit them from their path.
2013-11-15 12:19:08 +06:00
Joerg Mueller
c53f80aeed Fix for [#37362] Audio strips sometimes are evaluated incorrectly.
For details see bug comments. The problem was that blender's animation system didn't update the audio animation system anymore due to an optimization. Fixed this in a complex but proper way in the audio animation system, so that it can handle gaps of missing values.
2013-11-12 18:29:08 +00:00
Lukas Toenne
8db4f87546 Small example for dynamic node labels in the custom_nodes.py template script. 2013-11-12 18:18:06 +00:00
Lukas Toenne
4d4ef0434b Make dynamic node labels possible as a registerable function 'draw_label' (simple 'label' identifier is already in use, need to avoid API breakage). This should simply return a string. The dynamic label can still be overridden by the user-defined node.label string. 2013-11-12 18:18:04 +00:00
Lukas Toenne
8663b940ed Instead of requiring a const char* return from the (optional) node label callback function, let it write into a mutable string buffer. This will allow actual dynamic labels for nodes using the python
API.
2013-11-12 18:17:58 +00:00
Irie Shinsuke
ba7fd8cd5c Change the behavior of AO pass in Blender internal's shader/render node tree so that it becomes (1.0, 1.0, 1.0) when AO is disabled.
For materials using AO pass, this makes the material preview and the GLSL
preview more accurate, but shouldn't affect final rendering in most cases
because we usually enable AO when using the AO pass in node tree.

Thanks to Brecht for code review.
2013-11-12 10:59:40 +00:00
Bastien Montagne
e177ac100b Fix [#37409] Missing Buttons in Edit Strip Sub-Menu for Sound Strips in the VSE
Add back mute & lock buttons to audio strips (these should not have been removed, own fault).
2013-11-12 07:02:04 +00:00
Tamito Kajiyama
ef1bc03fce Fix #37092 and #37381: crashes in the .object() method of Freestyle iterators.
Now the method checks if the iterator is at the end, and returns None if that is the case.
2013-11-12 02:28:26 +00:00
Bastien Montagne
59e4600526 Fix [#37380] vertex paint colors don't render.
Another Evil Typo (r) one, you could add much more than the 8 allowed VCol layers!

Note: added some (warning-only) checks in mesh validate functions, but we still have a big issue with new cdlayer merge function, which could generate more than 8 layers of UVs or VCol... Don't know yet how to handle this situation. :(
2013-11-11 20:37:19 +00:00
Bastien Montagne
7fc1088164 Fix [#37388] Grid fill crashes blender in specific situation.
With some geometries, we can have a valid first path, without being able to find a valid second one, added needed check.
2013-11-11 14:29:01 +00:00
Howard Trickey
3967371886 Used wrong RNA access routine in bevel amount commit. 2013-11-11 12:19:39 +00:00
Sergey Sharybin
dcfb858a76 Fix #37395: Rendering with a movie strip behind a scene shows inconsistent results
For now just make sure conversion to sequencer space will ensure imbuf's
color space names is set properly.

Might be some further changes needed to make colorspace flow more clear
in sequencer, but that's for later.
2013-11-11 12:08:31 +00:00
Bastien Montagne
647f425265 Fix [#37394] UV Map cannot be renamed.
Own epic failure! CustomData_get_named_layer() returns a relative index, not an absolute one. :(
2013-11-10 20:32:27 +00:00
Bastien Montagne
d27f8103dd Fix [#37393] Input dimensions are case sensitive in the property panel, uppercase input is misinterpreted
Typo in lowercasing code!
2013-11-10 19:51:44 +00:00
Campbell Barton
aaa99106fe make IS_EQ and IS_EQF typecheck args 2013-11-10 14:13:26 +00:00
Campbell Barton
8cf39603f7 replace IS_EQ -> IS_EQF for use with floats. 2013-11-10 12:56:50 +00:00
Howard Trickey
bfb9cefccb Added options for how bevel amount is measured.
Now there is an 'Offset Type' dropdown on tool
shelf with types:
Offset - current method, offset of new edge
  from old along sliding face
Width - width of new bevel face (if segments=1)
Depth - amount a chamfering plane moves down
  from original edge
Percent - percent of way sliding edges move
  along their adjacent edges

The different options mainly are useful when
beveling more than one edge at once.

Leaving as a TODO to put these in the modifier,
as doing that has more permanent effects so
want to let users shake out problems with this
first.
2013-11-10 12:31:57 +00:00
Campbell Barton
73c2253ac6 mistake in last commit 2013-11-10 12:29:15 +00:00
Campbell Barton
07534f05d5 no need to call isnan() on unsigned ints (causes error on freebsd/clang) 2013-11-10 12:26:03 +00:00
Bastien Montagne
bbcfadff35 Work around for bug [#37376] wrong tooltips on few minus buttons
Until we have a way to customize tooltips based on operator parameters...
2013-11-10 08:15:24 +00:00
Bastien Montagne
a352670791 uiList: fix another bug, where active item labels in sublayouts would not get colored as active (need recursion in sublayouts!). Was affecting e.g. Group node inputs/outputs lists. 2013-11-09 18:44:37 +00:00
Bastien Montagne
efa23a47ed uiList: fix a bug in computing visual active index (afaict, in case of reordering, was affecting "keep active visible" feature when resizing, and the "active label color" in custom themes). 2013-11-09 17:05:07 +00:00
Jens Verwiebe
8c256de959 OSX/scons: user request, make options succes transparent by printing it 2013-11-09 16:32:10 +00:00
Jens Verwiebe
7d3698e26c OSX/scons: spelling and cleanup comments 2013-11-09 16:00:08 +00:00
Jens Verwiebe
9fd03c1354 OSX/scons: Only cosmetical, a nicer formatting for available sdk listing 2013-11-09 13:31:20 +00:00
Thomas Dinges
cc7b2a0b04 Cycles / Fresnel Node:
* Add a "Normal" Input to the Fresnel node.
* Fix for the Fresnel GLSL code (normalize the Incoming vector).

Patch #37384 by Philipp Oeser (lichtwerk) , thanks!
2013-11-09 13:14:00 +00:00
Bastien Montagne
396fb315c5 More fix for [#37327] Inconsistent numeric input conversion.
When a single element is involved, apply directly the values instead of using the diff from init values. This avoids glitches when going from huge values to very small ones (due to float precision).

Note we should probably switch to doubles here, ultimately, but would leave that for later.

Manys thanks to Armin Zingler, who did all the investigation work on this point!
2013-11-09 10:35:32 +00:00
Sergey Sharybin
ac6d91b939 Be ready for changes in bf-translations repository
Made it so if there's release/datafiles/locale/po
folder, then all the .po files will be converted
to .mo at blender compile time and installed to
an appropriate location.

Uses small own implementation msgfmt which is
based on msgfmt.py from Python project, but also
supports contexts.

There's no functional changes for until we've
switched to use source .po files instead of
pre-compiled .mo.

P.S. Well, there's one change which is msgfmt.cc
     being compiled even if it's not used, but
     would rather not clutter code with checks
     since pretty soon we'll use this program
     anyway.
2013-11-08 20:44:48 +00:00
Sergej Reich
0d1a499366 knife tool: Remove unused 'extend' variable 2013-11-08 18:01:07 +00:00
Sergej Reich
b144f15579 knife tool: Clean up line hits when starting a new cut
Fixes intersection points of the previous cut still being drawn when
starting a new cut.
2013-11-08 18:01:05 +00:00
Campbell Barton
774987a381 use assert to check for incorrect use of BLF_draw_ascii() 2013-11-08 15:01:43 +00:00
Jens Verwiebe
a3ec6edc05 OSX/scons: make MACOSX_SDK_CHECK a local var is sconstruct and remove from env, also fix a longstanding misuse of MACOSX_SDK_CHECK in ceres, use MACOSX_SDK instead 2013-11-08 13:44:10 +00:00
Jens Verwiebe
8a717f8326 OSX/scons: remove never used MAC_PROC and minor cleanups 2013-11-08 13:19:51 +00:00
Bastien Montagne
5ef717bec6 [#37327] Inconsistent numeric input conversion.
Issue was actually that micrometer was not drawing correctly (from r58165), reverted that fix and instead use utf8 drawing for editmode metrics when using a unit system (we already had a similar hack for surfaces and volumes, anyway).
2013-11-08 11:25:50 +00:00
Campbell Barton
bbade535fb fix for crash when deleting from an id property, with a non-string key. 2013-11-08 08:46:43 +00:00