blender.git
5 years agoOSX: more futurework for clang-openmp:
Jens Verwiebe [Tue, 18 Feb 2014 16:18:25 +0000 (17:18 +0100)]
OSX: more futurework for clang-openmp:
- moved assumed location of omp lib to blender libs
- prepared libiomp5 to link out of the box with cmake
- changed according in scons
- introduced a local var C_VENDOR, cause Apple clang 3.4 may not include omp support yet
- added a linklibs for msgfmt ( may not be needed for other than OSX )

5 years agoFix T38700: Plane track can't be adjust when select mouse is set to left
Sergey Sharybin [Tue, 18 Feb 2014 13:07:50 +0000 (19:07 +0600)]
Fix T38700: Plane track can't be adjust when select mouse is set to left

5 years agofix - T38561: Fly mode vs. Walk Mode Navigation Keyboard Controls
Dalai Felinto [Tue, 18 Feb 2014 13:05:45 +0000 (10:05 -0300)]
fix - T38561: Fly mode vs. Walk Mode Navigation Keyboard Controls

* QE as up/down to Fly Navigator
* Alt as slow modifier to Fly Navigator
* Update on Walk header info

Note: I left the original RF/Ctrl shortcuts working for fly navigator
but they are no longer visible in the header info. So old users will
still be using what they were used to, while new ones get used to what
walk navigation is using.

5 years agoPython: remove redundant len() use
Campbell Barton [Tue, 18 Feb 2014 13:05:31 +0000 (00:05 +1100)]
Python: remove redundant len() use

5 years agoFix T38698: In the Mask tab the Insert Key and Clear Key button labels are switched
Sergey Sharybin [Tue, 18 Feb 2014 12:56:27 +0000 (18:56 +0600)]
Fix T38698: In the Mask tab the Insert Key and Clear Key button labels are switched

5 years agoNDOF: Fix for fly/walk mode ignoring axis invert options
Campbell Barton [Tue, 18 Feb 2014 12:51:11 +0000 (23:51 +1100)]
NDOF: Fix for fly/walk mode ignoring axis invert options

5 years agoFix T38506: Bokeh blur node - size bugs with OpenCL.
Lukas Tönne [Tue, 18 Feb 2014 12:15:08 +0000 (13:15 +0100)]
Fix T38506: Bokeh blur node - size bugs with OpenCL.

The underlying cause for these issues is the insufficient sampling of
the bokeh image. For smaller blur radius there will be very few samples
taken, and with 1-pixel radius it boils down to just 4 samples:
2 on the left border (black), 1 in the center (black) and 1 at the top
border (blue) ...

For now have added the workarounds implemented in the CPU version of
that node, which hide these artifacts. Ultimately would be better to
have mipmap levels for the bokeh image input instead.

5 years agoFix regression that Blender crashes on startup if UI translation is enabled, it was...
IRIE Shinsuke [Tue, 18 Feb 2014 10:09:44 +0000 (19:09 +0900)]
Fix regression that Blender crashes on startup if UI translation is enabled, it was mistake in rB50b2c78ad8b6.

5 years agoFix T38672: Can't select strips inside a Meta on the Mask Modifier
Sergey Sharybin [Tue, 18 Feb 2014 10:01:16 +0000 (16:01 +0600)]
Fix T38672: Can't select strips inside a Meta on the Mask Modifier

5 years agoFix T38667: When using "Maya" Input Interface, pressing "E" does not initiate rotatio...
Sergey Sharybin [Tue, 18 Feb 2014 09:08:08 +0000 (15:08 +0600)]
Fix T38667: When using "Maya" Input Interface, pressing "E" does not initiate rotation in the UV/Image Editor

Was a shortcut conflict with unwrap. Use 'U' for unwrap now, so no conflict is here.

Preset still doesn't work tho, Cambo need to solve missing operators used here since
NDOF changes.

