Commit Graph

52536 Commits

Author SHA1 Message Date
Martijn Berger
ace071f99e prepare 32bit build msvc2013 scons/buildbot 2014-02-18 23:15:40 +01:00
Campbell Barton
16987f1c39 UI: increase contrast active/inactive (see: T38490) 2014-02-19 08:13:28 +11:00
Campbell Barton
c9233bfd82 Code cleanup: style 2014-02-19 08:02:59 +11:00
Brecht Van Lommel
acecae86dc Fix windows build error in splash screen commit. 2014-02-18 20:34:55 +01:00
Brecht Van Lommel
a66236c8f9 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.
2014-02-18 19:54:42 +01:00
Brecht Van Lommel
3f769776fe Splash screen: use a retina resolution image for Mac OS X. 2014-02-18 19:38:44 +01:00
Brecht Van Lommel
90a86fecee Fix T38684: cmake OS X build problem when changing deployment target.
Don't cache these variables as they are not cleared on such changes.
2014-02-18 19:38:43 +01:00
Brecht Van Lommel
44fe9fe17b Multisample: disable this by default again, it is causing a serious performance regression.
Fixes T38665
2014-02-18 19:38:43 +01:00
Lukas Tönne
d516fedba3 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.
2014-02-18 19:01:04 +01:00
Sergey Sharybin
f5ae5698d0 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
2014-02-18 23:12:16 +06:00
Jens Verwiebe
c987bcc416 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 )
2014-02-18 17:18:35 +01:00
Sergey Sharybin
7aa86ec243 Fix T38700: Plane track can't be adjust when select mouse is set to left 2014-02-18 19:09:11 +06:00
Dalai Felinto
cbbc67a0b5 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.
2014-02-18 10:08:45 -03:00
Campbell Barton
e965afcdcc Python: remove redundant len() use 2014-02-19 00:05:31 +11:00
Sergey Sharybin
d035e5ac9d Fix T38698: In the Mask tab the Insert Key and Clear Key button labels are switched 2014-02-18 18:57:09 +06:00
Campbell Barton
dcdb4eaf9c NDOF: Fix for fly/walk mode ignoring axis invert options 2014-02-18 23:55:58 +11:00
Lukas Tönne
13553876ba 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.
2014-02-18 13:18:53 +01:00
IRIE Shinsuke
69fb332709 Fix regression that Blender crashes on startup if UI translation is enabled, it was mistake in rB50b2c78ad8b6. 2014-02-18 19:09:44 +09:00
Sergey Sharybin
db172c1a98 Fix T38672: Can't select strips inside a Meta on the Mask Modifier 2014-02-18 16:01:16 +06:00
Sergey Sharybin
688d0984eb 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.
2014-02-18 15:08:08 +06:00
Sergey Sharybin
2175302d3b Possible fix for T38644: H.264 with PNG RGBA encoding crashes 2014-02-18 12:37:21 +06:00
Sergey Sharybin
97b90d89f4 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.
2014-02-18 11:53:04 +06:00
Campbell Barton
6dafb89436 Fix FCurve reading freed themes, assert to prevent further misuse 2014-02-18 12:33:19 +11:00
Campbell Barton
410613ec09 NDOF: add keymapping for the 'fit' button for other 2d views 2014-02-18 11:57:49 +11:00
Campbell Barton
5fb2d21390 NDOF: support pan/zoom for view2d (nodes, graph editor, sequencer... etc) 2014-02-18 11:57:49 +11:00
Campbell Barton
2b0aa105f7 NDOF: show invert pan & zoom in the menu outside the 3d view 2014-02-18 11:57:49 +11:00
Campbell Barton
c4bebc0632 NDOF: fix for broken zoom invert for image and clip editor
also match zoom speed with 3d view
2014-02-18 11:57:48 +11:00
Campbell Barton
c67b9f4c37 NDOF: image and clip views ignored axis invert preferences
also X/Y invert was swapped for 3d view.
2014-02-18 11:57:48 +11:00
Campbell Barton
f468904e9b NDOF: use like a joystick for cube picker (as with circle picker) 2014-02-18 11:57:48 +11:00
Mitchell Stokes
16c75cf594 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.
2014-02-17 14:38:08 -08:00
Dalai Felinto
3d7e0aae52 bpy.ops.object.add_named() doesnt provide error when failed (related to T38689) 2014-02-17 19:22:50 -03:00
Campbell Barton
787623e4a3 View3d: remove DEBUG_NDOF_MOTION, replaced by --debug-events option
also set rv3d->rot_angle = 0 on all ndof view3d operators
2014-02-18 08:31:08 +11:00
Campbell Barton
13870d5177 Fix T38655: Face path select fails with edge/vert select enabled too 2014-02-18 08:31:08 +11:00
Brecht Van Lommel
1a4b718582 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.
2014-02-17 22:02:44 +01:00
Martijn Berger
f1aeb2ccf4 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.
2014-02-17 20:11:45 +01:00
Sergey Sharybin
7cc954d7a7 Make it so missing curve cache doesn't crash in sequencer preview 2014-02-18 00:11:27 +06:00
Sergey Sharybin
e7ce4f22fb 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.
2014-02-17 23:45:29 +06:00
Sergey Sharybin
8a32f2c6d6 Remove left-over form debug time 2014-02-17 23:38:12 +06:00
Brecht Van Lommel
641d653a37 Fix T38685: missing auto refresh button text on image nodes. 2014-02-17 17:52:09 +01:00
Howard Trickey
6de3a8a4fe 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.
2014-02-17 11:43:31 -05:00
Lukas Tönne
266e1b3b4f 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.
2014-02-17 17:17:10 +01:00
Jens Verwiebe
fc9215129e 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
2014-02-17 16:39:03 +01:00
Sergey Sharybin
209a68af39 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.
2014-02-17 20:53:15 +06:00
Lukas Tönne
ecd0565f28 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.
2014-02-17 15:44:21 +01:00
Brecht Van Lommel
a5cfd3f518 Fix T38635: key configuration search not working well when typing 'slash'. 2014-02-17 15:03:24 +01:00
Campbell Barton
4c512fb642 Compile Attrs: add ATTR_RETURNS_NONNULL 2014-02-17 23:32:00 +11:00
Campbell Barton
50b2c78ad8 RNA: assert on NULL return values from itemf callbacks 2014-02-17 23:31:59 +11:00
Lukas Tönne
d607a70795 Make sure RenderLayer/Image nodes always return a valid enum items list. 2014-02-17 13:11:49 +01:00
Sergey Sharybin
a61e3b9a9e 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.
2014-02-17 18:10:38 +06:00
Lukas Tönne
280f9d3b39 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.
2014-02-17 12:19:39 +01:00