blender.git
7 years agoFix T38795: Mesh Analysis overhang faces show gray
Campbell Barton [Mon, 24 Feb 2014 08:53:44 +0000 (19:53 +1100)]
Fix T38795: Mesh Analysis overhang faces show gray

7 years agoFix T38756: Regression with vertex slide responding to mouse events
Campbell Barton [Mon, 24 Feb 2014 08:34:36 +0000 (19:34 +1100)]
Fix T38756: Regression with vertex slide responding to mouse events

7 years agoFix T38786: Curve unable to make segment
Campbell Barton [Mon, 24 Feb 2014 08:24:52 +0000 (19:24 +1100)]
Fix T38786: Curve unable to make segment

7 years agoFix for recent changes with NDOF
Campbell Barton [Mon, 24 Feb 2014 06:21:25 +0000 (17:21 +1100)]
Fix for recent changes with NDOF

7 years agoNDOF: various fixes for view3d
Campbell Barton [Mon, 24 Feb 2014 04:15:17 +0000 (15:15 +1100)]
NDOF: various fixes for view3d

- allow zooming when in ortho+user mode
- fix for using VIEW3D_OT_ndof_orbit_zoom when the camera is locked.
- fix for locked camera changing the dist value when used with ndof.
- de-duplicate ndof_pan_zoom and ndof_all operators

7 years agoNDOF: Auto-Depth preference was used while orbiting
Campbell Barton [Mon, 24 Feb 2014 01:53:31 +0000 (12:53 +1100)]
NDOF: Auto-Depth preference was used while orbiting

7 years agoNDOF: fix for use with locked offset
Campbell Barton [Mon, 24 Feb 2014 01:36:57 +0000 (12:36 +1100)]
NDOF: fix for use with locked offset

- when locked to cursor or object. fallback to orbit and allow zoom.
- correct speed calculation in perspective mode.

7 years agoOSX/scons: Fix language menu not showing up in prefs:
Jens Verwiebe [Sun, 23 Feb 2014 22:17:19 +0000 (23:17 +0100)]
OSX/scons: Fix language menu not showing up in prefs:
The languages file was not installed to locale due it has
no extension, using ditto now

7 years agoPartial fix for T3817: BGE crashing when using LibNew.
Mitchell Stokes [Sun, 23 Feb 2014 20:44:33 +0000 (12:44 -0800)]
Partial fix for T3817: BGE crashing when using LibNew.

The BGE needs to use BKE_main_new() isntead of calloc for
allocating a Main struct since the threaded depsgraph changes.

7 years agoFix an uncaught exception on OSX, perhaps general with popups
Jens Verwiebe [Sun, 23 Feb 2014 19:38:29 +0000 (20:38 +0100)]
Fix an uncaught exception on OSX, perhaps general with popups

7 years agoT38763 Fix: avoid NPE When no custom properties are defined
gaiaclary [Sun, 23 Feb 2014 14:32:49 +0000 (15:32 +0100)]
T38763 Fix: avoid NPE When no custom properties are defined

7 years agoFix T38769: Python missing access to text materials
Campbell Barton [Sun, 23 Feb 2014 07:38:08 +0000 (18:38 +1100)]
Fix T38769: Python missing access to text materials

7 years agoMSVC: resolve utf8 encoding issue with some codepages
Campbell Barton [Sun, 23 Feb 2014 03:36:31 +0000 (14:36 +1100)]
MSVC: resolve utf8 encoding issue with some codepages

7 years agoCode cleanup: use lowercase names for vars
Campbell Barton [Sat, 22 Feb 2014 11:09:55 +0000 (22:09 +1100)]
Code cleanup: use lowercase names for vars

7 years agoFix T38645 - Mouse reversed in standalone player with kde
brita [Sun, 23 Feb 2014 01:23:18 +0000 (17:23 -0800)]
Fix T38645 - Mouse reversed in standalone player with kde

