blender.git
5 years agoCrazyspace: calculate normal around a (0,0,0)
Campbell Barton [Fri, 28 Feb 2014 10:23:06 +0000 (21:23 +1100)]
Crazyspace: calculate normal around a (0,0,0)

instead of creating a new triangle in the models space and using that.

5 years agoFix Crazyspace with proportional editing
Campbell Barton [Fri, 28 Feb 2014 10:10:32 +0000 (21:10 +1100)]
Fix Crazyspace with proportional editing

5 years agoPyAPI: correct warning with dynamic enums
Campbell Barton [Fri, 28 Feb 2014 09:35:47 +0000 (20:35 +1100)]
PyAPI: correct warning with dynamic enums

5 years agoFix T38407: Bone roll calculation flips local axes at wrong rotation angle
Bastien Montagne [Fri, 28 Feb 2014 09:47:28 +0000 (10:47 +0100)]
Fix T38407: Bone roll calculation flips local axes at wrong rotation angle

Just remove that rotation special case for now, at least fixes the glitch along Z axis when rotating around Y axis in report.

Anyway, there is no reason for such special handling, we do not have real rotation in editbone...

5 years agoRevert editbone roll correction changes.
Bastien Montagne [Fri, 28 Feb 2014 09:35:11 +0000 (10:35 +0100)]
Revert editbone roll correction changes.

This reverts commit f72acc38d 65c5be967 eff6b385e 3fe487217

5 years agoSupport planar sample formats in audio mixdown
Sergey Sharybin [Fri, 28 Feb 2014 09:15:04 +0000 (15:15 +0600)]
Support planar sample formats in audio mixdown

Now libav-10 should work for output of ac3 container.

5 years agoFix T38872: Crazyspace could use stale derivedMesh data.
Campbell Barton [Fri, 28 Feb 2014 09:11:41 +0000 (20:11 +1100)]
Fix T38872: Crazyspace could use stale derivedMesh data.

5 years agoCode cleanup: move edit-derivedmesh free to BKE_editmesh_free_derivedmesh
Campbell Barton [Fri, 28 Feb 2014 09:02:30 +0000 (20:02 +1100)]
Code cleanup: move edit-derivedmesh free to BKE_editmesh_free_derivedmesh

5 years agoFix T38467: Animation playback is not synchronized when Screen Layout changes
Bastien Montagne [Fri, 28 Feb 2014 09:04:57 +0000 (10:04 +0100)]
Fix T38467: Animation playback is not synchronized when Screen Layout changes

When both old and new screens share the same scene, "transfer" playback to new screen, else stop playback.

5 years agoFix T38877: F-Curve modal input is incorrect when set to Imperial units.
Bastien Montagne [Fri, 28 Feb 2014 08:51:05 +0000 (09:51 +0100)]
Fix T38877: F-Curve modal input is incorrect when set to Imperial units.

Using length units outside of 3dview does not make sense...

5 years agoAttempt to fix mixdown when building without sndfile
Sergey Sharybin [Fri, 28 Feb 2014 08:44:01 +0000 (14:44 +0600)]
Attempt to fix mixdown when building without sndfile

This case was handled specially in writeffmpeg.c and seems it makes
audio export happy in all cases now.

TODO: libav-10 doesn't work with AC3 codec yet because this bloody
library ONLY supports FLTP format and FFmpeg ONLY supports FLT.

This is not fun guy, it really isn't! Where's your conscience??

CC: nexyon
5 years agoCorrection to previous commit: it was unable to change format for some containers
Sergey Sharybin [Fri, 28 Feb 2014 08:07:23 +0000 (14:07 +0600)]
Correction to previous commit: it was unable to change format for some containers

5 years agoFix T38883: Toolbar origin buttons missing for armature
Campbell Barton [Fri, 28 Feb 2014 06:37:49 +0000 (17:37 +1100)]
Fix T38883: Toolbar origin buttons missing for armature

Also allow mirror for any object type

