7 years agoRemove Surface modifier when removing force field from object
Sergey Sharybin [Tue, 19 Nov 2013 11:19:06 +0000 (17:19 +0600)]
Remove Surface modifier when removing force field from object

Before this adding Surface type of force field and removing
this field would leave Surface modifier alive in the stack.

This might be really misleading and annoying.

Now removing force field will ensure no modifiers needed for
it are remained in the stack.

This also fixes missing notifier to redraw modifier stack
when changing force field type.

Reviewers: brecht, campbellbarton

Reviewed By: brecht

Differential Revision:

7 years agoCleanup: Renamed compositor executePixel functions and their 'read' wrappers in Socke...
Lukas Tönne [Tue, 19 Nov 2013 10:06:16 +0000 (11:06 +0100)]
Cleanup: Renamed compositor executePixel functions and their 'read' wrappers in SocketReader.

Distinguish the 3 different methods for acquiring pixel color values (executePixel, executePixelSampled, executePixelFiltered).
This makes it easier to keep track of the different sampling methods (and works nicer with IDEs that do code parsing).

Differential Revision:

7 years agoBuildbot: fix path got pack step
Sergey Sharybin [Tue, 19 Nov 2013 10:01:45 +0000 (16:01 +0600)]
Buildbot: fix path got pack step

7 years agoFix T37535: Hebrew charset was missing two chars.
Bastien Montagne [Tue, 19 Nov 2013 10:00:53 +0000 (11:00 +0100)]
Fix T37535: Hebrew charset was missing two chars.

7 years agoBuildbot: tweaks for source directory
Sergey Sharybin [Tue, 19 Nov 2013 09:27:28 +0000 (15:27 +0600)]
Buildbot: tweaks for source directory

Need this so checkout of existing svn does not
interferes with new git checkout which would
need to be done.

7 years agoInitial tweaks to buildbot configuration
Sergey Sharybin [Tue, 19 Nov 2013 09:01:00 +0000 (15:01 +0600)]
Initial tweaks to buildbot configuration

Pretty much sure more tweaks would be needed,
but need this to get started.

7 years agoPotential fix for T37525: Viewer node causes crash
Sergey Sharybin [Tue, 19 Nov 2013 07:15:17 +0000 (13:15 +0600)]
Potential fix for T37525: Viewer node causes crash

LOCK_DRAW_IMAGE used to be unlocked twice. Now made it
so all the thread-unsafe code is inside a single lock/
unlock section.

7 years agoView3D: Add menu in the header is now context sensitive (like shift+a).
Campbell Barton [Tue, 19 Nov 2013 06:16:15 +0000 (17:16 +1100)]
View3D: Add menu in the header is now context sensitive (like shift+a).