5 years agoPossible fix for T38644: H.264 with PNG RGBA encoding crashes
Sergey Sharybin [Tue, 18 Feb 2014 06:37:21 +0000 (12:37 +0600)]
Possible fix for T38644: H.264 with PNG RGBA encoding crashes

5 years agoFix T38637: Boolean produces faces with holes which isn't supported by BMesh
Sergey Sharybin [Tue, 18 Feb 2014 05:51:36 +0000 (11:51 +0600)]
Fix T38637: Boolean produces faces with holes which isn't supported by BMesh

Simple fix -- use CarveHoleResolver hook for CSG which will split faces
containing holes.

5 years agoFix FCurve reading freed themes, assert to prevent further misuse
Campbell Barton [Tue, 18 Feb 2014 01:33:19 +0000 (12:33 +1100)]
Fix FCurve reading freed themes, assert to prevent further misuse

5 years agoNDOF: add keymapping for the 'fit' button for other 2d views
Campbell Barton [Tue, 18 Feb 2014 00:55:53 +0000 (11:55 +1100)]
NDOF: add keymapping for the 'fit' button for other 2d views

5 years agoNDOF: support pan/zoom for view2d (nodes, graph editor, sequencer... etc)
Campbell Barton [Tue, 18 Feb 2014 00:44:26 +0000 (11:44 +1100)]
NDOF: support pan/zoom for view2d (nodes, graph editor, sequencer... etc)

5 years agoNDOF: show invert pan & zoom in the menu outside the 3d view
Campbell Barton [Tue, 18 Feb 2014 00:39:26 +0000 (11:39 +1100)]
NDOF: show invert pan & zoom in the menu outside the 3d view

5 years agoNDOF: fix for broken zoom invert for image and clip editor
Campbell Barton [Tue, 18 Feb 2014 00:33:40 +0000 (11:33 +1100)]
NDOF: fix for broken zoom invert for image and clip editor

also match zoom speed with 3d view

5 years agoNDOF: image and clip views ignored axis invert preferences
Campbell Barton [Mon, 17 Feb 2014 23:19:41 +0000 (10:19 +1100)]
NDOF: image and clip views ignored axis invert preferences

also X/Y invert was swapped for 3d view.

5 years agoNDOF: use like a joystick for cube picker (as with circle picker)
Campbell Barton [Mon, 17 Feb 2014 23:17:56 +0000 (10:17 +1100)]
NDOF: use like a joystick for cube picker (as with circle picker)

5 years agoFix T38654: Using a non-camera object for the SetCamera Scene Actuator causes a segfault.
Mitchell Stokes [Mon, 17 Feb 2014 22:35:09 +0000 (14:35 -0800)]
Fix T38654: Using a non-camera object for the SetCamera Scene Actuator causes a segfault.

Non-camera objects are not supported as cameras, and trying to use them
just causes memory errors (some bad typecasts are involved). When converting
a Scene Actuator, only use the object as a camera if it is actually a camera.
Also, the logic brick UI now filters for camera objects, which should help
avoid confusion.

5 years agobpy.ops.object.add_named() doesnt provide error when failed (related to T38689)
Dalai Felinto [Mon, 17 Feb 2014 22:22:43 +0000 (19:22 -0300)]
bpy.ops.object.add_named() doesnt provide error when failed (related to T38689)

5 years agoView3d: remove DEBUG_NDOF_MOTION, replaced by --debug-events option
Campbell Barton [Mon, 17 Feb 2014 21:29:54 +0000 (08:29 +1100)]
View3d: remove DEBUG_NDOF_MOTION, replaced by --debug-events option

also set rv3d->rot_angle = 0 on all ndof view3d operators

5 years agoFix T38655: Face path select fails with edge/vert select enabled too
Campbell Barton [Mon, 17 Feb 2014 21:21:19 +0000 (08:21 +1100)]
Fix T38655: Face path select fails with edge/vert select enabled too