5 years agoFix T38768: New "audio" button in 2.70 release does not 'mixdown' audio
Sergey Sharybin [Fri, 28 Feb 2014 06:23:28 +0000 (12:23 +0600)]
Fix T38768: New "audio" button in 2.70 release does not 'mixdown' audio

Issue was caused by the way how audio output works from audaspace.
Now made it much closer to what's happening in ffmpeg.c and writeffmpeg.c.

Also fixed issues with incompatible combinations of codecs and formats
in mixdown settings.

5 years agoFix T38817: FCurve autoclamp error
Campbell Barton [Fri, 28 Feb 2014 01:09:17 +0000 (12:09 +1100)]
Fix T38817: FCurve autoclamp error

Animating large values with auto handles didn't work well,
(large variations on the Y axis would shrink handles).

5 years agoRevert own changes to CLAMP and CLAMPIS, caused T38875
Campbell Barton [Fri, 28 Feb 2014 00:47:02 +0000 (11:47 +1100)]
Revert own changes to CLAMP and CLAMPIS, caused T38875

5 years agoCode cleanup: style/warnings
Campbell Barton [Fri, 28 Feb 2014 00:04:15 +0000 (11:04 +1100)]
Code cleanup: style/warnings

5 years agoKeymap: update 3dsmax
Campbell Barton [Thu, 27 Feb 2014 23:33:57 +0000 (10:33 +1100)]
Keymap: update 3dsmax

5 years agoFix T38876: hide area split widget in lower left of widget on OS X.
Brecht Van Lommel [Thu, 27 Feb 2014 22:39:40 +0000 (23:39 +0100)]
Fix T38876: hide area split widget in lower left of widget on OS X.

This is already used by the operating system for window resizing, you must use
the widget in the top right of the area to split.

5 years agoFix use of uninitialized variable in some cases with scatter + emission volume.
Brecht Van Lommel [Thu, 27 Feb 2014 20:25:50 +0000 (21:25 +0100)]
Fix use of uninitialized variable in some cases with scatter + emission volume.

5 years agoBlender Internal: Bring back previous behavior that rendered viewport uses render...
IRIE Shinsuke [Thu, 27 Feb 2014 20:17:16 +0000 (05:17 +0900)]
Blender Internal: Bring back previous behavior that rendered viewport uses render visibility rather than viewport visibility.

Commit 162d6c73e3d0 changed the behavior of rendered viewport to use
viewport visibility, but that can cause some problems. For example,
mesh deform cage is drawn as a solid/textured mesh (not a wireframe
mesh) and its unnecessary surfaces and shadows mess up the preview.

5 years agoFix compile error when compiling without python.
Brecht Van Lommel [Thu, 27 Feb 2014 20:16:01 +0000 (21:16 +0100)]
Fix compile error when compiling without python.

5 years agoFix cycles wrong volume scatter value in light path node.
Brecht Van Lommel [Thu, 27 Feb 2014 20:09:27 +0000 (21:09 +0100)]
Fix cycles wrong volume scatter value in light path node.

Thanks to Thomas for spotting this.

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

5 years agoCycles: Fix mistake in PathRayFlag, one value was used twice.
Thomas Dinges [Thu, 27 Feb 2014 19:41:36 +0000 (20:41 +0100)]
Cycles: Fix mistake in PathRayFlag, one value was used twice.

5 years agopatch cmake_linux_install.sh to do multithreaded build
Lawrence D'Oliveiro [Thu, 27 Feb 2014 14:59:58 +0000 (15:59 +0100)]
patch cmake_linux_install.sh to do multithreaded build

The script ##cmake_linux_install.sh## is currently invoking ##make## in single-threaded mode; this patch changes it to take advantage of all available CPU threads.

Reviewers: mont29

Reviewed By: mont29

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