7 years agoFix T37399: Crash with wireframe (wasn't clearing edge tag)
Campbell Barton [Tue, 19 Nov 2013 05:45:21 +0000 (16:45 +1100)]
Fix T37399: Crash with wireframe (wasn't clearing edge tag)

7 years agoFix T37445: Crash with snapping and shrink-wrap modifier.
Campbell Barton [Tue, 19 Nov 2013 03:31:26 +0000 (14:31 +1100)]
Fix T37445: Crash with snapping and shrink-wrap modifier.

Developer note:
BVHTREE_FROM_FACES was being used for both edit-mesh and derived-mesh
bvh-trees, this could cause index lookup errors in editmode.
Fix by adding a new type for editmesh so theres no confusion.

7 years agoFix T37464: Crash when pressing "V" in UV/Image editor
Campbell Barton [Tue, 19 Nov 2013 02:34:16 +0000 (13:34 +1100)]
Fix T37464: Crash when pressing "V" in UV/Image editor

Also fix for missing draw-handler free.
Delay activating until we know 'stitch_init' succeeds.

7 years agoFix T37519: Screw Modifier ignores material setup
Campbell Barton [Tue, 19 Nov 2013 02:11:31 +0000 (13:11 +1100)]
Fix T37519: Screw Modifier ignores material setup

This was more a missing feature then a bug, the modifier never handled
existing faces however with ngons its possible to get more useful
results. Also order edges from the faces (if available),
gives control over the face-winding-direction.

7 years agoFix T37472: crash when packing UV islands.
Campbell Barton [Tue, 19 Nov 2013 00:18:00 +0000 (11:18 +1100)]
Fix T37472: crash when packing UV islands.

7 years agoCMake: only enable opencollada by default on OS X and Windows, consistent with scons.
Brecht Van Lommel [Mon, 18 Nov 2013 16:12:19 +0000 (17:12 +0100)]
CMake: only enable opencollada by default on OS X and Windows, consistent with scons.

7 years agoFix T37171: Camera parented to a bone doesn't move with the bone, unless another...
Mitchell Stokes [Mon, 18 Nov 2013 22:52:07 +0000 (14:52 -0800)]
Fix T37171: Camera parented to a bone doesn't move with the bone, unless another object is parented too

Armatures used to check if any of their meshes were culled to see if they needed
to be updated. However, this meant armatures with no meshes would never update,
since non-mesh objects are always considered culled. Instead, if a non-culled
child was not found, we now check to see if the armature contained only
non-mesh objects. If this is the case, always update the armature. If this
becomes a problem, we can look into being able to cull non-mesh objects.

7 years agoFix T36756: Use Frame Rate option toolip was unclear about which FPS value to respect
Mitchell Stokes [Mon, 18 Nov 2013 22:18:46 +0000 (14:18 -0800)]
Fix T36756: Use Frame Rate option toolip was unclear about which FPS value to respect

7 years agoFix for running datablock eyedropper outside of a button.
Campbell Barton [Mon, 18 Nov 2013 20:10:56 +0000 (07:10 +1100)]
Fix for running datablock eyedropper outside of a button.

7 years agoFix T36998: Bisect would operate on unselected vertices.
Campbell Barton [Mon, 18 Nov 2013 20:00:18 +0000 (07:00 +1100)]
Fix T36998: Bisect would operate on unselected vertices.

7 years agoFix T37088: Crash with eyedropper (shortcut E)
Campbell Barton [Mon, 18 Nov 2013 18:49:39 +0000 (05:49 +1100)]
Fix T37088: Crash with eyedropper (shortcut E)

7 years agoFix T37336: Toggle selecting a pose-bone from object mode would de-select all others.
Campbell Barton [Mon, 18 Nov 2013 18:18:57 +0000 (05:18 +1100)]
Fix T37336: Toggle selecting a pose-bone from object mode would de-select all others.

7 years agoFix T37040: Removing vehicles in BGE causes a crash
Mitchell Stokes [Mon, 18 Nov 2013 17:30:46 +0000 (09:30 -0800)]
Fix T37040: Removing vehicles in BGE causes a crash

The vehicle constraint is now properly removed if bge.constraints.removeConstraint()
is used or the object is deleted. This also fixes a memory leak with the
vehicle wrapper.

7 years agoFix T37495: Duplis weren't handling negative scaled objects properly.
Campbell Barton [Mon, 18 Nov 2013 16:27:47 +0000 (03:27 +1100)]
Fix T37495: Duplis weren't handling negative scaled objects properly.

7 years agoFix T37506: Duplicate Area into New, was disabled on fullscreen but works ok.
Campbell Barton [Mon, 18 Nov 2013 15:52:34 +0000 (02:52 +1100)]
Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok.

7 years agoFix T37511: toggle-drag feature was crashing with menu items.
Campbell Barton [Mon, 18 Nov 2013 15:28:21 +0000 (02:28 +1100)]
Fix T37511: toggle-drag feature was crashing with menu items.

7 years agoCmake: after lot of times commit checking missed including collada, set on by default now
Jens Verwiebe [Mon, 18 Nov 2013 13:30:38 +0000 (14:30 +0100)]
Cmake: after lot of times commit checking missed including collada, set on by default now

7 years agoCompile Fix: fix for gcc4.8 with bmesh header.
Campbell Barton [Mon, 18 Nov 2013 12:54:07 +0000 (23:54 +1100)]
Compile Fix: fix for gcc4.8 with bmesh header.

7 years agoFix T37488: Crash with --debug reading userpref.blend
Sergey Sharybin [Mon, 18 Nov 2013 12:13:23 +0000 (18:13 +0600)]
Fix T37488: Crash with --debug reading userpref.blend

Issue was in fact caused by wrong DNA storage, which
apparently was considering unsigned long as just 4
bytes here.

Now use uint64_t to be sure timestamp does fit into
storage on all the platforms.

Thanks Campbell for help looking in the issue.

7 years agoFix T37289: ID User decrement error for Shapes on Bones when playing in BGE
Sergey Sharybin [Mon, 18 Nov 2013 11:17:43 +0000 (17:17 +0600)]
Fix T37289: ID User decrement error for Shapes on Bones when playing in BGE

GE was copying the pose channels without increasing user counter for a
custom bone shape object. Freeing copied pose will for give decrement

The same increment issue seems to happen in BKE_pose_copy_data, which
is also solved now.

7 years agoFix T37468: image empties now use no interpolation when mipmaps are disabled.
Brecht Van Lommel [Mon, 18 Nov 2013 10:26:37 +0000 (11:26 +0100)]
Fix T37468: image empties now use no interpolation when mipmaps are disabled.

Image empties don't actually support mipmaps right now, but the user preference
doubles as a way to disable any kind of interpolating in texture filter and just
show nearest neighbour filter, so for this is a bit more consistent.

7 years agoMaintenance: Shebang lines fix for some python scripts
Campbell Barton [Mon, 18 Nov 2013 09:38:53 +0000 (20:38 +1100)]
Maintenance: Shebang lines fix for some python scripts

7 years agoFix T37301: Command line render gives seg fault 11 on OS X
Sergey Sharybin [Mon, 18 Nov 2013 08:36:28 +0000 (14:36 +0600)]
Fix T37301: Command line render gives seg fault 11 on OS X

Issue was caused by wm->defaultconf being NULL when in
background mode which made keymap modifications from a
script crash.

Reviewed by Brecht, thanks!

7 years agoFix bug in maya/3dsmax keymaps caused by removed operator
Sergey Sharybin [Mon, 18 Nov 2013 08:27:10 +0000 (14:27 +0600)]
Fix bug in maya/3dsmax keymaps caused by removed operator

Once again, when you remove operator make sure keymaps we've
got in master branch keeps working.

7 years agoFix part of T37326: IMAGE_OT_invert won't update if buffer is float
Sergey Sharybin [Mon, 18 Nov 2013 08:18:01 +0000 (14:18 +0600)]
Fix part of T37326: IMAGE_OT_invert won't update if buffer is float

Need to mark display buffer as out-of-date.

7 years agoFix T37345: Image baking progress bar wrongly appears in node editor
Sergey Sharybin [Mon, 18 Nov 2013 08:02:58 +0000 (14:02 +0600)]
Fix T37345: Image baking progress bar wrongly appears in node editor

Baking job is owned by scene but only need to update image space
contexts. This leads to job progress bar stuck in node editor.

Made it so node editor does not display baking jobs now.

7 years agoCycles: change __device and similar qualifiers to ccl_device in kernel code.
Brecht Van Lommel [Fri, 15 Nov 2013 23:17:10 +0000 (00:17 +0100)]
Cycles: change __device and similar qualifiers to ccl_device in kernel code.

This to avoids build conflicts with libc++ on FreeBSD, these __ prefixed values
are reserved for compilers. I apologize to anyone who has patches or branches
and has to go through the pain of merging this change, it may be easiest to do
these same replacements in your code and then apply/merge the patch.

Ref T37477.

7 years agoFix T37428: NurbsPath Mesh Deform "Binding" not available or not functional
Sergey Sharybin [Mon, 18 Nov 2013 07:36:13 +0000 (13:36 +0600)]
Fix T37428: NurbsPath Mesh Deform "Binding" not available or not functional

Seems to be a regression when Campbell was working on T24009.

Bind operator exec handles curves nicely, could not see reason
why to disable this with a poll function.

From quick tests everything seems to be just fine.

7 years agoBMesh Refactor: BKE_bmbvh_new can now be created without an EditMesh.
Walid Shouman [Mon, 18 Nov 2013 07:20:21 +0000 (18:20 +1100)]
BMesh Refactor: BKE_bmbvh_new can now be created without an EditMesh.

This adds BM_bmesh_calc_tessellation() so we can get triangles from a
bmesh without having to have an editmesh available.

7 years agoFix T37486: Displacement bake from multires crashes when preview level is on 0
Sergey Sharybin [Mon, 18 Nov 2013 07:05:57 +0000 (13:05 +0600)]
Fix T37486: Displacement bake from multires crashes when preview level is on 0

Revert "Code cleanup: remove unused block from multire baker"

This reverts commit 63b01f6beee8eced14ff013ca93732f5c176ad10.

Multires displacement baker in fact uses level 0 for the
original subdivided mesh. Missed this when was making an
original commit.

7 years agoFix for T36936: Crash when starting BI rendered view
IRIE Shinsuke [Mon, 18 Nov 2013 02:30:06 +0000 (11:30 +0900)]
Fix for T36936: Crash when starting BI rendered view

Discard the render database when stopping the rendered preview,
otherwise starting it again may cause a segmentation fault because
undo/redo with non-rendered preview corrupts the database.

7 years agoPatch T37363: Highlight bone layers with active bones (as for Object Layers)
Joshua Leung [Mon, 18 Nov 2013 03:06:31 +0000 (16:06 +1300)]
Patch T37363: Highlight bone layers with active bones (as for Object Layers)

Patch by Jose Molina Garcia (sentinel), with style fixes by myself.

7 years agoCode cleanup - Reduce duplication of layer number calculations here
Joshua Leung [Mon, 18 Nov 2013 02:53:46 +0000 (15:53 +1300)]
Code cleanup - Reduce duplication of layer number calculations here

7 years agoFix T37413 - Fit-Curve option for Array Modifier ignores constraint results
Joshua Leung [Mon, 18 Nov 2013 01:02:49 +0000 (14:02 +1300)]
Fix T37413 - Fit-Curve option for Array Modifier ignores constraint results

Unless I'm missing something here (probably with regards to parenting),
it makes more sense that constraint results are considered here as well
(for example, if Limit Scale constraints get applied on the object),
as this allows for greater flexibility when creating setups with this.

7 years agoFix spelling error in comment
Joshua Leung [Sun, 17 Nov 2013 12:54:10 +0000 (01:54 +1300)]
Fix spelling error in comment

7 years agoFix T37325: applyRotation() wasn't working correctly on rigid bodies in the game...
Mitchell Stokes [Mon, 18 Nov 2013 00:04:26 +0000 (16:04 -0800)]
Fix T37325: applyRotation() wasn't working correctly on rigid bodies in the game engine.

During the physics cleanup/refactor, the rotation matrix in
CcdPhysicsController::RelativeRotate() became transposed.

7 years agofix for crash with new buildinfo, when gmtime() returns NULL
Campbell Barton [Sun, 17 Nov 2013 15:39:26 +0000 (02:39 +1100)]
fix for crash with new buildinfo, when gmtime() returns NULL

7 years agoCMake OS X: enable FFMPEG and Quicktime by default to match release and scons.
Brecht Van Lommel [Sun, 17 Nov 2013 08:23:18 +0000 (09:23 +0100)]
CMake OS X: enable FFMPEG and Quicktime by default to match release and scons.

7 years agoOSX/scons: using ditto autocreates dirs, spares 2 steps of mkdir iterating over ...
Jens Verwiebe [Sun, 17 Nov 2013 14:16:21 +0000 (15:16 +0100)]
OSX/scons: using ditto autocreates dirs, spares 2 steps of mkdir iterating over .mo files, faster bundling

7 years agoStyle Cleanup: whitespace
Campbell Barton [Sun, 17 Nov 2013 11:00:57 +0000 (22:00 +1100)]
Style Cleanup: whitespace

7 years agoConvenience Makefile: spaces in the build path would fail still.
Campbell Barton [Sun, 17 Nov 2013 10:16:39 +0000 (21:16 +1100)]
Convenience Makefile: spaces in the build path would fail still.

7 years agoconvenience makefile: support spaces in paths
Campbell Barton [Sun, 17 Nov 2013 07:54:03 +0000 (18:54 +1100)]
convenience makefile: support spaces in paths

also update for new source/tools paths.

7 years agopython api internals: no need to set the stop-iter exception string.
Campbell Barton [Sun, 17 Nov 2013 04:09:57 +0000 (15:09 +1100)]
python api internals: no need to set the stop-iter exception string.

7 years agovertex weights: add weight quantize tool.
Campbell Barton [Sun, 17 Nov 2013 03:54:42 +0000 (14:54 +1100)]
vertex weights: add weight quantize tool.

7 years ago* Some less technical tooltip for the splash screen.
Thomas Dinges [Sat, 16 Nov 2013 23:44:08 +0000 (00:44 +0100)]
* Some less technical tooltip for the splash screen.

7 years agoDocumentation:
Thomas Dinges [Sat, 16 Nov 2013 23:37:12 +0000 (00:37 +0100)]
* Update readme for 2.70 (content + links), also updates for new tracker/git.
* Fix some links to the new website
* Release logs now point directly to the wiki, I don't see a reason to point to the website, just to redirect to the wiki after all.

7 years agoFreestyle: a follow-up fix of trunk revision 61233. When an iterator has reached
Tamito Kajiyama [Sat, 16 Nov 2013 22:10:27 +0000 (22:10 +0000)]
Freestyle: a follow-up fix of trunk revision 61233.  When an iterator has reached
the end, any reference of the object pointed by it will now lead to a RuntimeError
instead of returning None, with the aim of forcing Python API users to check the
end of iteration rather than implicitly indicating the error condition.

Acknowledgement to flokkievids for API discussions in the
Freestyle for Blender thread.

7 years agoOSX/scons: small reorder and spelling
Jens Verwiebe [Sat, 16 Nov 2013 21:13:51 +0000 (22:13 +0100)]
OSX/scons: small reorder and spelling

7 years agoOSX/scons: fix msgfmt binary linking and locale files distribution
Jens Verwiebe [Sat, 16 Nov 2013 20:46:35 +0000 (21:46 +0100)]
OSX/scons: fix msgfmt binary linking and locale files distribution

7 years agoTransform: vertex snapping for curves
Henrik Aarnio [Sat, 16 Nov 2013 18:58:29 +0000 (19:58 +0100)]
Transform: vertex snapping for curves

This adds vertex snapping capabilities for curves. Snaps to all control points
of other objects, and visible + selected control points and handles in curve
edit mode.

Reviewed By: brecht

Differential Revision:

7 years agoFix compilation error with SCons when using BUILDINFO and git is not found
Sergey Sharybin [Sat, 16 Nov 2013 18:45:11 +0000 (00:45 +0600)]
Fix compilation error with SCons when using BUILDINFO and git is not found

Fallback to "no buildinfo" mode in this case.

7 years agopose mode: extend selection flipping to use the same method as editmode.
Campbell Barton [Sat, 16 Nov 2013 18:18:10 +0000 (05:18 +1100)]
pose mode: extend selection flipping to use the same method as editmode.

adds extend and active only opton.

7 years agoarmature editmode: option for select mirror to use active bone only.
Campbell Barton [Sat, 16 Nov 2013 17:41:37 +0000 (04:41 +1100)]
armature editmode: option for select mirror to use active bone only.

7 years agocode cleanup: armature functions
Campbell Barton [Sat, 16 Nov 2013 17:30:36 +0000 (04:30 +1100)]
code cleanup: armature functions

- added BKE_pose_channel_get_mirrored (matching editmode function ED_armature_bone_get_mirrored)
- editbone_name_exists -> ED_armature_bone_find_name

7 years agocode cleanup: rename flip_side_name to BKE_deform_flip_side_name
Campbell Barton [Sat, 16 Nov 2013 17:20:31 +0000 (04:20 +1100)]
code cleanup: rename flip_side_name to BKE_deform_flip_side_name

7 years agoSkip .git files from submodules for install targets
Sergey Sharybin [Sat, 16 Nov 2013 18:18:21 +0000 (00:18 +0600)]
Skip .git files from submodules for install targets

Also removed .svn checks when it's not longer needed.
Some further tweaks (probably for OSX bundler) are
likely needed.

7 years agoRemove check for whether po folder exist
Sergey Sharybin [Sat, 16 Nov 2013 18:09:03 +0000 (00:09 +0600)]
Remove check for whether po folder exist

It was just a temp thing to not break stuff
before final git migration.

7 years agoFixes for buildinfo of exported source tree
Sergey Sharybin [Sat, 16 Nov 2013 18:00:02 +0000 (00:00 +0600)]
Fixes for buildinfo of exported source tree

- Better to set branch/hash to "unknown" so
  it's clear build is done from exported tree.
- SCons used to reference undefined variable.

7 years agoarmature editing: using too short length checking to add L/R suffix.
Campbell Barton [Sat, 16 Nov 2013 17:03:09 +0000 (04:03 +1100)]
armature editing: using too short length checking to add L/R suffix.

7 years agoFurther tweak to .mo compilation on windows
Sergey Sharybin [Sat, 16 Nov 2013 16:33:05 +0000 (22:33 +0600)]
Further tweak to .mo compilation on windows

Was wrong dependency used for msgfmt custom command.

7 years agoFix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5°
Sv. Lockal [Sat, 16 Nov 2013 15:34:06 +0000 (19:34 +0400)]
Fix T37493: Defocus node with angle = 90° rotates bokeh only for ~1.5°

7 years agoGit test commit, this time from Windows.
Thomas Dinges [Sat, 16 Nov 2013 15:13:18 +0000 (16:13 +0100)]
Git test commit, this time from Windows.

7 years agoAttempt to fix compilation error on windows
Sergey Sharybin [Sat, 16 Nov 2013 14:39:36 +0000 (20:39 +0600)]
Attempt to fix compilation error on windows

Seems simply need to add .exe to msgfmt executable when
adding custom command to SCons.

Don't have windows by hand atm, so can not test for sure.

7 years agoMore fix for this stupid uppercase-to-lowercase convertion code... Thanks to Lockal...
Bastien Montagne [Sat, 16 Nov 2013 14:31:00 +0000 (15:31 +0100)]
More fix for this stupid uppercase-to-lowercase convertion code... Thanks to Lockal for noting this!

7 years agoRemove nested check for .git folder exists in buildinfo.cmake
Sergey Sharybin [Sat, 16 Nov 2013 13:40:26 +0000 (19:40 +0600)]
Remove nested check for .git folder exists in buildinfo.cmake

Title says it all :)

Pointer by IRIE Shinsuke in the ML, thanks!

7 years agoFix T37476 Bevel modifier got weight from wrong edge
Howard Trickey [Sat, 16 Nov 2013 13:07:03 +0000 (08:07 -0500)]
Fix T37476 Bevel modifier got weight from wrong edge

The bevel modifier with 'weight' activated was reading
the weights from the wrong edges.

7 years agoAnd here is the first git (testing) commit by me!
Ton Roosendaal [Sat, 16 Nov 2013 10:57:40 +0000 (11:57 +0100)]
And here is the first git (testing) commit by me!
Welcome to a brave new GPL3 world... well if commit works :)