5 years agoFix crash on file load with linked groups and curve bevel.
Brecht Van Lommel [Mon, 17 Feb 2014 21:01:38 +0000 (22:01 +0100)]
Fix crash on file load with linked groups and curve bevel.

This isn't a proper fix, curve_cache should not be NULL, but it makes it
possible to open the file at least.

5 years agothis is an attempted Fix: T38679
Martijn Berger [Mon, 17 Feb 2014 19:11:45 +0000 (20:11 +0100)]
this is an attempted Fix: T38679
Cycles GPU Performance Regression

From my testing this (what i should have done in the first place) reduces the regression a lot.
Lets hope it is enough or we have to go back to busy waiting.

5 years agoMake it so missing curve cache doesn't crash in sequencer preview
Sergey Sharybin [Mon, 17 Feb 2014 18:11:27 +0000 (00:11 +0600)]
Make it so missing curve cache doesn't crash in sequencer preview

5 years agoFix T38647: "Make Duplicates Real" crashes in Solid mode
Sergey Sharybin [Mon, 17 Feb 2014 17:45:29 +0000 (23:45 +0600)]
Fix T38647: "Make Duplicates Real" crashes in Solid mode

This operator created new object and didn't tag them for update,
which made it so their data isn't ready at the time of drawing.

5 years agoRemove left-over form debug time
Sergey Sharybin [Mon, 17 Feb 2014 15:13:25 +0000 (21:13 +0600)]
Remove left-over form debug time

5 years agoFix T38685: missing auto refresh button text on image nodes.
Brecht Van Lommel [Mon, 17 Feb 2014 16:51:20 +0000 (17:51 +0100)]
Fix T38685: missing auto refresh button text on image nodes.

5 years agoBevel fix for T38675, bad bevel on slanted L.
Howard Trickey [Mon, 17 Feb 2014 16:39:03 +0000 (11:39 -0500)]
Bevel fix for T38675, bad bevel on slanted L.

The test for a reflex angle used the vertex normal,
which was not a good test for a saddle point vertex.
Switched to using the face normal, if available, for that test.
Also added test for this in svn bevel_regression.blend.

5 years agoFix T38680: File output subpath file-select operator uses absolute path.
Lukas Tönne [Mon, 17 Feb 2014 16:13:36 +0000 (17:13 +0100)]
Fix T38680: File output subpath file-select operator uses absolute path.

This is because the sub-paths of the individual sockets are defined as
FILEPATH properties, which automatically adds the standard fileselect
operator button in the uiLists. However, that operator returns full
paths only, with no direct way to make them relative to the base path.

So for now i've turned the subpath properties into regular strings,
which removes these operator buttons but should at least avoid the
confusion.

Eventually new operators could be defined for this, which use the file-
select operator and then make the path relative.

5 years agoAdapt KDL for compile with clang 3.4, which is stricter with friend classes,
Jens Verwiebe [Mon, 17 Feb 2014 15:39:03 +0000 (16:39 +0100)]
Adapt KDL for compile with clang 3.4, which is stricter with friend classes,
fixes ‘friend declaration specifying a default argument must be a definition’,
based on information from here:
http://www.orocos.org/forum/rtt/rtt-dev/bug-1053-new-compile-error-clang-34-patch-attached

5 years agoFix T38658: H.264 with "Lossless Output" enabled gives lossy output
Sergey Sharybin [Mon, 17 Feb 2014 14:50:42 +0000 (20:50 +0600)]
Fix T38658: H.264 with "Lossless Output" enabled gives lossy output

Issue was caused by the change in FFmpeg options: some of them were
renamed, some moved to another class.

Made some tweaks to how options are passed to the FFmpeg which now
seems to be the same as ffmpeg.c.

5 years agoFix T38651: Compositor Normal Node Sphere unchangable when Reset All To
Lukas Tönne [Mon, 17 Feb 2014 14:40:42 +0000 (15:40 +0100)]
Fix T38651: Compositor Normal Node Sphere unchangable when Reset All To
Default Values is used on it.