5 years agoFix T38847: Reject reuse of child bones as root bones. That doesn't make sense anyways.
gaiaclary [Thu, 27 Feb 2014 14:23:18 +0000 (15:23 +0100)]
Fix T38847: Reject reuse of child bones as root bones. That doesn't make sense anyways.

5 years agoCycles: compile fix after rB7808360c5f (own mistake)
Sv. Lockal [Thu, 27 Feb 2014 13:29:35 +0000 (17:29 +0400)]
Cycles: compile fix after rB7808360c5f (own mistake)

5 years agoCycles: fix crash in SSE hair and half-floats on x86+vc2008
Sv. Lockal [Thu, 27 Feb 2014 10:49:21 +0000 (14:49 +0400)]
Cycles: fix crash in SSE hair and half-floats on x86+vc2008

MSVC 2008 ignores alignement attribute when assigning from unaligned
float4 vector, returned from other function. Now Cycles uses unaligned
loads instead of casts for win32 in x86 mode.

5 years agoImplement separate BA step for tracks which have constant zero weight
Sergey Sharybin [Thu, 27 Feb 2014 10:14:35 +0000 (16:14 +0600)]
Implement separate BA step for tracks which have constant zero weight

This is needed to minimize their reprojection error over the footage.
Without this extra step positions of such tracks were calculated by
algebraic intersection code only, which doesn't give best precision.

5 years agoFix root of the issue of bad_cast bug in localization
Sergey Sharybin [Thu, 27 Feb 2014 09:06:05 +0000 (15:06 +0600)]
Fix root of the issue of bad_cast bug in localization

No need to call l10n stuff when it's disabled in the preferences.

Reviewed by @mont29, thanks!

5 years agoResubmission: Avoid UUOC in install_deps.sh
Lawrence D'Oliveiro [Thu, 27 Feb 2014 09:01:05 +0000 (10:01 +0100)]
Resubmission: Avoid UUOC in install_deps.sh

This is a resubmission of the original patch from D255. Sorry, I didn’t understand that subsequent patches added to a diff are considered to //override// previous ones, rather than add to them.

Basically the comment for commit rB554eca1c288e has been applied to the wrong patch.

Reviewers: mont29

Reviewed By: mont29

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

5 years agoHopefully definitively fix the "enter the advanced numinput mode" issue.
Bastien Montagne [Thu, 27 Feb 2014 08:45:44 +0000 (09:45 +0100)]
Hopefully definitively fix the "enter the advanced numinput mode" issue.

Hack around event code and check against ascii code, this way keyboards with "complex" access to '=' and '*' are still able to toggle numinput modes.

5 years agoFix T38864: Crash with curves and follow path
Campbell Barton [Thu, 27 Feb 2014 08:32:45 +0000 (19:32 +1100)]
Fix T38864: Crash with curves and follow path

5 years agoFix T38844: Crash if weight track = 0
Sergey Sharybin [Thu, 27 Feb 2014 08:27:30 +0000 (14:27 +0600)]
Fix T38844: Crash if weight track = 0

Avoid zero-sized problem when doing euclidean intersection

Zero-sized problem might occur when intersecting track with
constant zero weight. For such tracks we'll just use result
of algebraic intersection.

TODO: We probably need to have a separate BA step to adjust
positions of tracks with constant zero weight.

5 years agoFix T38602: Aligned layout breaks if panel too wide
Campbell Barton [Thu, 27 Feb 2014 08:00:35 +0000 (19:00 +1100)]
Fix T38602: Aligned layout breaks if panel too wide

5 years agoFix T36654.
Antony Riakiotakis [Thu, 27 Feb 2014 07:39:04 +0000 (09:39 +0200)]
Fix T36654.

There is a key conflict between grease pencil shortcuts and sculpt
shortcuts (D and ctrl D were taken by draw brush and dyntopo toggle,
respectively). Based on feedback, change dyntopo toggle to ctrl-T and
draw brush to X.

Also add missing property update for dyntopo detail size.