7 years agoFix T37442: Disabled uiList would "freeze" Blender when trying to drag-resize it.
mont29 [Sat, 16 Nov 2013 10:30:48 +0000 (11:30 +0100)]
Fix T37442: Disabled uiList would "freeze" Blender when trying to drag-resize it.

For now, simply disable drag-resize for disabled uiLists!

7 years agoTest
Thomas Dinges [Sat, 16 Nov 2013 09:59:08 +0000 (10:59 +0100)]

7 years agoThe tittle for "Maximum Draw Type" had capitalization inconsistent with the rest...
Daniel Salazar [Sat, 16 Nov 2013 08:50:01 +0000 (02:50 -0600)]
The tittle for "Maximum Draw Type" had capitalization inconsistent with the rest of Blender

7 years agorangetree: support for building on freebsd-10
Campbell Barton [Sat, 16 Nov 2013 07:31:13 +0000 (18:31 +1100)]
rangetree: support for building on freebsd-10

7 years agoHelp menu: report a bug now links to the new tracker at
Brecht Van Lommel [Sat, 16 Nov 2013 02:26:04 +0000 (03:26 +0100)]
Help menu: report a bug now links to the new tracker at

There will be a redirect from the website as well, but
might as well update the link here.

7 years agoAddons: remove tracker URL from addon template, as this is no longer used,
Brecht Van Lömmel [Sat, 16 Nov 2013 02:08:51 +0000 (03:08 +0100)]
Addons: remove tracker URL from addon template, as this is no longer used,
and link to the new Addons bug reporting page.

