blender.git
6 years agoMake dynamic node labels possible as a registerable function 'draw_label' (simple...
Lukas Toenne [Tue, 12 Nov 2013 18:18:04 +0000 (18:18 +0000)]
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.

6 years agoInstead of requiring a const char* return from the (optional) node label callback...
Lukas Toenne [Tue, 12 Nov 2013 18:17:58 +0000 (18:17 +0000)]
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.

6 years agoChange the behavior of AO pass in Blender internal's shader/render node tree so that...
Irie Shinsuke [Tue, 12 Nov 2013 10:59:40 +0000 (10:59 +0000)]
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.

6 years agoFix [#37409] Missing Buttons in Edit Strip Sub-Menu for Sound Strips in the VSE
Bastien Montagne [Tue, 12 Nov 2013 07:02:04 +0000 (07:02 +0000)]
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).

6 years agoFix #37092 and #37381: crashes in the .object() method of Freestyle iterators.
Tamito Kajiyama [Tue, 12 Nov 2013 02:28:26 +0000 (02:28 +0000)]
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.

6 years agoFix [#37380] vertex paint colors don't render.
Bastien Montagne [Mon, 11 Nov 2013 20:37:19 +0000 (20:37 +0000)]
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. :(

6 years agoFix [#37388] Grid fill crashes blender in specific situation.
Bastien Montagne [Mon, 11 Nov 2013 14:29:01 +0000 (14:29 +0000)]
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.

6 years agoUsed wrong RNA access routine in bevel amount commit.
Howard Trickey [Mon, 11 Nov 2013 12:19:39 +0000 (12:19 +0000)]
Used wrong RNA access routine in bevel amount commit.

6 years agoFix #37395: Rendering with a movie strip behind a scene shows inconsistent results
Sergey Sharybin [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.

6 years agoFix [#37394] UV Map cannot be renamed.
Bastien Montagne [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. :(

6 years agoFix [#37393] Input dimensions are case sensitive in the property panel, uppercase...
Bastien Montagne [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!

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

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

6 years agoAdded options for how bevel amount is measured.
Howard Trickey [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.

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

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

6 years agoWork around for bug [#37376] wrong tooltips on few minus buttons
Bastien Montagne [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...

6 years agouiList: fix another bug, where active item labels in sublayouts would not get colored...
Bastien Montagne [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.

6 years agouiList: fix a bug in computing visual active index (afaict, in case of reordering...
Bastien Montagne [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).

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

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

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

6 years agoCycles / Fresnel Node:
Thomas Dinges [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!

6 years agoMore fix for [#37327] Inconsistent numeric input conversion.
Bastien Montagne [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!

6 years agoBe ready for changes in bf-translations repository
Sergey Sharybin [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.

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

6 years agoknife tool: Clean up line hits when starting a new cut
Sergej Reich [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.

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

6 years agoOSX/scons: make MACOSX_SDK_CHECK a local var is sconstruct and remove from env, also...
Jens Verwiebe [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

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

6 years ago[#37327] Inconsistent numeric input conversion.
Bastien Montagne [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).

6 years agofix for crash when deleting from an id property, with a non-string key.
Campbell Barton [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.

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

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

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

6 years agoTweak for ui range of track size in 3d viewport
Sergey Sharybin [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!

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

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

6 years ago"Render Audio" cleanup:
Bastien Montagne [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.

6 years agoFix the small mess in read versionning code (we had two "pending versioning" blocks...
Bastien Montagne [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! ;)

6 years agoFix for [#36819] *AFTER 2.69* Audio Only Sequencer wont render
Joerg Mueller [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.

6 years agoFix for node transform offsets when adding new nodes: The transform operator was...
Lukas Toenne [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.

6 years agoFix for node link highlighting not getting reset if a transform operator is cancelled...
Lukas Toenne [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.

6 years agoCleanup: nice bool return value from ed_node_link_conditions function instead of...
Lukas Toenne [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.

6 years agoFix #37338: Add objects from addon work in a Linked Scene
Sergey Sharybin [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.

6 years agoFix #37348, Different behaviour in Node editor. Adding nodes from the search operator...
Lukas Toenne [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.

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

6 years agoRemoved the automatic "link swapping" feature from the node link operator: When a...
Lukas Toenne [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.

6 years agoFix for error in r61159: the new gpencil_new_layer_col in UserDef is supposed to...
Lukas Toenne [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 ...

6 years agoOSX/scons: huge change, now you can set a user-config.py just with the desired variab...
Jens Verwiebe [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

6 years agoFix [#34675] *AFTER 2.69* Info view shows duplicate operators with incorrect values...
Bastien Montagne [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!

6 years agoBGE: Fix for #37335 "Moving the camera with a key (after the recent BGE cleanup commi...
Mitchell Stokes [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.

6 years agoPatch #37274: Circle select for node editor, by Henrik Aarnio (hjaarnio).
Lukas Toenne [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.

6 years agoRemoved the "Show Cyclic Dependencies" operator for nodes. This operator is an old...
Lukas Toenne [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.

6 years agoTrue grid snapping for nodes: This snaps nodes to the actual background grid instead...
Lukas Toenne [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.

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

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

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

6 years agoFix knife bug exposed by valgrind.
Howard Trickey [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.

6 years agoOSX/scons: remove local MAC_MIN_VERS var and use the always identical MACOSX_DEPLOYME...
Jens Verwiebe [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

6 years agoOSX/scons: more cleanup of redundant vars, preparation to remove local vars to not...
Jens Verwiebe [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

6 years agoOSX/scons: simplification for getting the system version ( major, minor ), use sw_ver...
Jens Verwiebe [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

6 years agoSyncing methods for Color Balance node LGG and ASC-CDL modes. The settings for either...
Lukas Toenne [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.

6 years agoFix #37333: Bad default value in Color Balance. Use independent offset/power/slope...
Lukas Toenne [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.

6 years agoRemoved the DNA storage for LGG lift and inverse gamma in the color balance node...
Lukas Toenne [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).

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

6 years agoFix #37251: Snap not working correctly in metaball edit mode.
Sergey Sharybin [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?

6 years agoQuicktime: remove backend with the old quicktime API, and keep the QTKit backend.
Brecht Van Lommel [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.

6 years agoMade active point and active spline behaviour more predictable on curves/surfaces:
Kevin Mackay [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

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

6 years agopatch [#37305] Quick Hack: Armature Mirror Select
Campbell Barton [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.

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

6 years agoFix cmake/player compile by adding the xtra osx lib, check if this breaks other OS
Jens Verwiebe [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

6 years agoFix #37312, Backdrop value offset is not refreshed. Backdrop operators need to push...
Lukas Toenne [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.

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

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

6 years agoOSX/GHOST: starting file by file removal of outdated code, such as VERSION_MIN_REQUIR...
Jens Verwiebe [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

6 years agoSince we dropped carbon api, this workaround seems not longer to be necessary, pls...
Jens Verwiebe [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

6 years agoRewrote a lot of knife tool. Now allows cut-through
Howard Trickey [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.

6 years agoFix [#37324] Crash, calling Warp operator in Outliner
Bastien Montagne [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...

6 years agoOSX: also remove USE_QTKIT option from configs, leave env var for later use ( always...
Jens Verwiebe [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 )

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

6 years agoFix [#37319] Forcefield on translated, unselected lamp draws in origin.
Bastien Montagne [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. :)

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

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

6 years agoCode cleanup:
Thomas Dinges [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.

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

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

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

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

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

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

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

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

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

6 years agoOSX: preparing carbon and quicktime dropping, make 64bit and QTKit default, make...
Jens Verwiebe [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

6 years agoCorrecting a few typos
Joshua Leung [Tue, 5 Nov 2013 10:57:52 +0000 (10:57 +0000)]
Correcting a few typos

6 years agoScons: Fix BGE compile after cleanup
Jens Verwiebe [Tue, 5 Nov 2013 10:56:52 +0000 (10:56 +0000)]
Scons: Fix BGE compile after cleanup

6 years agoCode cleanup:
Thomas Dinges [Tue, 5 Nov 2013 08:52:12 +0000 (08:52 +0000)]
Code cleanup:
* Remove "FCurve/Driver Version fix" from help menu, was used for RNA changes during 2.5x.
* Keep utility code in animsys_refactor.py, might still become useful according to Joshua.

6 years agobge builds again without bullet.
Campbell Barton [Tue, 5 Nov 2013 06:19:19 +0000 (06:19 +0000)]
bge builds again without bullet.