5 years agoUI: avoid for divide by zero for icon buttons (no need to clip text)
Campbell Barton [Thu, 27 Feb 2014 07:29:10 +0000 (18:29 +1100)]
UI: avoid for divide by zero for icon buttons (no need to clip text)

5 years agoFix T38863: FCurve auto-clamp allows handle to move past X bounds
Campbell Barton [Thu, 27 Feb 2014 06:15:49 +0000 (17:15 +1100)]
Fix T38863: FCurve auto-clamp allows handle to move past X bounds

F-Curves with large Y axis had strange behavior where the handles could
stretch out on the X axis rather then clamping as they do at smaller sizes.

5 years agoCode cleanup: curves calculation was using offsets confusingly
Campbell Barton [Thu, 27 Feb 2014 06:03:35 +0000 (17:03 +1100)]
Code cleanup: curves calculation was using offsets confusingly

also avoid calculating handle length when align isn't used.

5 years agoFix: 'F-Curve Editor' popup text was truncated.
Campbell Barton [Thu, 27 Feb 2014 04:50:30 +0000 (15:50 +1100)]
Fix: 'F-Curve Editor' popup text was truncated.

5 years agoFix T38859: Laplacian Deform Crash
Campbell Barton [Thu, 27 Feb 2014 04:03:03 +0000 (15:03 +1100)]
Fix T38859: Laplacian Deform Crash

5 years agoFix T38851: Apply Transform doesn't work when called from search popup
Campbell Barton [Thu, 27 Feb 2014 02:39:35 +0000 (13:39 +1100)]
Fix T38851: Apply Transform doesn't work when called from search popup

5 years agoFix T38834: Knife constraint is offset after moving the view
Campbell Barton [Thu, 27 Feb 2014 02:28:25 +0000 (13:28 +1100)]
Fix T38834: Knife constraint is offset after moving the view

5 years agoFix T38858: Crazy spaces was unpredictable with co-linear edges
Campbell Barton [Thu, 27 Feb 2014 01:28:40 +0000 (12:28 +1100)]
Fix T38858: Crazy spaces was unpredictable with co-linear edges

5 years agoFix for VIEW3D_OT_camera_to_view with quadview, disable in camera view
Campbell Barton [Thu, 27 Feb 2014 00:33:27 +0000 (11:33 +1100)]
Fix for VIEW3D_OT_camera_to_view with quadview, disable in camera view

5 years agoFix for view3d name getting concatenated
Campbell Barton [Thu, 27 Feb 2014 00:30:12 +0000 (11:30 +1100)]
Fix for view3d name getting concatenated

5 years agoTransform: remove recently added ival2, use editbones temp data
Campbell Barton [Wed, 26 Feb 2014 22:47:37 +0000 (09:47 +1100)]
Transform: remove recently added ival2, use editbones temp data

5 years agoRNA: rename matrix_for_frame -> matrix_from_frame
Campbell Barton [Wed, 26 Feb 2014 21:38:14 +0000 (08:38 +1100)]
RNA: rename matrix_for_frame -> matrix_from_frame

5 years agoFix T38678: Long strings on Search widget not getting shortened/no tooltip.
Bastien Montagne [Wed, 26 Feb 2014 20:53:56 +0000 (21:53 +0100)]
Fix T38678: Long strings on Search widget not getting shortened/no tooltip.

Note this commit only makes search menus wider and adds shortening to their strings.
Adding tooltips here is not trivial, would need much bigger changes...

Reviewers: brecht

Reviewed By: brecht

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

5 years agoFix T38843: Bone parallel to world z axis flicking when scale in edit mode.
Bastien Montagne [Wed, 26 Feb 2014 20:28:11 +0000 (21:28 +0100)]
Fix T38843: Bone parallel to world z axis flicking when scale in edit mode.

This commit hopefully fixes all glitches we had when bone was Z-aligned. Note that when you init a transform
with a Z-aligned bone and change it to be non-Z-aligned, you will still get some brutal roll change,
there is not much things we can do here afaik...