The default for the socket value was always 0. Now the default value for
node socket default_value properties is chosen based on the socket
subtype to give some more sensible values.

NOTE: this may still be different from the values specified in the
socket templates! It is not possible to directly use these template
values, because all sockets share the same RNA types. At least it should
work reasonably well in the majority of cases now.

5 years agoFix T38635: key configuration search not working well when typing 'slash'.
Brecht Van Lommel [Mon, 17 Feb 2014 13:58:14 +0000 (14:58 +0100)]
Fix T38635: key configuration search not working well when typing 'slash'.

5 years agoCompile Attrs: add ATTR_RETURNS_NONNULL
Campbell Barton [Mon, 17 Feb 2014 12:29:57 +0000 (23:29 +1100)]
Compile Attrs: add ATTR_RETURNS_NONNULL

5 years agoRNA: assert on NULL return values from itemf callbacks
Campbell Barton [Mon, 17 Feb 2014 12:28:09 +0000 (23:28 +1100)]
RNA: assert on NULL return values from itemf callbacks

5 years agoMake sure RenderLayer/Image nodes always return a valid enum items list.
Lukas Tönne [Mon, 17 Feb 2014 12:07:56 +0000 (13:07 +0100)]
Make sure RenderLayer/Image nodes always return a valid enum items list.

5 years agoFix T38422: Error writing AAC frame when using FFmpeg compiled with vo_aacenc
Sergey Sharybin [Mon, 17 Feb 2014 12:08:53 +0000 (18:08 +0600)]
Fix T38422: Error writing AAC frame when using FFmpeg compiled with vo_aacenc

Issue was caused by missing GLOBALHEADER flag set for audio stream.

Also made it so frame is getting filled with default, that's what
happening in ffmpeg.c.

5 years agoFix T38650: Crash from enum item functions returning NULL instead of a
Lukas Tönne [Mon, 17 Feb 2014 11:15:42 +0000 (12:15 +0100)]
Fix T38650: Crash from enum item functions returning NULL instead of a
single terminator item.

Ideally no enum item function should return NULL, but since this is very
common and an intuitive mistake, better handle that case gracefully in
the RNA access function.

5 years agoNDOF: remove bias for translation
Campbell Barton [Mon, 17 Feb 2014 11:17:31 +0000 (22:17 +1100)]
NDOF: remove bias for translation

Was noticeable (and annoying) that different axis had different speed,
if we want to have axis bias better do as a user preference.

5 years agoNDOF: allow panning in view3d.ndof_orbit_zoom, but forward is still zoom
Campbell Barton [Mon, 17 Feb 2014 11:05:10 +0000 (22:05 +1100)]
NDOF: allow panning in view3d.ndof_orbit_zoom, but forward is still zoom

This makes it so NDOF without any modifiers pressed can pan and orbit
which means you have full 6dof, however if you only want to orbit+zoom
that works as before.

also change logic so rotation is disabled for axis views (orbit operator
will exit axis views still, as with mouse orbit)

5 years agoNDOF: default to turntable (blenders default too)
Campbell Barton [Mon, 17 Feb 2014 11:04:26 +0000 (22:04 +1100)]
NDOF: default to turntable (blenders default too)

5 years agoMask: fix for intel openmp which doesn't support casts in for loops
Campbell Barton [Mon, 17 Feb 2014 10:36:47 +0000 (21:36 +1100)]
Mask: fix for intel openmp which doesn't support casts in for loops

5 years agoFix T38487: Wrapped translate node in combination with other buffered
Lukas Tönne [Mon, 17 Feb 2014 09:48:54 +0000 (10:48 +0100)]
Fix T38487: Wrapped translate node in combination with other buffered
nodes (Blur) causes crash due to chained read/write buffer operations.

The way read/write buffer operations are created for both the wrapped
translate node and then the "complex" blur node creates a chain of
buffers in the same ExecutionGroup. This leaves the later write buffer
operations without a proper "executor" group and fails on assert.

