Commit Graph

41869 Commits

Author SHA1 Message Date
Sergey Sharybin
044a342ecb Fix a wrong check ls == NULL || lb->first == NULL 2013-11-21 19:11:24 +06:00
Lukas Tönne
91f0a38ad6 Fix T37558: Cosmetic label change to indicate that the path for individual inputs in the File Output node is actually a sub-path based on the overall node file path. 2013-11-21 10:47:09 +01:00
IRIE Shinsuke
98bf859efc Blender Internal: Add shader nodes "Separate HSV" and "Combine HSV", same as Cycles' ones. 2013-11-21 12:43:38 +09:00
Campbell Barton
ac021a42ad Code Cleanup: use strict flags for screw modifier, reduce sign conversion 2013-11-21 10:36:56 +11:00
Antony Riakiotakis
7cdfe18385 Fix compile error on MinGW64, time.h is required for gmtime. 2013-11-20 23:47:05 +02:00
Thomas Dinges
b0ea93aa9d * Remove more code for stars, missed those. Sorry! 2013-11-20 19:37:23 +01:00
Thomas Dinges
30512d7c55 Blender Internal:
* Remove Stars feature. This was a quite minimalistic feature and there are
better alternatives with more control (particles for example).

Removal discussed during BCon13 developer meeting and already years before, time to do it..

Reviewed By: brecht
Differential Revision: http://developer.blender.org/D17
2013-11-20 19:13:41 +01:00
Campbell Barton
d232486b40 Fix T37543: Multiline 3D Text saved in edit mode breaks on load 2013-11-21 04:32:28 +11:00
Campbell Barton
0af52adac0 Code Cleanup: remove unused members for editfont (3D text) 2013-11-21 04:16:41 +11:00
Campbell Barton
31a1bcfcd7 fix T37411: Transform mouse constraint could fail in some situations.
Was caused by int rounding when an axis was < 1.0.
2013-11-21 02:21:34 +11:00
Campbell Barton
82238c3e36 Fix T37550: Crash while snaping to curve made from Susane (bug in recent addition) 2013-11-21 00:21:31 +11:00
Joshua Leung
efdd4894e9 NLA Channel Drawing Refactor: Remove rest of old drawing code for NLA Track channels
NLA Track drawing has now been ported over to use the UI widgets
like the rest of the anim channels do in the DopeSheet and Graph
Editors. The main benefit of this for users is that these buttons
will now show tooltips when you hover over them. Hopefully this
will help make the "solo" buttons more discoverable.

I've decided to postpone porting the "Action Line" channels to the
widget system for now, since there are quite a few more issues there
which need quite a bit more time to work through.
2013-11-21 01:33:02 +13:00
Joshua Leung
905085228f Anim Editors: Ensure that "solo" flag doesn't get accidentally handled on channels which don't support it 2013-11-21 01:33:02 +13:00
Joshua Leung
96a4ee725e Anim Editors: Improve some tooltips to be more accurate for the type of editor/data they're shown for
This commit fixes some problems where some tooltips were not adapting
as intended when used for different channel types in different places.
2013-11-21 01:33:02 +13:00
Joshua Leung
2213b93521 Remove old drawing code for NLA Tracks 2013-11-21 01:33:02 +13:00
Joshua Leung
be971959bc Added button callback so that toggling solo mode on NLA Tracks now works correctly 2013-11-21 01:33:02 +13:00
Joshua Leung
5efad6f6c6 Ported code for setting colour of NLA Track anim channel 2013-11-21 01:33:02 +13:00
Joshua Leung
eb72712485 Ported over logic for which animchannel settings are supported by NLA Tracks 2013-11-21 01:33:02 +13:00
Joshua Leung
2f88fc35de Skeleton of type defines for NlaTrack animchannel 2013-11-21 01:33:01 +13:00
Joshua Leung
c4bb2e9774 Updating icons for NLA Track "solo" button (as used in standard widgets) 2013-11-21 01:33:01 +13:00
Campbell Barton
33ae2b6c70 Transform: Warp tool (rewritten)
* Can optionally warp a segment (sets min/max default so it acts as old warp did).
* Can rotate the warp axis (old warp tool was limited to horizontal).
2013-11-20 23:30:26 +11:00
Howard Trickey
1158c1f7c0 Bevel Fix for nonplanar faces / reflex angles
When beveling two adjacent edges, code used face normal instead
of the face-corner normal (these can be different for nonplanar
faces); the bevel may look uneven in such cases.
Switched to using corner normal, and needed to fix the case
where the edges meet at a reflex angle. Fixed a similar case
when beveling two edges with one non-beveled in between.
Also removed unnecessary argument from offset_meet.
2013-11-20 07:18:18 -05:00
Lukas Tönne
25560a3734 Fix T37545: SV+H color cube display changes H slider position when modifying S or V.
The widget for the SV gradient was disabling display colorspace transform, but this was not happening for the H slider below, leading to varying H values used to calculate the slider position.
2013-11-20 11:37:56 +01:00
Sergey Sharybin
d7eac00d12 Expose track's offset to the RNA 2013-11-20 15:55:23 +06:00
Sergey Sharybin
06c86e7722 Fix T37172: Plane Tracker Deform - No perspective
Previous wrap implementation was based on inverse
bilinear mapping, which doesn't give perspective.