Reviewers: moguri

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

7 years agoFollowup for numinput: activate numinput when hitting pad* or =, this is the expected...
Bastien Montagne [Sat, 22 Feb 2014 14:02:49 +0000 (15:02 +0100)]
Followup for numinput: activate numinput when hitting pad* or =, this is the expected behavior from users!

7 years agoAvoid UUOC in install_deps.sh
Lawrence D'Oliveiro [Sat, 22 Feb 2014 13:31:43 +0000 (14:31 +0100)]
Avoid UUOC in install_deps.sh

The file ##build_files/build_environment/install_deps.sh## contains the following line:

  THREADS=`cat /proc/cpuinfo | grep processor | wc -l`

The command within the backticks is a [[ http://catb.org/jargon/html/U/UUOC.html | Useless Use Of Cat ]].

A more compact way of writing the same thing (saving two subprocesses) is

  THREADS=`grep -c processor /proc/cpuinfo`

or (using POSIX-preferred command-substitution parentheses instead of backticks)

  THREADS=$(grep -c processor /proc/cpuinfo)

But the most compact, and least Linux-specific, way is to use the ##nproc##(1) command from the [[ http://www.gnu.org/software/coreutils/manual/html_node/nproc-invocation.html | GNU coreutils package ]]:

  THREADS=$(nproc)

Reviewers: sergey, mont29

Reviewed by: mont29

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

7 years agoMinor UI messages fixes.
Bastien Montagne [Sat, 22 Feb 2014 12:49:40 +0000 (13:49 +0100)]
Minor UI messages fixes.

7 years agoFix T38743: Modal input feature appears to be missing from 2.70 test builds
Bastien Montagne [Sat, 22 Feb 2014 11:08:39 +0000 (12:08 +0100)]
Fix T38743: Modal input feature appears to be missing from 2.70 test builds

Add 'pad *' in addition to '=' to toggle basic/advanced numinput modes.

7 years agoFix T38407: Bone roll calculation flips local axes at wrong rotation angle.
Bastien Montagne [Sat, 22 Feb 2014 10:12:44 +0000 (11:12 +0100)]
Fix T38407: Bone roll calculation flips local axes at wrong rotation angle.

Basic idea is now to have the transformes bones keep "facing" the armature's Z axis, see comments in code for details.

That might not be ideal, but at least we now have humanly predictable and consistent results.

7 years agoReplace the int argument for user count mode when restoring pointers on
Lukas Tönne [Fri, 21 Feb 2014 09:29:08 +0000 (10:29 +0100)]
Replace the int argument for user count mode when restoring pointers on
undo with a nicer enum.

This is more transparent about what happens with the user count.
Also added comments to make certain the meaning of these values is
easily understandable.

7 years agoDocs: doxygen sections for bmesh walkers
Campbell Barton [Sat, 22 Feb 2014 07:51:32 +0000 (18:51 +1100)]
Docs: doxygen sections for bmesh walkers

7 years agoFix T38753: Python script paths weren't escaped (Win only)
Campbell Barton [Sat, 22 Feb 2014 06:54:50 +0000 (17:54 +1100)]
Fix T38753: Python script paths weren't escaped (Win only)

7 years agoNDOF: fix for view3d ignoring lens values when panning
Campbell Barton [Sat, 22 Feb 2014 05:19:02 +0000 (16:19 +1100)]
NDOF: fix for view3d ignoring lens values when panning

image, mce, view2d and view3d now have matching pan speed.

7 years agoFix T38539: Can't set near sensor distance above 100 via python
Campbell Barton [Sat, 22 Feb 2014 02:57:12 +0000 (13:57 +1100)]
Fix T38539: Can't set near sensor distance above 100 via python

7 years agoFix T38348: Panel remains scrolled when switching tabs
Campbell Barton [Sat, 22 Feb 2014 02:07:02 +0000 (13:07 +1100)]
Fix T38348: Panel remains scrolled when switching tabs

7 years agoCode cleanup: style
Campbell Barton [Sat, 22 Feb 2014 00:14:15 +0000 (11:14 +1100)]
Code cleanup: style

7 years agoFix more of T38726: there still was a crash when deleting render layers.
Brecht Van Lommel [Fri, 21 Feb 2014 15:35:23 +0000 (16:35 +0100)]
Fix more of T38726: there still was a crash when deleting render layers.

7 years agoFix cycles standalone crash on Mac OS X.
Brecht Van Lommel [Fri, 21 Feb 2014 14:39:46 +0000 (15:39 +0100)]
Fix cycles standalone crash on Mac OS X.

7 years agoFix T38726: blender internal viewport render crash when deleting render layer.
Brecht Van Lommel [Fri, 21 Feb 2014 14:10:47 +0000 (15:10 +0100)]
Fix T38726: blender internal viewport render crash when deleting render layer.

7 years agoFix T38740: multi-user metaballs not rendering in Cycles.
Brecht Van Lommel [Fri, 21 Feb 2014 14:03:24 +0000 (15:03 +0100)]
Fix T38740: multi-user metaballs not rendering in Cycles.

7 years agoBugfix: Toggling "auto-blends" option on NLA Strips doesn't update them immediately
Joshua Leung [Fri, 21 Feb 2014 11:52:40 +0000 (00:52 +1300)]
Bugfix: Toggling "auto-blends" option on NLA Strips doesn't update them immediately

7 years agoFix T38737: Box select channels in dope sheet doesn't select corresponding bones...
Joshua Leung [Fri, 21 Feb 2014 11:51:37 +0000 (00:51 +1300)]
Fix T38737: Box select channels in dope sheet doesn't select corresponding bones in rig

7 years agoFix T38739: Simulations, unsupported in the Game Engine, could not be removed from...
Thomas Dinges [Fri, 21 Feb 2014 11:46:17 +0000 (12:46 +0100)]
Fix T38739: Simulations, unsupported in the Game Engine, could not be removed from the UI.

Also shorten info messages a bit.

7 years agoFix T37719: NodeTrees lose users on undo.
Lukas Tönne [Fri, 21 Feb 2014 09:08:49 +0000 (10:08 +0100)]
Fix T37719: NodeTrees lose users on undo.

The node editor needs to "ensure real user" (id_us_ensure_real) on all
the node trees. This was done correctly for all open groups, but missing
for the base node tree. Function is a bit hidden behind anonymous
arguments in readfile.c ...

7 years agoFix T38598: RGBA images don't blend well in VSE with Cross Effect Strip
Sergey Sharybin [Fri, 21 Feb 2014 08:01:12 +0000 (14:01 +0600)]
Fix T38598: RGBA images don't blend well in VSE with Cross Effect Strip

The issue was caused by the fact that sequencer used to cross-over effect
result with strips used for this effect, which is really stupid.

Now made it so strips which are used for effect inputs are not in the
render stack to be sure they would only be used by effect itself and
wouldn't be blended in any other way.

7 years agoReduce crease & bevel weight precision to hide float/ubyte rounding
Campbell Barton [Fri, 21 Feb 2014 07:27:28 +0000 (18:27 +1100)]
Reduce crease & bevel weight precision to hide float/ubyte rounding

7 years agoFix T38736: ShrinkWrap modifier doesn't work after Subsurf
Campbell Barton [Fri, 21 Feb 2014 07:10:44 +0000 (18:10 +1100)]
Fix T38736: ShrinkWrap modifier doesn't work after Subsurf

7 years agoNDOF: Fit key working for logic, clip and sequencer
Campbell Barton [Fri, 21 Feb 2014 05:59:01 +0000 (16:59 +1100)]
NDOF: Fit key working for logic, clip and sequencer

Patch D334 from Inês Almeida

7 years agoFix own error - tab scrolling mixed up region/window coords
Campbell Barton [Fri, 21 Feb 2014 05:12:53 +0000 (16:12 +1100)]
Fix own error - tab scrolling mixed up region/window coords

7 years agoUI: Increase cursor distance to leave keyboard navigation
Campbell Barton [Fri, 21 Feb 2014 04:57:09 +0000 (15:57 +1100)]
UI: Increase cursor distance to leave keyboard navigation

This mitigates T38505, where moving the mouse while using the wheel/keys
can exit the submenu.
So at least smaller unintentional movements won't be misinterpreted.

7 years agoModifier: rename triangulate scanfill to ear-clip
Campbell Barton [Fri, 21 Feb 2014 04:03:34 +0000 (15:03 +1100)]
Modifier: rename triangulate scanfill to ear-clip

7 years agoFix random select in edge/face mode
Campbell Barton [Thu, 20 Feb 2014 21:51:30 +0000 (08:51 +1100)]
Fix random select in edge/face mode

patch D336 from Henrik Aarnio

7 years agoFix for BM_mesh_deselect_flush(), allowed faces with deselected edges
Campbell Barton [Thu, 20 Feb 2014 21:01:24 +0000 (08:01 +1100)]
Fix for BM_mesh_deselect_flush(), allowed faces with deselected edges

7 years agoMotion tracking panel compactification in 3D viewport properties
Sergey Sharybin [Thu, 20 Feb 2014 16:01:10 +0000 (22:01 +0600)]
Motion tracking panel compactification in 3D viewport properties

Patch by Sebastian Koenig, thanks!

7 years agoFixes for buildinfo hash/branch detection
Sergey Sharybin [Thu, 20 Feb 2014 15:43:30 +0000 (21:43 +0600)]
Fixes for buildinfo hash/branch detection

Branch name and hash didn't work properly when having disconnected
HEAD or when having current HEAD below upstream.

7 years agoFix for bad imbuf creation by compositor viewers if resolution is (0,0).
Lukas Tönne [Thu, 20 Feb 2014 11:07:34 +0000 (12:07 +0100)]
Fix for bad imbuf creation by compositor viewers if resolution is (0,0).

This can happen if no image buffers are used to define a sensible
resolution. Then the viewer will stiff create a float buffer in the
output imbuf, which defies the usual ibuf->rect_float check and leads
to invalid memory access. Float buffer should not be created in this
case.

7 years agoFix for reading past allocated bounds when calculating paths
Campbell Barton [Thu, 20 Feb 2014 09:28:30 +0000 (20:28 +1100)]
Fix for reading past allocated bounds when calculating paths

7 years agoFix for off-by-one error switching nurbs direction
Campbell Barton [Thu, 20 Feb 2014 09:09:06 +0000 (20:09 +1100)]
Fix for off-by-one error switching nurbs direction

7 years agoDocs: update man page script based on D251
Campbell Barton [Thu, 20 Feb 2014 06:05:15 +0000 (17:05 +1100)]
Docs: update man page script based on D251

7 years agoFix crash when deleting strip used as mask in another strip modifier
Sergey Sharybin [Thu, 20 Feb 2014 07:52:49 +0000 (13:52 +0600)]
Fix crash when deleting strip used as mask in another strip modifier

7 years agoAllow using strips from the top of the stack as modifier arguments
Sergey Sharybin [Thu, 20 Feb 2014 07:36:07 +0000 (13:36 +0600)]
Allow using strips from the top of the stack as modifier arguments

Poll function tried to be smart and disallow having dependency cycles,
but it didn't work properly. Further, it still possible to re-shuffle
strips stack in the way which introduces dependency cycles.

So disabled this smartness in the poll function for now.

7 years agoEditmesh: add convex hull to vertex menu
Campbell Barton [Thu, 20 Feb 2014 05:32:23 +0000 (16:32 +1100)]
Editmesh: add convex hull to vertex menu

7 years agoTransform: revert to 2.69 numeric input behavior by default
Bastien Montagne [Thu, 20 Feb 2014 05:11:36 +0000 (16:11 +1100)]
Transform: revert to 2.69 numeric input behavior by default

This allows to get the same "quickies" as in previous (2.69) code, (XYZ, -/, etc.), yet keeping nice non-conflicting new stuff like cursor navigation or copy/paste.

You can switch to full mode hitting '=', and back to simple mode hitting 'ctrl ='.

7 years agoTransform: skip setting colors when picking with the manipulator
Campbell Barton [Thu, 20 Feb 2014 03:34:50 +0000 (14:34 +1100)]
Transform: skip setting colors when picking with the manipulator

7 years agoNDOF: yaw/pitch were swapped and add timeline fit.
Campbell Barton [Thu, 20 Feb 2014 02:31:47 +0000 (13:31 +1100)]
NDOF: yaw/pitch were swapped and add timeline fit.

7 years agoUI: Fix for rna-enum submenus not showing a right arrow
Campbell Barton [Thu, 20 Feb 2014 02:30:52 +0000 (13:30 +1100)]
UI: Fix for rna-enum submenus not showing a right arrow

7 years agoFix T38723: Crash on loading with NULL sequence stripdata
Campbell Barton [Thu, 20 Feb 2014 01:32:47 +0000 (12:32 +1100)]
Fix T38723: Crash on loading with NULL sequence stripdata

7 years agoNDOF: define 2 default navigation modes: free & orbit
Campbell Barton [Wed, 19 Feb 2014 23:00:16 +0000 (10:00 +1100)]
NDOF: define 2 default navigation modes: free & orbit

After some discussion it seems both are valid defaults but useful for
very different purposes.

- 'free' lets you explore the scene with full 6dof (like fly mode)
- 'orbit' is closer to typical mouse view orbit, constraining to orbiting about a central location.

This doesn't effect orbit/pan which are available with modifier keys.

7 years agoOSX/Cmake: tentative handling for clang-omp,
Jens Verwiebe [Wed, 19 Feb 2014 20:44:44 +0000 (21:44 +0100)]
OSX/Cmake: tentative handling for clang-omp,
set flags hardcoded when used

7 years agoImage Editor: Fix View menu, after Scopes rename.
Thomas Dinges [Wed, 19 Feb 2014 20:02:51 +0000 (21:02 +0100)]
Image Editor: Fix View menu, after Scopes rename.

7 years agoUse tabs for image editor.
Antony Riakiotakis [Thu, 13 Feb 2014 17:49:26 +0000 (19:49 +0200)]
Use tabs for image editor.

For initial discussion see T38371

This commit organized panels for image editor to new tab categories dependent
on the image editor mode:

View Mode:
Tools - contains UV tools (currently only transform and UV Sculpting)
Scopes - contains scopes
Grease Pencil - contains Grease Pencil operators

Paint Mode:
Tools - contains brush options
Scopes - as above
Grease Pencil - as above

Mask Mode
Mask - contains mask tools
Scopes - as above
Grease Pencil - as above

Grease Pencil panel/tab now includes operators, not view options which have been
moved to the UI region on the right.
To make this work better, image editor toolbar now is of type TOOLS instead
of PREVIEW as was the case previously. A nice version patch makes sure all
works predictably, but opening newer files with older blender executables
could backfire.

This commit does not address which UV Tools will be included in the
Tools tab for the view mode, but does include some basic tools (transform)
and provides a class to inherit from to avoid conflicts with UV Sculpting.

Reviewers: brecht, dingto, sergey

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

7 years agoCycle CUDA: revert the f1aeb2ccf4 and 84f958754 busywait fixes for now.
Brecht Van Lommel [Wed, 19 Feb 2014 14:59:15 +0000 (15:59 +0100)]
Cycle CUDA: revert the f1aeb2ccf4 and 84f958754 busywait fixes for now.

It's unclear what kind of impact they have on performance at the moment, so I
rather play it safe and postpone this for 2.71.

Ref T38679, Ref T38712

7 years agofix T38721 Vertex Group pop menu (CTRL+G) Set Active Group not updating Vertex Groups...
Dalai Felinto [Wed, 19 Feb 2014 14:29:51 +0000 (11:29 -0300)]
fix T38721 Vertex Group pop menu (CTRL+G) Set Active Group not updating Vertex Groups Panel

I set ND_VERTEX_GROUP to update the buttons.
Reviewed by: Lukas Toenne

7 years agoFix T38717: Copy Vertex Group To Selected fails when all Vertex Groups
Lukas Tönne [Wed, 19 Feb 2014 13:18:28 +0000 (14:18 +0100)]
Fix T38717: Copy Vertex Group To Selected fails when all Vertex Groups
are empty.

This is now considered a no-op and counts as a successful copy (since
nothing would have changed anyway).

7 years agoFix for Copy Settings From Active Track
Sergey Sharybin [Wed, 19 Feb 2014 12:58:37 +0000 (18:58 +0600)]
Fix for Copy Settings From Active Track

it didn't copy weight from active track.

7 years agoadded support for double,float and int property values for maya restpose matrix prope...
gaiaclary [Wed, 19 Feb 2014 12:44:28 +0000 (13:44 +0100)]
added support for double,float and int property values for maya restpose matrix properties

7 years agoAdded Maya restpose_matrix support via custom properties to Collada exporter
gaiaclary [Tue, 18 Feb 2014 20:53:25 +0000 (21:53 +0100)]
Added Maya restpose_matrix support via custom properties to Collada exporter

7 years agoChange default track to 15px pattern and 71px search
Sergey Sharybin [Wed, 19 Feb 2014 12:50:24 +0000 (18:50 +0600)]
Change default track to 15px pattern and 71px search

After recent seed improvements it makes tracking more robust
without speed loss.

7 years agoAdded track weight to presets
Sergey Sharybin [Wed, 19 Feb 2014 12:42:32 +0000 (18:42 +0600)]
Added track weight to presets

Useful for cases when you need to create bunch of witness tracks.

7 years agoFix T38720: Clear preview range operator missing notifier to redraw
Lukas Tönne [Wed, 19 Feb 2014 12:33:47 +0000 (13:33 +0100)]
Fix T38720: Clear preview range operator missing notifier to redraw
timeline.

7 years agoAdded an option to camera preset to include/exclude focal length from the preset
Sergey Sharybin [Wed, 19 Feb 2014 12:18:02 +0000 (18:18 +0600)]
Added an option to camera preset to include/exclude focal length from the preset

Useful for cameras which have fixed focal length.

7 years agoCamera presets changes
Sergey Sharybin [Wed, 19 Feb 2014 12:09:50 +0000 (18:09 +0600)]
Camera presets changes

- Fixed typo in Canon C300 camera name
- Added preset for Nexus5

7 years agoFix T38603: Output File node sockets were drawing the regular socket
Lukas Tönne [Wed, 19 Feb 2014 10:54:28 +0000 (11:54 +0100)]
Fix T38603: Output File node sockets were drawing the regular socket
label in addition to the actual specialized socket ui.

7 years agoNDOF: fix helicopter fly option, revert default to trackball.
Campbell Barton [Wed, 19 Feb 2014 10:30:57 +0000 (21:30 +1100)]
NDOF: fix helicopter fly option, revert default to trackball.

Rationale for using trackball is that it allows roll which you expect
with an ndof device.

7 years agoCode cleanup: de-duplicate ndof controls for walk/fly mode
Campbell Barton [Wed, 19 Feb 2014 10:19:13 +0000 (21:19 +1100)]
Code cleanup: de-duplicate ndof controls for walk/fly mode

7 years agoBSP was still hanging around in CMake
Sergey Sharybin [Wed, 19 Feb 2014 10:07:49 +0000 (16:07 +0600)]
BSP was still hanging around in CMake

7 years agoUpdate the camera presets in various ways:
Sergey Sharybin [Wed, 19 Feb 2014 10:02:24 +0000 (16:02 +0600)]
Update the camera presets in various ways:

* Switch to using Canon sensor type instead of camera models.
There are a ton of camera models that reuse the same sensor
so it's just confusing and forever incomplete to try and cover
all models.

* Delete all redundant Canon camera models..

* Leave only the Canon camera models that are special, that is
have non regular sensor sizes.

* Fix a few errors in some Canon models.

* Capitalize a few unrelated sensor presets for consistency.

* Added presets for GoPro and iPhone.
Their distortion models and shutter isn't really supported ATM
but tracker is robust enough to give reasonable tracking and
solving results.

Presets are from Daniel Salazar and Sebastian Koenig, thanks!

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

7 years agoTotally remove BSP from SConscript
Sergey Sharybin [Wed, 19 Feb 2014 09:46:44 +0000 (15:46 +0600)]
Totally remove BSP from SConscript

7 years agoMSVC: add more warnings to match OSX/Linux
Campbell Barton [Wed, 19 Feb 2014 07:05:37 +0000 (18:05 +1100)]
MSVC: add more warnings to match OSX/Linux

7 years agoMSVC: improve warnings for scons and cmake
Campbell Barton [Wed, 19 Feb 2014 06:37:02 +0000 (17:37 +1100)]
MSVC: improve warnings for scons and cmake

Some int/float conversion warnings were disabled by buildsystems but
re-enabled by BLI_winstuff.h, the warnigns relate to conversions not
considered issues on other systems so better just quiet them.

7 years agoFix T38567: Branch smoothing on skin modifier broken
Campbell Barton [Wed, 19 Feb 2014 05:43:13 +0000 (16:43 +1100)]
Fix T38567: Branch smoothing on skin modifier broken

own regression when changing delete commands

7 years agoblender-thumbnailer.py: Fix GVFS support not working with Python 3
IRIE Shinsuke [Wed, 19 Feb 2014 04:32:54 +0000 (15:32 +1100)]
blender-thumbnailer.py: Fix GVFS support not working with Python 3

also update doc string.

7 years agoFix T38715: Setting object mode fails from command line
Campbell Barton [Wed, 19 Feb 2014 03:04:35 +0000 (14:04 +1100)]
Fix T38715: Setting object mode fails from command line

also run load pre/post callbacks

7 years agoPyAPI: bpy.ops was showing 'module' in autocomplete output
Campbell Barton [Wed, 19 Feb 2014 02:41:41 +0000 (13:41 +1100)]
PyAPI: bpy.ops was showing 'module' in autocomplete output

7 years agoFix T38714: MeshPolygon.center not a Vector type
Campbell Barton [Wed, 19 Feb 2014 02:19:56 +0000 (13:19 +1100)]
Fix T38714: MeshPolygon.center not a Vector type

7 years agoFix T38706: dropdown labels in popups not updating
Campbell Barton [Wed, 19 Feb 2014 00:30:06 +0000 (11:30 +1100)]
Fix T38706: dropdown labels in popups not updating

Caused by own recent changes to menu handling

7 years agoKeymap: load/save improvements
Campbell Barton [Tue, 18 Feb 2014 23:26:53 +0000 (10:26 +1100)]
Keymap: load/save improvements

- avoid passing redundant operator name to keymap property set function.
- avoid double attr lookups when setting each property.
- handle exceptions on value type mismatch.
- avoid resource warning on failed load.

7 years agoUpdate keymaps for changes to NDOF
Campbell Barton [Tue, 18 Feb 2014 22:59:33 +0000 (09:59 +1100)]
Update keymaps for changes to NDOF

7 years agoOSX/CMAKE: make linking and bundling of clang omp lib work,
Jens Verwiebe [Tue, 18 Feb 2014 22:38:48 +0000 (23:38 +0100)]
OSX/CMAKE: make linking and bundling of clang omp lib work,
Cmake will still not find -fopenmp working, so the user must set
WITH_OPENMP and flags manually

7 years agoprepare 32bit build msvc2013 scons/buildbot
Martijn Berger [Tue, 18 Feb 2014 22:15:40 +0000 (23:15 +0100)]
prepare 32bit build msvc2013 scons/buildbot

7 years agoUI: increase contrast active/inactive (see: T38490)
Campbell Barton [Tue, 18 Feb 2014 21:11:54 +0000 (08:11 +1100)]
UI: increase contrast active/inactive (see: T38490)

7 years agoCode cleanup: style
Campbell Barton [Tue, 18 Feb 2014 21:02:59 +0000 (08:02 +1100)]
Code cleanup: style

7 years agoFix windows build error in splash screen commit.
Brecht Van Lommel [Tue, 18 Feb 2014 19:34:55 +0000 (20:34 +0100)]
Fix windows build error in splash screen commit.

7 years agoFix T38661: make number button increment/decrement areas smaller.
Brecht Van Lommel [Tue, 18 Feb 2014 18:54:42 +0000 (19:54 +0100)]
Fix T38661: make number button increment/decrement areas smaller.

Previously 1/3 of the button was used to decrement, 1/3 to edit and 1/3 to
increment. However with the number text now right aligned this meant that
the increment area would overlap the number text, which is confusing. So it
was made to smaller to only cover the arrows.

It's not as easy to click but I don't know of a better solution with right
aligned number text.

7 years agoSplash screen: use a retina resolution image for Mac OS X.
Brecht Van Lommel [Mon, 17 Feb 2014 20:52:20 +0000 (21:52 +0100)]
Splash screen: use a retina resolution image for Mac OS X.

7 years agoFix T38684: cmake OS X build problem when changing deployment target.
Brecht Van Lommel [Tue, 18 Feb 2014 17:02:53 +0000 (18:02 +0100)]
Fix T38684: cmake OS X build problem when changing deployment target.

Don't cache these variables as they are not cleared on such changes.

7 years agoMultisample: disable this by default again, it is causing a serious performance regre...
Brecht Van Lommel [Tue, 18 Feb 2014 14:09:37 +0000 (15:09 +0100)]
Multisample: disable this by default again, it is causing a serious performance regression.

Fixes T38665

7 years agoFix T38488: Single pixel line artifact with Rotate and Wrapped Translate
Lukas Tönne [Tue, 18 Feb 2014 17:55:35 +0000 (18:55 +0100)]
Fix T38488: Single pixel line artifact with Rotate and Wrapped Translate
nodes.

The Rotate node was calculating the center with a 1 pixel offset, which
effectively shifts the image by 1 pixel on one or both axis for
right-angle (90 degree) rotations.

Note that the wrapping feature for translate nodes can still produce
undesirable results for non-quadratic images. This is because of how
the resolution calculation works atm: the Rotate node will keep the
resolution of the input image, even if the resulting image is then
cropped or leaves empty margins. There is no easy way to fix that
without redesign.

7 years agoFix T38691: Curve object bevel not working in group instance
Sergey Sharybin [Tue, 18 Feb 2014 17:12:16 +0000 (23:12 +0600)]
Fix T38691: Curve object bevel not working in group instance

It is possible that objects from dupli-groups depends on objects which are
not in the dupli-group. We do need this objects to be evaluated as well on
visible changes, so all dependencies for objects from the dupli-group are
met. Unfortunately, we don't have parent relations on this state, so we're
to use DFS over the whole DAG to gather such dependencies.

This is probably not so bad since visible update is called really rarely.

Reviewers: brecht

Reviewed By: brecht

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