Solution for now is to check for existing output buffer operations like
it already happens for inputs. This is extremely ugly code, but should
become a lot more transparent after compositor cleanup ({D309}).

5 years agoSuppress assert in debug mode.
Campbell Barton [Mon, 17 Feb 2014 09:15:33 +0000 (20:15 +1100)]
Suppress assert in debug mode.

5 years agoMask: enable overlap detection by default, more compact buttons
Campbell Barton [Mon, 17 Feb 2014 08:59:13 +0000 (19:59 +1100)]
Mask: enable overlap detection by default, more compact buttons

5 years agoFix T38643: Frame labels are invisible with default theme.
Lukas Tönne [Mon, 17 Feb 2014 08:26:19 +0000 (09:26 +0100)]
Fix T38643: Frame labels are invisible with default theme.

The color for frame labels was a mix of the text color (black by
default) and the node theme color with a factor of 0.8, which
coincidentally is the same as the node body color.

Changed it to 0.4, which is the same as the regular node labels use.

5 years agoFix for another deadlock with py-drivers: BlendData.scene.remove()
Campbell Barton [Mon, 17 Feb 2014 08:29:37 +0000 (19:29 +1100)]
Fix for another deadlock with py-drivers: BlendData.scene.remove()

5 years agoBlender Internal: Revert a part of rB162d6c73e3d0, that broke rendered preview and...
IRIE Shinsuke [Mon, 17 Feb 2014 07:44:50 +0000 (16:44 +0900)]
Blender Internal: Revert a part of rB162d6c73e3d0, that broke rendered preview and often causes crash when using material light group.

5 years agoFix for issue in mask overlap with no splines in the mask.
Campbell Barton [Mon, 17 Feb 2014 07:54:24 +0000 (18:54 +1100)]
Fix for issue in mask overlap with no splines in the mask.

5 years agoClear +x flag from source file
Sergey Sharybin [Mon, 17 Feb 2014 07:18:22 +0000 (13:18 +0600)]
Clear +x flag from source file

5 years agoBring back mask copy/paste operator to the menu
Sergey Sharybin [Mon, 17 Feb 2014 07:09:10 +0000 (13:09 +0600)]
Bring back mask copy/paste operator to the menu

They got lost in clip interface tab-ilization.

5 years agoFix T38670: Mask transform without a movieclip crashes
Sergey Sharybin [Mon, 17 Feb 2014 06:58:50 +0000 (12:58 +0600)]
Fix T38670: Mask transform without a movieclip crashes

Disable transform and mask display when there's no active clip.

It's not a matter of returning fallback dimensions if there's no
slip, it's also matter of making it so stabilization and distortion
routines are aware of clip == NULL which is really crappy.

Also almost all the operators are disabled in clip editor without
active clip already anyway.

Also tweaked header UI a bit to not display mask stuff when there's
no active clip,

5 years agoFix T38669: Mask duplicate fails with multiple layers
Sergey Sharybin [Mon, 17 Feb 2014 06:39:15 +0000 (12:39 +0600)]
Fix T38669: Mask duplicate fails with multiple layers

Allow duplicating splines from inactive layers. This way it's
more useful IMO than restricting duplication to an active layer.

TODO: What should be a behavior for clipboard (currently it copies
splines from an active layer only)?

5 years agoFix T38664: Blender hang when change scene from script
Sergey Sharybin [Mon, 17 Feb 2014 06:33:00 +0000 (12:33 +0600)]
Fix T38664: Blender hang when change scene from script

Deadlock between python script evaluation thread and
drivers evaluation caused by scene update invoked from
ED_screen_set_scene().

Pretty much the same as setting scene current frame
with the same solution BPy_{BEGIN,END}_ALLOW_THREADS.

5 years agoFix for rare crash in recent mask option to check overlaps
Campbell Barton [Mon, 17 Feb 2014 04:15:49 +0000 (15:15 +1100)]
Fix for rare crash in recent mask option to check overlaps