Now plane track wrap estimates perspective transform
matrix as a homography estimation between frame
coordinates and plane corners.

Uses Libmv's implementation for this, which means
plane track wouldn't work properly with Libmv
disabled. Not a deal for official builds at all,
just folks who keeps things disabled need to be
aware of this.
2013-11-20 15:32:31 +06:00
Campbell Barton
067d52cd48 Transform: rename Warp to Bend 2013-11-20 12:14:10 +11:00
Campbell Barton
4c01709018 Math Library: add dot_m4_v3_row_x/y/z 2013-11-20 11:48:12 +11:00
Thomas Dinges
fb91a602c7 Blender Internal:
* Remove "Edge" post processing effect and the corresponding render layer.

Since we have freestyle, this is not needed anymore and was a very simple effect anyway (Zbuffer filter effect, could be added to the compositor if really needed again).

Reviewed By: brecht, ton
Differential Revision: http://developer.blender.org/D14
2013-11-19 20:30:49 +01:00
Campbell Barton
1ea47c9af9 Code Cleanup: style, spelling and pep8 edits 2013-11-20 03:40:10 +11:00
Campbell Barton
5743a6e364 Code Cleanup: move trans-verts out of snap code into their own file.
Developer Note:
* minmax & centroid was being calculated when creating trans-verts but never used.
* static vars removed, replace with TransVertStore stack var.
2013-11-20 02:54:52 +11:00
Henrik Aarnio
035d86402b Fix: tab completing a filepath name in file browsers asks to create a new
directory if name was not fully matched

When hitting tab to complete a directory name in the filepath field in the
filebrowser Blender shows a "create new directory?" popup, if the beginning
of directory name typed in the field matches many entries. For example if you
have directories in the open directory called "test123" and "test456", typing
"te", tab would complete up to "test", but ask to create a new folder with the
name "test".

This patch unsets the boolean storing the info about changing filepath if the
folder with the completed name does not exist.

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D10
2013-11-19 16:42:50 +01:00
Campbell Barton
0c0bed3b16 Fix: Game Engine regression drawing text from recent cleanup 2013-11-20 00:01:20 +11:00
Sergey Sharybin
000312ab51 Remove Surface modifier when removing force field from object
Summary:
Before this adding Surface type of force field and removing
this field would leave Surface modifier alive in the stack.

This might be really misleading and annoying.

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

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

Reviewers: brecht, campbellbarton

Reviewed By: brecht

