blenderprojects:blender.git
4 years agoFix #37395: Rendering with a movie strip behind a scene shows inconsistent results
nazgul [Mon, 11 Nov 2013 12:08:31 +0000 (12:08 +0000)]
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61229 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoRemove stupid debug printf in previous commit, sorry for the noise.
mont29 [Sun, 10 Nov 2013 20:37:03 +0000 (20:37 +0000)]
Remove stupid debug printf in previous commit, sorry for the noise.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61228 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix [#37394] UV Map cannot be renamed.
mont29 [Sun, 10 Nov 2013 20:32:27 +0000 (20:32 +0000)]
Fix [#37394] UV Map cannot be renamed.

Own epic failure! CustomData_get_named_layer() returns a relative index, not an absolute one. :(

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61227 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFollowup to previous r61225, the other part of the condition was also reverted! Thank...
mont29 [Sun, 10 Nov 2013 20:04:47 +0000 (20:04 +0000)]
Followup to previous r61225, the other part of the condition was also reverted! Thanks to Sergey for noting this. :)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61226 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix [#37393] Input dimensions are case sensitive in the property panel, uppercase...
mont29 [Sun, 10 Nov 2013 19:51:44 +0000 (19:51 +0000)]
Fix [#37393] Input dimensions are case sensitive in the property panel, uppercase input is misinterpreted

Typo in lowercasing code!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61225 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agomake IS_EQ and IS_EQF typecheck args
campbellbarton [Sun, 10 Nov 2013 14:13:26 +0000 (14:13 +0000)]
make IS_EQ and IS_EQF typecheck args

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61224 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoreplace IS_EQ -> IS_EQF for use with floats.
campbellbarton [Sun, 10 Nov 2013 12:56:50 +0000 (12:56 +0000)]
replace IS_EQ -> IS_EQF for use with floats.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61223 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoRemove debugging prints from previous commit.
howardt [Sun, 10 Nov 2013 12:39:15 +0000 (12:39 +0000)]
Remove debugging prints from previous commit.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61222 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoAdded options for how bevel amount is measured.
howardt [Sun, 10 Nov 2013 12:31:57 +0000 (12:31 +0000)]
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61221 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agomistake in last commit
campbellbarton [Sun, 10 Nov 2013 12:29:15 +0000 (12:29 +0000)]
mistake in last commit

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61220 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agono need to call isnan() on unsigned ints (causes error on freebsd/clang)
campbellbarton [Sun, 10 Nov 2013 12:26:03 +0000 (12:26 +0000)]
no need to call isnan() on unsigned ints (causes error on freebsd/clang)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61219 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoWork around for bug [#37376] wrong tooltips on few minus buttons
mont29 [Sun, 10 Nov 2013 08:15:24 +0000 (08:15 +0000)]
Work around for bug [#37376] wrong tooltips on few minus buttons

Until we have a way to customize tooltips based on operator parameters...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61218 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agouiList: fix another bug, where active item labels in sublayouts would not get colored...
mont29 [Sat, 9 Nov 2013 18:44:37 +0000 (18:44 +0000)]
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61215 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agouiList: fix a bug in computing visual active index (afaict, in case of reordering...
mont29 [Sat, 9 Nov 2013 17:05:07 +0000 (17:05 +0000)]
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).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61214 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: user request, make options succes transparent by printing it
jensverwiebe [Sat, 9 Nov 2013 16:32:10 +0000 (16:32 +0000)]
OSX/scons: user request, make options succes transparent by printing  it

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61213 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: spelling and cleanup comments
jensverwiebe [Sat, 9 Nov 2013 16:00:08 +0000 (16:00 +0000)]
OSX/scons: spelling and cleanup comments

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61212 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: Only cosmetical, a nicer formatting for available sdk listing
jensverwiebe [Sat, 9 Nov 2013 13:31:20 +0000 (13:31 +0000)]
OSX/scons: Only cosmetical, a nicer formatting for available sdk listing

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61210 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoCycles / Fresnel Node:
dingto [Sat, 9 Nov 2013 13:14:00 +0000 (13:14 +0000)]
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!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61209 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoMore fix for [#37327] Inconsistent numeric input conversion.
mont29 [Sat, 9 Nov 2013 10:35:32 +0000 (10:35 +0000)]
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!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61208 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoSome C++ files were sneaking without correct EOL setting
gsrb3d [Fri, 8 Nov 2013 22:02:46 +0000 (22:02 +0000)]
Some C++ files were sneaking without correct EOL setting

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61207 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoCode cleanup: don't write coments at 3 in the night
nazgul [Fri, 8 Nov 2013 20:54:01 +0000 (20:54 +0000)]
Code cleanup: don't write coments at 3 in the night

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61206 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoBe ready for changes in bf-translations repository
nazgul [Fri, 8 Nov 2013 20:44:48 +0000 (20:44 +0000)]
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61205 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoknife tool: Remove unused 'extend' variable
sergof [Fri, 8 Nov 2013 18:01:07 +0000 (18:01 +0000)]
knife tool: Remove unused 'extend' variable

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61204 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoknife tool: Clean up line hits when starting a new cut
sergof [Fri, 8 Nov 2013 18:01:05 +0000 (18:01 +0000)]
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.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61203 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agouse assert to check for incorrect use of BLF_draw_ascii()
campbellbarton [Fri, 8 Nov 2013 15:01:43 +0000 (15:01 +0000)]
use assert to check for incorrect use of BLF_draw_ascii()

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61202 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: make MACOSX_SDK_CHECK a local var is sconstruct and remove from env, also...
jensverwiebe [Fri, 8 Nov 2013 13:44:10 +0000 (13:44 +0000)]
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

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61201 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: remove never used MAC_PROC and minor cleanups
jensverwiebe [Fri, 8 Nov 2013 13:19:51 +0000 (13:19 +0000)]
OSX/scons: remove never used MAC_PROC and minor cleanups

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61200 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoundo formatting part of 61198, please dont reformat arrays just when making minor...
campbellbarton [Fri, 8 Nov 2013 11:39:59 +0000 (11:39 +0000)]
undo formatting part of 61198, please dont reformat arrays just when making minor changes

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61199 954f8c5b-7b00-dc11-b283-0030488c597c

4 years ago[#37327] Inconsistent numeric input conversion.
mont29 [Fri, 8 Nov 2013 11:25:50 +0000 (11:25 +0000)]
[#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).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61198 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agofix for crash when deleting from an id property, with a non-string key.
campbellbarton [Fri, 8 Nov 2013 08:46:43 +0000 (08:46 +0000)]
fix for crash when deleting from an id property, with a non-string key.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61197 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix for [#37293] Audio does not Scrub, plays fully instead
nexyon [Thu, 7 Nov 2013 23:40:06 +0000 (23:40 +0000)]
Fix for [#37293] Audio does not Scrub, plays fully instead

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61196 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/buildbot: after scons refactor we only need the vars to change
jensverwiebe [Thu, 7 Nov 2013 15:25:11 +0000 (15:25 +0000)]
OSX/buildbot: after scons refactor we only need the vars to change

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61195 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: make gcc version detection more futureproof
jensverwiebe [Thu, 7 Nov 2013 15:05:59 +0000 (15:05 +0000)]
OSX/scons: make gcc version detection more futureproof

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61194 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoTweak for ui range of track size in 3d viewport
nazgul [Thu, 7 Nov 2013 14:07:13 +0000 (14:07 +0000)]
Tweak for ui range of track size in 3d viewport

Patch by Sebastian Koenig, thanks!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61193 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: some cleanups
jensverwiebe [Thu, 7 Nov 2013 14:06:21 +0000 (14:06 +0000)]
OSX/scons: some cleanups

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61192 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: ARCH_FLAGS where not prperly added to CPPFLAGS
jensverwiebe [Thu, 7 Nov 2013 13:56:40 +0000 (13:56 +0000)]
OSX/scons: ARCH_FLAGS where not prperly added to CPPFLAGS

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61191 954f8c5b-7b00-dc11-b283-0030488c597c

4 years ago"Render Audio" cleanup:
mont29 [Thu, 7 Nov 2013 13:32:32 +0000 (13:32 +0000)]
"Render Audio" cleanup:
* Removed audio-only options from ffmpeg render settings (added some versionning code too)!
* Moved the Mixdon button from the Scene->Audio pannel to the Render->Render panel.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61190 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix the small mess in read versionning code (we had two "pending versioning" blocks...
mont29 [Thu, 7 Nov 2013 13:14:33 +0000 (13:14 +0000)]
Fix the small mess in read versionning code (we had two "pending versioning" blocks, and a triangulate one that was outside of any block, plus I think existing "pending versionning" code was not added when 2.69.2 sub-version was created...).

Moved all non-yet-versioned stuff back into a single block at the end, let’s try not to forget to integrate it for 2.69.3! ;)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61189 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix for [#36819] *AFTER 2.69* Audio Only Sequencer wont render
nexyon [Thu, 7 Nov 2013 12:33:35 +0000 (12:33 +0000)]
Fix for [#36819] *AFTER 2.69* Audio Only Sequencer wont render

The original description is not a bug, but the mixdown options were missing as scons was lacking the required defines during compile time.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61188 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoRemoved accidentally committed debug print.
lukastoenne [Thu, 7 Nov 2013 12:01:47 +0000 (12:01 +0000)]
Removed accidentally committed debug print.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61187 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix for node transform offsets when adding new nodes: The transform operator was...
lukastoenne [Thu, 7 Nov 2013 09:15:29 +0000 (09:15 +0000)]
Fix for node transform offsets when adding new nodes: The transform operator was using the node->totr rect for defining the initial location of the node - but this is only defined after the node has been
drawn at least once, so nodes would jump to (0,0) after adding ... Use the locx/locy instead (including DPI factor), which is more reliable.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61186 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix for node link highlighting not getting reset if a transform operator is cancelled...
lukastoenne [Thu, 7 Nov 2013 09:02:30 +0000 (09:02 +0000)]
Fix for node link highlighting not getting reset if a transform operator is cancelled and the node removed. Pass the 'test' option in node link insert testing on to the conditions function, so that at least the highlight flags get cleared before exiting the link insert function, even if there is no actual selected node to insert.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61185 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoCleanup: nice bool return value from ed_node_link_conditions function instead of...
lukastoenne [Thu, 7 Nov 2013 09:02:29 +0000 (09:02 +0000)]
Cleanup: nice bool return value from ed_node_link_conditions function instead of using the space pointer for this.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61184 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix #37338: Add objects from addon work in a Linked Scene
nazgul [Thu, 7 Nov 2013 08:40:47 +0000 (08:40 +0000)]
Fix #37338: Add objects from addon work in a Linked Scene

Added a poll function to add object helper which checks
whether scene is linked or not.

All the primitives which are delivered from this helper
will work properly for linked scenes. If there're still
primitives which are not delivered from this class, well
nothing i can do now.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61183 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix #37348, Different behaviour in Node editor. Adding nodes from the search operator...
lukastoenne [Thu, 7 Nov 2013 08:33:09 +0000 (08:33 +0000)]
Fix #37348, Different behaviour in Node editor. Adding nodes from the search operator now also removes them again if the subsequent transform is cancelled, like with the regular node shift+A menu
operators.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61182 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: for completeness, added WITH_BF_OPENMP switch
jensverwiebe [Wed, 6 Nov 2013 23:19:01 +0000 (23:19 +0000)]
OSX/scons: for completeness, added WITH_BF_OPENMP switch

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61181 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoRemoved the automatic "link swapping" feature from the node link operator: When a...
lukastoenne [Wed, 6 Nov 2013 21:21:37 +0000 (21:21 +0000)]
Removed the automatic "link swapping" feature from the node link operator: When a link was being dragged to an already connected input, the existing links were shifted to the next free socket. This was
originally intended as a way to speed up workflow for math and mix nodes, but more often than not it just gets in the way. Most binary (or n-ary) functions are not even commutative, i.e. changing the
order of sockets does not usually produce the correct result. Also this includes the more common case where one actually wants to replace a socket, which then requires a second click to remove the
shifted connection. All in all this is not a helpful feature.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61178 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix for error in r61159: the new gpencil_new_layer_col in UserDef is supposed to...
lukastoenne [Wed, 6 Nov 2013 21:08:16 +0000 (21:08 +0000)]
Fix for error in r61159: the new gpencil_new_layer_col in UserDef is supposed to be a 4 float RGBA color, but has only 3 floats. This was overwriting tweak_threshold in UserDef and breaking transform
operators ...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61177 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: huge change, now you can set a user-config.py just with the desired variab...
jensverwiebe [Wed, 6 Nov 2013 20:59:04 +0000 (20:59 +0000)]
OSX/scons: huge change, now you can set a user-config.py just with the desired variables changed

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61176 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix [#34675] *AFTER 2.69* Info view shows duplicate operators with incorrect values...
mont29 [Wed, 6 Nov 2013 20:56:18 +0000 (20:56 +0000)]
Fix [#34675] *AFTER 2.69* Info view shows duplicate operators with incorrect values of args

Refactored a bit WM api to generate operator's pystring, now it can also handle correctly macro operators. Thanks to Campbell for the review!

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61175 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoBGE: Fix for #37335 "Moving the camera with a key (after the recent BGE cleanup commi...
moguri [Wed, 6 Nov 2013 19:40:37 +0000 (19:40 +0000)]
BGE: Fix for #37335 "Moving the camera with a key (after the recent BGE cleanup commits) now crashes the game" reported by Ace Dragon.

CcdPhysicsEnvironment->GetCharacterController(); was missing a NULL check.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61174 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoPatch #37274: Circle select for node editor, by Henrik Aarnio (hjaarnio).
lukastoenne [Wed, 6 Nov 2013 19:21:42 +0000 (19:21 +0000)]
Patch #37274: Circle select for node editor, by Henrik Aarnio (hjaarnio).

Circle select was missing from node editor, and C key was assigned to now defunct "show cyclic dependencies". This patch remaps the key and adds circle select operator.
Functions to check intersection between rctf/rcti and a circle were also added to rct.c for code cleanliness and consistency.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61173 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoRemoved the "Show Cyclic Dependencies" operator for nodes. This operator is an old...
lukastoenne [Wed, 6 Nov 2013 18:56:51 +0000 (18:56 +0000)]
Removed the "Show Cyclic Dependencies" operator for nodes. This operator is an old relic implemented for showing cyclic node connections as red links. This is not necessary any more, the operator simply
called the generic node tree update function, which is happening anyway after all relevant node operators (if it doesn't that has to be considered a bug).

It has been suggested to better use the C key for circle select, this remains to be discussed.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61172 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoSmall fix for node space header: snapping mode 'INCREMENT' changed to 'GRID'.
lukastoenne [Wed, 6 Nov 2013 17:53:19 +0000 (17:53 +0000)]
Small fix for node space header: snapping mode 'INCREMENT' changed to 'GRID'.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61171 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoTrue grid snapping for nodes: This snaps nodes to the actual background grid instead...
lukastoenne [Wed, 6 Nov 2013 17:46:32 +0000 (17:46 +0000)]
True grid snapping for nodes: This snaps nodes to the actual background grid instead of using incremental offset (which is not useful for nodes). Increment snapping has been disabled for nodes to avoid
confusion, grid snap is now the default as it seems to be the most wanted and easy to use mode.

Absolute grid snapping happens in a somewhat generic function 'applyGridAbsolute', which could also be used for objects and other transforms later on. It is conceptually similar to the 'project' snapping
option, in that it calculates a delta vector for each element on top of the overall transform, which places each node on the grid.

Node transform now uses the top-left node corner for TransformData->loc. The transform center is still the average of node centers, so that scaling and rotation works nicely.

snapGrid*** functions have been renamed to snapGridIncrement*** to distinguish better between incremental and absolute grid snapping.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61170 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: remove obsolete compile flag
jensverwiebe [Wed, 6 Nov 2013 15:46:57 +0000 (15:46 +0000)]
OSX/scons: remove obsolete compile flag

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61169 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: remove obsolete compile flags and silence warnings same time
jensverwiebe [Wed, 6 Nov 2013 15:42:01 +0000 (15:42 +0000)]
OSX/scons: remove obsolete compile flags and silence warnings same time

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61168 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: remove another outdated conditional
jensverwiebe [Wed, 6 Nov 2013 15:37:14 +0000 (15:37 +0000)]
OSX/scons: remove another outdated conditional

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61167 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix knife bug exposed by valgrind.
howardt [Wed, 6 Nov 2013 15:27:19 +0000 (15:27 +0000)]
Fix knife bug exposed by valgrind.
Was reading cage coordinate from those of existing
BMVerts even for newly created verts that don't
have cage coordinates there.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61166 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: remove local MAC_MIN_VERS var and use the always identical MACOSX_DEPLOYME...
jensverwiebe [Wed, 6 Nov 2013 14:03:51 +0000 (14:03 +0000)]
OSX/scons: remove local MAC_MIN_VERS var and use the always identical MACOSX_DEPLOYMENT_TARGET instead

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61165 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: more cleanup of redundant vars, preparation to remove local vars to not...
jensverwiebe [Wed, 6 Nov 2013 13:56:11 +0000 (13:56 +0000)]
OSX/scons: more cleanup of redundant vars, preparation to remove local vars to not need to cp whole config as user-config later

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61164 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: simplification for getting the system version ( major, minor ), use sw_ver...
jensverwiebe [Wed, 6 Nov 2013 12:52:09 +0000 (12:52 +0000)]
OSX/scons: simplification for getting the system version ( major, minor ), use sw_vers -productVersion instead of uname -r, we must not redine it then from darwin version -> osx version

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61163 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoSyncing methods for Color Balance node LGG and ASC-CDL modes. The settings for either...
lukastoenne [Wed, 6 Nov 2013 12:44:54 +0000 (12:44 +0000)]
Syncing methods for Color Balance node LGG and ASC-CDL modes. The settings for either mode are converted into equivalent settings of the other. This keeps the result of both modes roughly the same and
mimics the previous behavior when settings were shared by both modes (but not equivalent).
NOTE: Due to the use of additional sRGB conversion in the LGG mode the result is not entirely accurate, this should perhaps be fixed.

Settings for each mode are kept in their own color values nevertheless, this avoids potential problems with float precision.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61162 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix #37333: Bad default value in Color Balance. Use independent offset/power/slope...
lukastoenne [Wed, 6 Nov 2013 12:44:51 +0000 (12:44 +0000)]
Fix #37333: Bad default value in Color Balance. Use independent offset/power/slope variables for the CDL mode in color balance node. This avoids stupid default values in particular for offset, which would be 1 when just using the lift value for it.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61161 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoRemoved the DNA storage for LGG lift and inverse gamma in the color balance node...
lukastoenne [Wed, 6 Nov 2013 12:44:49 +0000 (12:44 +0000)]
Removed the DNA storage for LGG lift and inverse gamma in the color balance node. These values were always calculated at execution time, so there is no need to keep them around in DNA data and no forward compatibility break either. Only reason they were stored in DNA before is that the old compositor had no other means of keeping precomputed values around for every pixel than storing the DNA node data, with new compositor this is no longer necessary (values are stored in operations).

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61160 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoGrease Pencil: User-Pref for setting the default colour of newly created layers
aligorith [Wed, 6 Nov 2013 10:59:05 +0000 (10:59 +0000)]
Grease Pencil: User-Pref for setting the default colour of newly created layers

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61159 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix #37251: Snap not working correctly in metaball edit mode.
nazgul [Wed, 6 Nov 2013 08:27:18 +0000 (08:27 +0000)]
Fix #37251: Snap not working correctly in metaball edit mode.

It wasn't enabled in snapping code from the beginning it seems,
but from quick tests snapping for mballs works just fine.

Maybe we could drop out check for edit object type now?

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61158 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoQuicktime: remove backend with the old quicktime API, and keep the QTKit backend.
blendix [Wed, 6 Nov 2013 01:45:15 +0000 (01:45 +0000)]
Quicktime: remove backend with the old quicktime API, and keep the QTKit backend.

This means that if you have WITH_BF_QUICKTIME or WITH_CODEC_QUICKTIME enabled,
it will always use QTKit.

The old backend was only used on 32 bit OS X builds, now 32 and 64 bit builds will
give consistent input/output. On Windows or Linux quicktime isn't being used.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61157 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoMade active point and active spline behaviour more predictable on curves/surfaces:
yakca [Tue, 5 Nov 2013 23:37:09 +0000 (23:37 +0000)]
Made active point and active spline behaviour more predictable on curves/surfaces:
* deselect all no longer leaves an active point
* the most recently added spline becomes the active one
* on successful duplicate/delete the active point and active spline are reset

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61156 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agocode cleanup: typo and warning when openmp's disabled.
campbellbarton [Tue, 5 Nov 2013 21:59:30 +0000 (21:59 +0000)]
code cleanup: typo and warning when openmp's disabled.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61154 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agomissing from last commit
campbellbarton [Tue, 5 Nov 2013 21:47:59 +0000 (21:47 +0000)]
missing from last commit

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61153 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agopatch [#37305] Quick Hack: Armature Mirror Select
campbellbarton [Tue, 5 Nov 2013 21:47:35 +0000 (21:47 +0000)]
patch [#37305] Quick Hack: Armature Mirror Select
from Terry Struven (tlstruven), with some modifications.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61152 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/player: Remove some very old code ( 11 years+ ), was commented anyway
jensverwiebe [Tue, 5 Nov 2013 20:30:09 +0000 (20:30 +0000)]
OSX/player: Remove some very old code ( 11 years+ ), was commented anyway

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61151 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix cmake/player compile by adding the xtra osx lib, check if this breaks other OS
jensverwiebe [Tue, 5 Nov 2013 18:57:45 +0000 (18:57 +0000)]
Fix cmake/player compile by adding the xtra osx lib, check if this breaks other OS

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61150 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix #37312, Backdrop value offset is not refreshed. Backdrop operators need to push...
lukastoenne [Tue, 5 Nov 2013 18:28:43 +0000 (18:28 +0000)]
Fix #37312, Backdrop value offset is not refreshed. Backdrop operators need to push notifiers to redraw the node editor buttons.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61149 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: buildbot cleanup following darwin-config
jensverwiebe [Tue, 5 Nov 2013 18:25:43 +0000 (18:25 +0000)]
OSX/scons: buildbot cleanup following darwin-config

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61148 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: make 10.5 our lowest env and remove older conditionals
jensverwiebe [Tue, 5 Nov 2013 18:17:02 +0000 (18:17 +0000)]
OSX/scons: make 10.5 our lowest env and remove older conditionals

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61147 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/GHOST: starting file by file removal of outdated code, such as VERSION_MIN_REQUIR...
jensverwiebe [Tue, 5 Nov 2013 17:49:27 +0000 (17:49 +0000)]
OSX/GHOST: starting file by file removal of outdated code, such as VERSION_MIN_REQUIRED <= 1040

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61146 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoSince we dropped carbon api, this workaround seems not longer to be necessary, pls...
jensverwiebe [Tue, 5 Nov 2013 17:35:47 +0000 (17:35 +0000)]
Since we dropped carbon api, this workaround seems not longer to be necessary, pls. keep an eye

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61145 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoRewrote a lot of knife tool. Now allows cut-through
howardt [Tue, 5 Nov 2013 16:24:00 +0000 (16:24 +0000)]
Rewrote a lot of knife tool.  Now allows cut-through
to make new vertices in the middle of faces.
This also fixes knife bugs:
#36678, #35945, #35943, #35387, #35045, #35002.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61144 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix [#37324] Crash, calling Warp operator in Outliner
mont29 [Tue, 5 Nov 2013 16:20:06 +0000 (16:20 +0000)]
Fix [#37324] Crash, calling Warp operator in Outliner

Warp needs a valid 3DView region...

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61143 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: also remove USE_QTKIT option from configs, leave env var for later use ( always...
jensverwiebe [Tue, 5 Nov 2013 16:04:32 +0000 (16:04 +0000)]
OSX: also remove USE_QTKIT option from configs, leave env var for later use ( always True )

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61142 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: buildbot cleanups after carbon removal
jensverwiebe [Tue, 5 Nov 2013 16:00:23 +0000 (16:00 +0000)]
OSX: buildbot cleanups after carbon removal

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61141 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix [#37319] Forcefield on translated, unselected lamp draws in origin.
mont29 [Tue, 5 Nov 2013 15:53:55 +0000 (15:53 +0000)]
Fix [#37319] Forcefield on translated, unselected lamp draws in origin.

drawlamp() was not resetting OGL matrix to its org value!

Thanks to Philipp Oeser for initial investigation, and Brecht for review. :)

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61140 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoFix linking for non-apple ndof
jensverwiebe [Tue, 5 Nov 2013 15:48:26 +0000 (15:48 +0000)]
Fix linking for non-apple ndof

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61139 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: forgot 1 file in last commit
jensverwiebe [Tue, 5 Nov 2013 15:38:31 +0000 (15:38 +0000)]
OSX: forgot 1 file in last commit

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61138 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: complety remove the cocoa options, definitions and conditionals now
jensverwiebe [Tue, 5 Nov 2013 15:37:59 +0000 (15:37 +0000)]
OSX: complety remove the cocoa options, definitions and conditionals now

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61137 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoCode cleanup:
dingto [Tue, 5 Nov 2013 15:37:11 +0000 (15:37 +0000)]
Code cleanup:
* Remove unused UI code for Info Space items. Was lying around here for some months already.

Probably we have to re-think the whole placement of the operator history thing, but thats for later. In the current config there is no room for these buttons though.

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61136 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agofix style checker for single files
campbellbarton [Tue, 5 Nov 2013 14:46:35 +0000 (14:46 +0000)]
fix style checker for single files

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61135 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/scons: remove obsolete cocoa conditionals from config
jensverwiebe [Tue, 5 Nov 2013 14:38:18 +0000 (14:38 +0000)]
OSX/scons: remove obsolete cocoa conditionals from config

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61134 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: removing useless cocoa conditionals as it's solely api now
jensverwiebe [Tue, 5 Nov 2013 14:35:09 +0000 (14:35 +0000)]
OSX: removing useless cocoa conditionals as it's solely api now

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61133 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/cmake: ghost carbon removal
jensverwiebe [Tue, 5 Nov 2013 14:09:17 +0000 (14:09 +0000)]
OSX/cmake: ghost carbon removal

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61132 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX/cmake: carbon cleanout
jensverwiebe [Tue, 5 Nov 2013 14:05:37 +0000 (14:05 +0000)]
OSX/cmake: carbon cleanout

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61131 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: remove obsolete file and adapt scons
jensverwiebe [Tue, 5 Nov 2013 14:02:33 +0000 (14:02 +0000)]
OSX: remove obsolete file and adapt scons

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61130 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: more carbon removal cleanups
jensverwiebe [Tue, 5 Nov 2013 13:50:53 +0000 (13:50 +0000)]
OSX: more carbon removal cleanups

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61129 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: remove Ghost carbon files finally
jensverwiebe [Tue, 5 Nov 2013 13:35:49 +0000 (13:35 +0000)]
OSX: remove Ghost carbon files finally

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61128 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: remove Ghost carbon files and adapt scons
jensverwiebe [Tue, 5 Nov 2013 13:34:05 +0000 (13:34 +0000)]
OSX: remove Ghost carbon files and adapt scons

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61127 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: forgot defaulting cocoa build in btools
jensverwiebe [Tue, 5 Nov 2013 12:56:02 +0000 (12:56 +0000)]
OSX: forgot defaulting cocoa build in btools

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61126 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: preparing carbon and quicktime dropping, make QTKit also default for i386
jensverwiebe [Tue, 5 Nov 2013 12:52:51 +0000 (12:52 +0000)]
OSX: preparing carbon and quicktime dropping, make QTKit also default for i386

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61125 954f8c5b-7b00-dc11-b283-0030488c597c

4 years agoOSX: preparing carbon and quicktime dropping, make 64bit and QTKit default, make...
jensverwiebe [Tue, 5 Nov 2013 12:48:32 +0000 (12:48 +0000)]
OSX: preparing carbon and quicktime dropping, make 64bit and QTKit default, make 10.8sdk default for xcode >= 4.4

git-svn-id: https://svn.blender.org/svnroot/bf-blender/trunk@61124 954f8c5b-7b00-dc11-b283-0030488c597c