5 years agoRevert 7142b970853f209f6c43319b7f862bcbdbea3728 (transform toggle node hiding)
Campbell Barton [Mon, 17 Feb 2014 03:44:49 +0000 (14:44 +1100)]
Revert 7142b970853f209f6c43319b7f862bcbdbea3728 (transform toggle node hiding)

D187 was committed without review and later rejected by Brecht and myself.

5 years agoSequencer: increase soft limits for translate
Campbell Barton [Mon, 17 Feb 2014 03:26:43 +0000 (14:26 +1100)]
Sequencer: increase soft limits for translate

5 years agoUI: wheel switches tabs over the tab area, or ctrl+wheel anywhere
Campbell Barton [Mon, 17 Feb 2014 02:46:07 +0000 (13:46 +1100)]
UI: wheel switches tabs over the tab area, or ctrl+wheel anywhere

5 years agoMesh Tool: removes degenerate edges, faces and face ears.
Campbell Barton [Mon, 17 Feb 2014 00:32:35 +0000 (11:32 +1100)]
Mesh Tool: removes degenerate edges, faces and face ears.

5 years agoCode cleanup: unused/warnings
Campbell Barton [Mon, 17 Feb 2014 00:12:39 +0000 (11:12 +1100)]
Code cleanup: unused/warnings

5 years agoFix: compile error due to non-matching type and strict flags for MSVC9
Andrea Weikert [Sun, 16 Feb 2014 14:47:08 +0000 (15:47 +0100)]
Fix: compile error due to non-matching type and strict flags for MSVC9

This fixes a small compile error where MSVC9 complains about conversion from int to unsigned char.

5 years agoFix for bmesh with openmp
Campbell Barton [Sun, 16 Feb 2014 11:40:09 +0000 (22:40 +1100)]
Fix for bmesh with openmp

5 years agoMSVC: add errors for BLI_strict_flags.h
Campbell Barton [Sun, 16 Feb 2014 03:50:15 +0000 (14:50 +1100)]
MSVC: add errors for BLI_strict_flags.h

5 years agoCMake: disable international if the locale path is empty
Campbell Barton [Sat, 15 Feb 2014 20:53:53 +0000 (07:53 +1100)]
CMake: disable international if the locale path is empty

This would happen when the submodules weren't initialized
but fail on `make install` with a not very helpful message.

5 years agoCompile fix for 004decc1d940...
Thomas Dinges [Sat, 15 Feb 2014 13:38:49 +0000 (14:38 +0100)]
Compile fix for 004decc1d940...

5 years agoFix/Workaround for NDOF/X11 bug with unreliable GHOST_kFinished events.
Campbell Barton [Sat, 15 Feb 2014 07:40:33 +0000 (18:40 +1100)]
Fix/Workaround for NDOF/X11 bug with unreliable GHOST_kFinished events.

5 years agoCode cleanup: use const short for ndof axis args
Campbell Barton [Sat, 15 Feb 2014 07:35:48 +0000 (18:35 +1100)]
Code cleanup: use const short for ndof axis args

5 years agoCode cleanup: warnings
Campbell Barton [Sat, 15 Feb 2014 07:21:07 +0000 (18:21 +1100)]
Code cleanup: warnings

5 years agoFix T38638: modifiers on curves kept warnings
Campbell Barton [Sat, 15 Feb 2014 06:25:56 +0000 (17:25 +1100)]
Fix T38638: modifiers on curves kept warnings

5 years agoMesh Inset: following existing edges is now optional
Campbell Barton [Sat, 15 Feb 2014 02:51:54 +0000 (13:51 +1100)]
Mesh Inset: following existing edges is now optional

5 years agoUI: fix for glitch where active button became inactive on undo
Campbell Barton [Sat, 15 Feb 2014 02:28:26 +0000 (13:28 +1100)]
UI: fix for glitch where active button became inactive on undo