Differential Revision: http://developer.blender.org/D13
2013-11-19 17:19:06 +06:00
Lukas Tönne
c566e408e4 Cleanup: Renamed compositor executePixel functions and their 'read' wrappers in SocketReader.
Distinguish the 3 different methods for acquiring pixel color values (executePixel, executePixelSampled, executePixelFiltered).
This makes it easier to keep track of the different sampling methods (and works nicer with IDEs that do code parsing).

Differential Revision: http://developer.blender.org/D7
2013-11-19 11:06:16 +01:00
Sergey Sharybin
1e479d1722 Potential fix for T37525: Viewer node causes crash
LOCK_DRAW_IMAGE used to be unlocked twice. Now made it
so all the thread-unsafe code is inside a single lock/
unlock section.
2013-11-19 13:15:17 +06:00
Campbell Barton
4c42e73a9d Fix T37399: Crash with wireframe (wasn't clearing edge tag) 2013-11-19 16:45:21 +11:00
Campbell Barton
2b946f4297 Fix T37445: Crash with snapping and shrink-wrap modifier.
Developer note:
BVHTREE_FROM_FACES was being used for both edit-mesh and derived-mesh
bvh-trees, this could cause index lookup errors in editmode.
Fix by adding a new type for editmesh so theres no confusion.
2013-11-19 14:31:26 +11:00
Campbell Barton
95d3286c65 Fix T37464: Crash when pressing "V" in UV/Image editor
Also fix for missing draw-handler free.
Delay activating until we know 'stitch_init' succeeds.
2013-11-19 13:34:16 +11:00
Campbell Barton
74a1e4dcf2 Fix T37519: Screw Modifier ignores material setup
This was more a missing feature then a bug, the modifier never handled
existing faces however with ngons its possible to get more useful
results. Also order edges from the faces (if available),
gives control over the face-winding-direction.
2013-11-19 13:15:12 +11:00
Campbell Barton
4da651c8f0 Fix T37472: crash when packing UV islands. 2013-11-19 11:20:57 +11:00
Mitchell Stokes
0f32bc49ec Fix T37171: Camera parented to a bone doesn't move with the bone, unless another object is parented too
Armatures used to check if any of their meshes were culled to see if they needed
to be updated. However, this meant armatures with no meshes would never update,
since non-mesh objects are always considered culled. Instead, if a non-culled
child was not found, we now check to see if the armature contained only
non-mesh objects. If this is the case, always update the armature. If this
becomes a problem, we can look into being able to cull non-mesh objects.
2013-11-18 14:52:07 -08:00
Mitchell Stokes
55e3be560e Fix T36756: Use Frame Rate option toolip was unclear about which FPS value to respect 2013-11-18 14:19:00 -08:00
Campbell Barton
3bc0552c5b Fix for running datablock eyedropper outside of a button. 2013-11-19 07:10:56 +11:00
Campbell Barton
bea9c3ab30 Fix T36998: Bisect would operate on unselected vertices. 2013-11-19 07:00:18 +11:00
Campbell Barton
df060e5d21 Fix T37088: Crash with eyedropper (shortcut E) 2013-11-19 05:49:39 +11:00
Campbell Barton
6f3f107c59 Fix T37336: Toggle selecting a pose-bone from object mode would de-select all others. 2013-11-19 05:21:58 +11:00
Mitchell Stokes
c73f82b6f0 Fix T37040: Removing vehicles in BGE causes a crash
The vehicle constraint is now properly removed if bge.constraints.removeConstraint()
is used or the object is deleted. This also fixes a memory leak with the
vehicle wrapper.
2013-11-18 09:37:58 -08:00
Campbell Barton
2d4bfc5e60 Fix T37495: Duplis weren't handling negative scaled objects properly. 2013-11-19 03:27:47 +11:00
Campbell Barton
67aff56c01 Fix T37506: Duplicate Area into New, was disabled on fullscreen but works ok. 2013-11-19 02:52:34 +11:00
Campbell Barton
b6b4aabf04 Fix T37511: toggle-drag feature was crashing with menu items. 2013-11-19 02:28:21 +11:00