7 years agoOSX/cmake: rollback ca5bbe0e419b04d16ee7eb12fa7eaffa0266815a cause OSX versions can...
Jens Verwiebe [Fri, 15 Nov 2013 22:20:16 +0000 (23:20 +0100)]
OSX/cmake: rollback ca5bbe0e419b04d16ee7eb12fa7eaffa0266815a cause OSX versions can have not subversion thus sw_vers -productVersion is not usable for sdk setting

7 years agoCode cleanup, cont. A small omission here.
Antony Riakiotakis [Fri, 15 Nov 2013 21:04:18 +0000 (23:04 +0200)]
Code cleanup, cont. A small omission here.

7 years agoCode cleanup: Use different redraw options for sculpt mask operators.
Antony Riakiotakis [Fri, 15 Nov 2013 21:00:15 +0000 (23:00 +0200)]
Code cleanup: Use different redraw options for sculpt mask operators.

Current redraw options also did an unnecessary normal recalculation on
updated nodes.

Also, for the box and lasso mask only push an undo node if any vertex
has actually been influenced.

7 years agoSupport for symmetrical box masking in sculpt mode.
Antony Riakiotakis [Fri, 15 Nov 2013 20:20:51 +0000 (22:20 +0200)]
Support for symmetrical box masking in sculpt mode.