5 years agoIDProp API: change IDP_NewString so `sizeof()` can be passed in.
Campbell Barton [Sat, 15 Feb 2014 01:31:58 +0000 (12:31 +1100)]
IDProp API: change IDP_NewString so `sizeof()` can be passed in.

5 years agoFix reading one byte past the buffer when writing string properties
Campbell Barton [Sat, 15 Feb 2014 01:27:23 +0000 (12:27 +1100)]
Fix reading one byte past the buffer when writing string properties

5 years agoFix T38640: password values showed in tooltips
Campbell Barton [Sat, 15 Feb 2014 01:05:51 +0000 (12:05 +1100)]
Fix T38640: password values showed in tooltips

also disable copying password text.

5 years agoCode cleanup: remove more string encoded menu functions
Campbell Barton [Sat, 15 Feb 2014 00:35:40 +0000 (11:35 +1100)]
Code cleanup: remove more string encoded menu functions

5 years agoInterface: Remove one more name field, this time from the armature tab - pose library...
Thomas Beck [Fri, 14 Feb 2014 22:56:52 +0000 (23:56 +0100)]
Interface: Remove one more name field, this time from the armature tab - pose library panel. It's not needed anymore (dbl click on the item itself will rename it)

5 years agoNDOF: rename 'zoom updown' to 'pan xy swap axis'
Campbell Barton [Fri, 14 Feb 2014 22:38:33 +0000 (09:38 +1100)]
NDOF: rename 'zoom updown' to 'pan xy swap axis'

This swapped translation for all ndof events.

5 years agoCycles Standalone: XML wrapping of Lights and some more volume settings.
Thomas Dinges [Fri, 14 Feb 2014 22:22:05 +0000 (23:22 +0100)]
Cycles Standalone: XML wrapping of Lights and some more volume settings.

5 years agoFix T37964: KX_GameObject missing NULL checks for m_physicsController.
Mitchell Stokes [Fri, 14 Feb 2014 21:13:32 +0000 (13:13 -0800)]
Fix T37964: KX_GameObject missing NULL checks for m_physicsController.

KX_GameObject::PySuspendDynamics() and KX_GameObjectPyRestoreDynamics()
now make sure GetPhysicsController() is non NULL before attempting
to use it.

5 years agoCycles Standalone: Add more controls and options
Thomas Dinges [Fri, 14 Feb 2014 20:40:51 +0000 (21:40 +0100)]
Cycles Standalone: Add more controls and options

* P key, pauses the render
* W/A/S/D for camera movement

5 years agoCycles Standalone: The camera now gets properly updated, when changing window size...
Thomas Dinges [Fri, 14 Feb 2014 17:40:31 +0000 (18:40 +0100)]
Cycles Standalone: The camera now gets properly updated, when changing window size or using --width --height overwrites.

5 years agoCycles: equi-angular sampling for homogeneous volumes
Brecht Van Lommel [Wed, 5 Feb 2014 15:33:51 +0000 (16:33 +0100)]
Cycles: equi-angular sampling for homogeneous volumes

This adds an option in the Volume Sampling panel, which helps rendering lamps
inside or near volumes with less noise. It can also increase noise though and
needs improvements to support MIS and heterogeneous volumes, but since it's
useful in some cases already (especially world volumes) it's there now.

Based on the code in the old branch by Stuart, with modifications by Thomas
and Brecht.

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

5 years agoFix T38606: C curve in the curve mapping compositing node not extrapolating correct.
Brecht Van Lommel [Fri, 14 Feb 2014 15:00:28 +0000 (16:00 +0100)]
Fix T38606: C curve in the curve mapping compositing node not extrapolating correct.

The "premultiply" optimization here did not take the extrapolation into account.

5 years agoFix T38629: broken links to OpenGL docs from python API docs.
Brecht Van Lommel [Fri, 14 Feb 2014 14:15:08 +0000 (15:15 +0100)]
Fix T38629: broken links to OpenGL docs from python API docs.