5 years agoFix T38856: mark seam in search menu clearing the seam in some cases.
Brecht Van Lommel [Wed, 26 Feb 2014 19:56:36 +0000 (20:56 +0100)]
Fix T38856: mark seam in search menu clearing the seam in some cases.

It should not remember the operator property for the next time here.

5 years agoFix T36652: .blend file with minimized window not loading correctly on Windows.
Brecht Van Lommel [Wed, 26 Feb 2014 19:50:55 +0000 (20:50 +0100)]
Fix T36652: .blend file with minimized window not loading correctly on Windows.

5 years agoFix T37756: file > open with file selector already open not restoring screen correctly.
Brecht Van Lommel [Wed, 26 Feb 2014 18:50:12 +0000 (19:50 +0100)]
Fix T37756: file > open with file selector already open not restoring screen correctly.

5 years agoFix T38853: right click menu add driver should not be possible to redo.
Brecht Van Lommel [Wed, 26 Feb 2014 17:54:40 +0000 (18:54 +0100)]
Fix T38853: right click menu add driver should not be possible to redo.

This was already disabled for the keyframing operators, needs to be done for
drivers as well as this doesn't work.

5 years agoFix T38855: DIRECTORY_PATH vs. DIR_PATH inconsistency in python API docs.
Brecht Van Lommel [Wed, 26 Feb 2014 17:50:27 +0000 (18:50 +0100)]
Fix T38855: DIRECTORY_PATH vs. DIR_PATH inconsistency in python API docs.

5 years agoFix for bug reported by Pablo Vasquez (venomgfx) on IRC: Single layer
Lukas Tönne [Wed, 26 Feb 2014 17:44:32 +0000 (18:44 +0100)]
Fix for bug reported by Pablo Vasquez (venomgfx) on IRC: Single layer
renders were broken.

This was caused by rB1a79abdad2443ff9f12e7efd95ee78a264a9d60a which
makes a copy of the render layer list for thread safety. The single
layer passed to this function is still in the original list though, so
to get the correct index it has to be looked up there. Otherwise no
active index is set and all layers are rendered every time.

5 years agoFix T38710: volume render issue with transparent surfaces.
Brecht Van Lommel [Wed, 26 Feb 2014 17:47:50 +0000 (18:47 +0100)]
Fix T38710: volume render issue with transparent surfaces.

5 years agoFurther work to fix T38726: signal viewport to update when adding/removing render...
IRIE Shinsuke [Wed, 26 Feb 2014 17:35:55 +0000 (18:35 +0100)]
Further work to fix T38726: signal viewport to update when adding/removing render layers.

Reviewers: brecht

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

5 years agoLocale_wrapper: make the bad_cast catch more clear and fix the std::exception message
Jens Verwiebe [Wed, 26 Feb 2014 16:33:26 +0000 (17:33 +0100)]
Locale_wrapper: make the bad_cast catch more clear and fix the std::exception message

5 years agoFix T38726: missing rendered viewport update when removing render layer.
Brecht Van Lommel [Wed, 26 Feb 2014 16:29:50 +0000 (17:29 +0100)]
Fix T38726: missing rendered viewport update when removing render layer.

5 years agoFix T38831: blender internal enabling shadow pass changes material node diffuse.
Brecht Van Lommel [Wed, 26 Feb 2014 15:55:50 +0000 (16:55 +0100)]
Fix T38831: blender internal enabling shadow pass changes material node diffuse.

It would include/exclude shadow depending on the pass being disabled/enabled,
but that should have no influence on the combined render result. Now it always
includes shadow.

5 years agoNicer solution to T38846: Split off the render layer forcing from the
Lukas Tönne [Wed, 26 Feb 2014 13:56:27 +0000 (14:56 +0100)]
Nicer solution to T38846: Split off the render layer forcing from the
validity check for render operator.

This way scene DNA can stay read-only there, cleaner and we don't have
to pass an awkward bool pointer around.