Now box masking will take the symmetry options into account.

7 years agoOSX/cmake: use CMAKE_XCODE_ATTRIBUTE rather than CMAKE_OSX_SYSROOT and set min deploy...
Jens Verwiebe [Fri, 15 Nov 2013 19:05:23 +0000 (20:05 +0100)]
OSX/cmake: use CMAKE_XCODE_ATTRIBUTE rather than CMAKE_OSX_SYSROOT and set min deployment target to 10.6 now

7 years agoOSX/cmake: simplify system-version detection
Jens Verwiebe [Fri, 15 Nov 2013 18:26:43 +0000 (19:26 +0100)]
OSX/cmake: simplify system-version detection

7 years agoFix collada after git switch ( undefined build_commit_time )
Jens [Fri, 15 Nov 2013 17:37:57 +0000 (18:37 +0100)]
Fix collada after git switch ( undefined build_commit_time )

7 years agoFix for own mistake in r61178: bNodeTree->links ListBase was being modified while...
Lukas Tönne [Fri, 15 Nov 2013 15:54:05 +0000 (16:54 +0100)]
Fix for own mistake in r61178: bNodeTree->links ListBase was being modified while iterating ...

7 years agoFix Bevel artifacts bug T37053
howardt [Fri, 15 Nov 2013 15:19:38 +0000 (10:19 -0500)]
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.