5 years agoFix T38633: glsl not working well with mixed cycles/blender material nodes.
Brecht Van Lommel [Fri, 14 Feb 2014 14:11:19 +0000 (15:11 +0100)]
Fix T38633: glsl not working well with mixed cycles/blender material nodes.

5 years agoFix T38504: cycles missing object in viewport with shape keys and shared mesh.
Brecht Van Lommel [Fri, 14 Feb 2014 13:53:19 +0000 (14:53 +0100)]
Fix T38504: cycles missing object in viewport with shape keys and shared mesh.

5 years agoCycles Standalone: Up/Down movement was inverted.
Thomas Dinges [Fri, 14 Feb 2014 12:56:23 +0000 (13:56 +0100)]
Cycles Standalone: Up/Down movement was inverted.

5 years agoCycles Standalone: Add interactive mode (I-key), to avoid accidental changes/movement.
Thomas Dinges [Fri, 14 Feb 2014 12:40:29 +0000 (13:40 +0100)]
Cycles Standalone: Add interactive mode (I-key), to avoid accidental changes/movement.

Also some code and whitespace cleanup.

5 years agoFix for crash caused by effectors doing precalculation //during// DAG
Lukas Tönne [Fri, 14 Feb 2014 11:54:42 +0000 (12:54 +0100)]
Fix for crash caused by effectors doing precalculation //during// DAG
updates.

This file crashes on loading with NULL pointer access to curve_cache:
{F77132}

The pdInitEffectors function was amalgamating the simple
collection of effector objects with an automatic precalculation for
curve guides and the like. This precalculation requires object data
that may not be available until the DAG has finished.

Since for DAG dependencies only the list of effectors is required,
added an argument to disable precalculation when collecting effectors.

5 years agoFix for "Show Overlay" for masks always grayed out
Sergey Sharybin [Fri, 14 Feb 2014 11:08:54 +0000 (17:08 +0600)]
Fix for "Show Overlay" for masks always grayed out

5 years agoCode clearnup: warnings
Campbell Barton [Fri, 14 Feb 2014 11:02:50 +0000 (22:02 +1100)]
Code clearnup: warnings

5 years agoPy API: refactor py text compiling into its own function
Campbell Barton [Fri, 14 Feb 2014 11:02:03 +0000 (22:02 +1100)]
Py API: refactor py text compiling into its own function

5 years agoFix T38562: Wrong curve tilt after Switch Direction
Sergey Sharybin [Fri, 14 Feb 2014 08:58:52 +0000 (14:58 +0600)]
Fix T38562: Wrong curve tilt after Switch Direction

5 years agoFix T38631: Blender crashes when selection faces after new boolean modifier
Sergey Sharybin [Fri, 14 Feb 2014 08:25:43 +0000 (14:25 +0600)]
Fix T38631: Blender crashes when selection faces after new boolean modifier

Own mistake in edges carve->blender export, didn't count them correct.

5 years agoNDOF: view3d improve dolly/zoom behavior
Campbell Barton [Fri, 14 Feb 2014 07:38:23 +0000 (18:38 +1100)]
NDOF: view3d improve dolly/zoom behavior

when in ortho mode, zoom would dolly rather then zooming which
doesn't make much sense, now check ortho and zoom in that case
(nice behavior for locked quad view).

5 years agoNDOF: fix orbit-all remaining on a view axis
Campbell Barton [Fri, 14 Feb 2014 06:42:21 +0000 (17:42 +1100)]
NDOF: fix orbit-all remaining on a view axis

also use auto-perspective behavior with ndof.

5 years agoNDOF: add roll to keymap
Campbell Barton [Fri, 14 Feb 2014 05:27:37 +0000 (16:27 +1100)]
NDOF: add roll to keymap

5 years agoNDOF/X11: incorrect dynamic_cast
Campbell Barton [Fri, 14 Feb 2014 05:12:41 +0000 (16:12 +1100)]
NDOF/X11: incorrect dynamic_cast