5 years agoFix T38846: Render layer checkbox is not refreshed.
Lukas Tönne [Wed, 26 Feb 2014 13:36:30 +0000 (14:36 +0100)]
Fix T38846: Render layer checkbox is not refreshed.

The render operator invoke checks render layers, which can force the
render layer to be activated. This requires a notifier, which has to be
done in the operator itself (can't do this inside pipeline code).

5 years agoFix crash happening when drawing GP for a track which doesn't have visible marker
Sergey Sharybin [Wed, 26 Feb 2014 13:42:59 +0000 (19:42 +0600)]
Fix crash happening when drawing GP for a track which doesn't have visible marker

5 years agoFix 3D tracks to mesh not aligning mesh properly
Sergey Sharybin [Wed, 26 Feb 2014 13:40:04 +0000 (19:40 +0600)]
Fix 3D tracks to mesh not aligning mesh properly

Also fixed wrong frame number used for reconstructed object
visualization in 3D viewport.

5 years agoFix for own regression: remove doubles deselected faces
Campbell Barton [Wed, 26 Feb 2014 12:40:27 +0000 (23:40 +1100)]
Fix for own regression: remove doubles deselected faces

5 years agoBMesh: add overwrite option to BM_mesh_elem_hflag_enable/disable_test
Campbell Barton [Wed, 26 Feb 2014 12:34:09 +0000 (23:34 +1100)]
BMesh: add overwrite option to BM_mesh_elem_hflag_enable/disable_test

5 years agoIgnore zero weighted markers in keyframe selection
Sergey Sharybin [Wed, 26 Feb 2014 11:56:10 +0000 (17:56 +0600)]
Ignore zero weighted markers in keyframe selection

It doesn't make sense to use zero-weighted tracks as a correspondences
in keyframe selection.

Such tracks are not guaranteed to be tracked accurately because their
purpose is to add reference points in 3D space without affecting the
solution.

5 years agoFix T38837: Ctrl+RMB can't select posemode
Campbell Barton [Wed, 26 Feb 2014 05:05:29 +0000 (16:05 +1100)]
Fix T38837: Ctrl+RMB can't select posemode

This used to work (unintentionally), now check for paint-select
modes as well as editmode for ctrl+rmb to force object selection.

5 years agoPaint API: add BKE_paint_select_elem_test: to check on paint selection
Campbell Barton [Wed, 26 Feb 2014 05:00:54 +0000 (16:00 +1100)]
Paint API: add BKE_paint_select_elem_test: to check on paint selection

5 years agoSculpt: allow to select objects when in sculpt mode
Campbell Barton [Wed, 26 Feb 2014 04:41:42 +0000 (15:41 +1100)]
Sculpt: allow to select objects when in sculpt mode

This was disabled with circle select (which makes sense), but all other
paint modes allow this and sculpt isnt using select mouse.

5 years agoWM: hide screen management and ndof operators from seach popup
Campbell Barton [Wed, 26 Feb 2014 02:48:41 +0000 (13:48 +1100)]
WM: hide screen management and ndof operators from seach popup

5 years agoFix for sequencer add operators showing up in spacebar search.
Campbell Barton [Wed, 26 Feb 2014 02:21:48 +0000 (13:21 +1100)]
Fix for sequencer add operators showing up in spacebar search.

5 years agoFix for constraint poll function succeeding when no constraint exists
Campbell Barton [Wed, 26 Feb 2014 02:09:58 +0000 (13:09 +1100)]
Fix for constraint poll function succeeding when no constraint exists

5 years agoFix T38548: Edit externally always uses first frame only
Sergey Sharybin [Tue, 25 Feb 2014 23:58:14 +0000 (10:58 +1100)]
Fix T38548: Edit externally always uses first frame only

5 years agoFix T38836: change screencast timer limits so you can record with higher FPS.
Brecht Van Lommel [Tue, 25 Feb 2014 18:25:44 +0000 (19:25 +0100)]
Fix T38836: change screencast timer limits so you can record with higher FPS.

Note that the screencast implementation is quite poor and that you may not even
get the requested FPS, the timing system here is not reliable.

5 years agoFurther work for fix T38804: unnecessary empty space in the modifier UI.
Brecht Van Lommel [Mon, 24 Feb 2014 21:01:58 +0000 (22:01 +0100)]
Further work for fix T38804: unnecessary empty space in the modifier UI.

5 years agoFix missing brackets in cpuid bitfield check.
Martijn Berger [Tue, 25 Feb 2014 18:50:53 +0000 (19:50 +0100)]
Fix missing brackets in cpuid bitfield check.
concern raised by lukas_t (rBef73d547cc7c663ad180721094c81b3c81482ac3)

5 years agoFix T38811: Cycles particle ids are inconsistent when using multiple particle systems.
Lukas Tönne [Tue, 25 Feb 2014 17:29:11 +0000 (18:29 +0100)]
Fix T38811: Cycles particle ids are inconsistent when using multiple particle systems.

Problem is that the particle systems in the cycles database are not
stored in a well-defined order. This means the particle_id for dupli
objects can not simply be assigned using a global running index during
sync.

Now the particle index is assigned locally for each particle system.
When transferring particle data to the device as a single texture, the
particle indices are offset based on the final order of particle systems
in the database.

Reviewers: brecht

Reviewed By: brecht

CC: Andreas80
Differential Revision: https://developer.blender.org/D352

5 years agoFix T38815
Martijn Berger [Tue, 25 Feb 2014 16:57:05 +0000 (17:57 +0100)]
Fix T38815

For AVX support we need to check both OS support and CPU support.

5 years agoFix T38827: Input preferences can not find Left Mouse or Left Arrow
Campbell Barton [Tue, 25 Feb 2014 13:35:00 +0000 (00:35 +1100)]
Fix T38827: Input preferences can not find Left Mouse or Left Arrow

5 years agoKeymap search: check 'key_modifier' as well as 'type'
Campbell Barton [Tue, 25 Feb 2014 13:13:20 +0000 (00:13 +1100)]
Keymap search: check 'key_modifier' as well as 'type'

5 years agoAssert for invalid customdata allocs
Campbell Barton [Tue, 25 Feb 2014 12:13:17 +0000 (23:13 +1100)]
Assert for invalid customdata allocs

5 years agoFix T38003: Skin modifier crash with long edges
Campbell Barton [Tue, 25 Feb 2014 12:01:50 +0000 (23:01 +1100)]
Fix T38003: Skin modifier crash with long edges

5 years agoDisable eager-refinement step of region tracking
Sergey Sharybin [Tue, 25 Feb 2014 10:54:34 +0000 (16:54 +0600)]
Disable eager-refinement step of region tracking

This gives much worse results on mango footage (see 04_2e)
so disabling for now for until proper prediction model is landed.

The thing is, currently blender sends input coordinates as the guess to
region tracker and in case of fast motion such an early out ruins the track.

5 years agoUI / 3D View: Fix Rigid Body panel, being closed per default.
Thomas Dinges [Tue, 25 Feb 2014 09:59:05 +0000 (10:59 +0100)]
UI / 3D View: Fix Rigid Body panel, being closed per default.

5 years agoFix T38824: curve which is constrained on a hidden layer causes cycles crash
Sergey Sharybin [Tue, 25 Feb 2014 09:44:39 +0000 (15:44 +0600)]
Fix T38824: curve which is constrained on a hidden layer causes cycles crash

Issue was caused by cycles setting scene frame which will update scene for
all the layers (not just visible ones) which confuses depsgraph making
objects which are needed as dependency are not really evaluated.

Made it so setting frame via scene.frame_set() which check whether update
need to be flushed to an invisible objects and do this if so.

Not ideal solution but seems to be safest at this point.

5 years agoFix T38773: Inconsistent conversion of colors and float values in
Lukas Tönne [Tue, 25 Feb 2014 09:11:48 +0000 (10:11 +0100)]
Fix T38773: Inconsistent conversion of colors and float values in
Blender Internal shader nodes.

All nodes now use the `nodestack_get_vec` function to convert whatever
input values are connected to the desired type, instead of using the
stack values directly regardless of what they contain.

Note that this might break old node setups that have been adapted to the
faulty behavior, but as discussed in the bug report the 2.70 version is
the right time to fix this.

5 years agoFix T38806: Proxy file changes don't update until Blender's restart
Sergey Sharybin [Tue, 25 Feb 2014 07:49:38 +0000 (13:49 +0600)]
Fix T38806: Proxy file changes don't update until Blender's restart

5 years agoObject disable negative object dimensions
Campbell Barton [Tue, 25 Feb 2014 07:31:50 +0000 (18:31 +1100)]
Object disable negative object dimensions

these would become positive on update

5 years agoFix T38745: Curve parent crash when rendering animation
Sergey Sharybin [Tue, 25 Feb 2014 07:15:59 +0000 (13:15 +0600)]
Fix T38745: Curve parent crash when rendering animation

Issue was caused by curve orco calculation for rendering being freed
curve path and not calculating it back.

This left depsgraph in a state that it believed all the object data
is up to date but in fact some parts of data was freed by convert
blender.

Now made it so path is not being freed by render thread. This is
rather a workaround actually because ideally render thread need
to use copy-on-write here or at least use local cache here. But
current logic should be closer to what was happening in previous
release.

5 years agoFix T38778: Properties from bpy.props could be edited as custom props
Campbell Barton [Tue, 25 Feb 2014 06:01:46 +0000 (17:01 +1100)]
Fix T38778: Properties from bpy.props could be edited as custom props

5 years agoUse string escaping when renaming custom properties
Campbell Barton [Tue, 25 Feb 2014 05:49:14 +0000 (16:49 +1100)]
Use string escaping when renaming custom properties

5 years agoFix for custom property editor when property id's contained quotes
Campbell Barton [Tue, 25 Feb 2014 05:18:10 +0000 (16:18 +1100)]
Fix for custom property editor when property id's contained quotes

Adds bpy.utils.escape_identifier()

5 years agoFix text select offset /w zoomed UI & popups (colorpicker)
Campbell Barton [Tue, 25 Feb 2014 03:18:04 +0000 (14:18 +1100)]
Fix text select offset /w zoomed UI & popups (colorpicker)

5 years agoRevert "Fix T38819: Mark Seam misbehaves when accessed through spacebar search"
Campbell Barton [Tue, 25 Feb 2014 03:06:31 +0000 (14:06 +1100)]
Revert "Fix T38819: Mark Seam misbehaves when accessed through spacebar search"

This reverts commit d47d030275f14b1c1b7a35452f9b3c841ebeb178.

This isn't a bug.

5 years agoFix T38819: Mark Seam misbehaves when accessed through spacebar search
Dalai Felinto [Tue, 25 Feb 2014 01:48:46 +0000 (22:48 -0300)]
Fix T38819: Mark Seam misbehaves when accessed through spacebar search

5 years agoUI: remove number specific button offset when selecting text
Campbell Barton [Tue, 25 Feb 2014 01:42:17 +0000 (12:42 +1100)]
UI: remove number specific button offset when selecting text

5 years agoFix T38808: image opened with 'relative path', gets absolute path
Dalai Felinto [Tue, 25 Feb 2014 00:06:11 +0000 (11:06 +1100)]
Fix T38808: image opened with 'relative path', gets absolute path

5 years agoFix T38809: regression, text cursor offset in number buttons
Campbell Barton [Mon, 24 Feb 2014 23:28:41 +0000 (10:28 +1100)]
Fix T38809: regression, text cursor offset in number buttons

Use the same offset for all edit-buttons now.