7 years agoCmake: little typo breaking player
jensverwiebe [Fri, 15 Nov 2013 15:30:49 +0000 (16:30 +0100)]
Cmake: little typo breaking player

7 years agoOSX/scons: make another gcc conditional futureproof
Jens Verwiebe [Fri, 15 Nov 2013 09:46:10 +0000 (10:46 +0100)]
OSX/scons: make another gcc conditional futureproof

7 years agoAdded the wrong file. Now addin .arcconfig for real.
Sergey Sharybin [Fri, 15 Nov 2013 14:40:43 +0000 (20:40 +0600)]
Added the wrong file. Now addin .arcconfig for real.

Summary is still:

7 years agoAdd .arcconfig for Phabricator Arcanist
Sergey Sharybin [Fri, 15 Nov 2013 14:38:39 +0000 (20:38 +0600)]
Add .arcconfig for Phabricator Arcanist


7 years agoFurther tweaks to buildinfo
Sergey Sharybin [Fri, 15 Nov 2013 11:11:59 +0000 (17:11 +0600)]
Further tweaks to buildinfo

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 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:

7 years agosupport for paths with spaces in makefile
Campbell Barton [Fri, 15 Nov 2013 07:59:50 +0000 (18:59 +1100)]
support for paths with spaces in makefile

7 years agoadd gitignore
Campbell Barton [Fri, 15 Nov 2013 07:51:31 +0000 (18:51 +1100)]
add gitignore

7 years agoAdd functional and cctype headers to
Sergey Sharybin [Thu, 14 Nov 2013 21:51:17 +0000 (03:51 +0600)]
Add functional and cctype headers to

Fixes compilation with MSVC compilers.

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

Differential Revision:

7 years agoFix for msgfmt leaving context from previous message string
Sergey Sharybin [Wed, 13 Nov 2013 11:02:28 +0000 (17:02 +0600)]
Fix for msgfmt leaving context from previous message string

7 years agoRemove debug-only print from cmake macros
Sergey Sharybin [Wed, 13 Nov 2013 10:42:31 +0000 (16:42 +0600)]
Remove debug-only print from cmake macros

Left it there by an accident.