Commit Graph

51847 Commits

Author SHA1 Message Date
Campbell Barton
e5c7535beb Code Cleanup: float/double promotions 2014-01-15 13:40:40 +11:00
Campbell Barton
da8619fe23 Math Lib: add iroundf function for: (int)floorf(a + 0.5f) 2014-01-15 13:40:40 +11:00
Joshua Leung
9e8428b09a Code cleanup - Commented out some code which wasn't actually doing anything
gpf->framenum is an int, not a float. Hence, this type of rounding has no effect.
2014-01-15 14:54:00 +13:00
Joshua Leung
fcec99d9cc Whitespace/Style fix 2014-01-15 14:45:46 +13:00
Joshua Leung
5196c4fd12 Fix uninitialised var warning 2014-01-15 14:45:45 +13:00
Antony Riakiotakis
53f93ef66d Fix build issues with mingw's 2014-01-15 00:33:55 +02:00
Sergej Reich
eda49cf58e Rigidbody: Remove keyboard shortcuts to add/remove bodies
We had several reports where users would create rigid bodies by accident
and then wonder why transformations behave differently.
Since these actions aren't used that often, just remove the shortcuts.
2014-01-15 01:07:50 +01:00
Campbell Barton
fab5438943 Code Cleanup: avoid duplicate calls to WM_window_pixels_x/y 2014-01-15 10:41:13 +11:00
Campbell Barton
cc978dc0c1 Fix for minor precision glitch while zooming on clamped view2d 2014-01-15 10:06:12 +11:00
Thomas Dinges
9e3ddd70d4 Cycles: Disable SSE41 kernel on 32bit, we don't use intrinsics here anyway. Also disable it for Visual Studio < 2012, broken blendv instruction. 2014-01-14 23:51:59 +01:00
gaiaclary
c00b8c538c fixed wrong comment 2014-01-14 23:08:29 +01:00
gaiaclary
875ddfcee0 Added missing include 2014-01-14 22:54:18 +01:00
Martijn Berger
0f3fed2970 OS X linker does not like empty compilation unit by itself in a library. Scons creates one library (.a) per kernel. This fixes that 2014-01-14 22:48:31 +01:00
Campbell Barton
a9f761708c Fix for icon generation with MSVC
Big thanks to Gaia for getting this working!
2014-01-15 08:40:56 +11:00
Thomas Dinges
5d88f7c7db Cycles: Build SSE41 kernel per default, remove build option. This hopefully also fixes some compile errors on various systems. 2014-01-14 22:04:32 +01:00
Bastien Montagne
839ddfbb65 Fix for rBec81feab6649: better to search for versionned libs first, else it can use your system ones instead of those built by install_deps! 2014-01-14 21:52:17 +01:00
Bastien Montagne
a294d3a18f Cleanup: some boolean int to real bool. 2014-01-14 21:52:17 +01:00
Martijn Berger
993b946681 DingTo forgot to make sure kernel_sse41 is compiled in even when empty 2014-01-14 21:49:48 +01:00
IRIE Shinsuke
ec81feab66 CMake: Fix libname handling of OpenEXR 2.1. The library built with Autotools was not found.
Weird library names having version suffix (e.g. libIex-2_1.so) are used only
when the OpenEXR was built with CMake.  Building the library with the Autotools
doesn't add the version suffix.
2014-01-15 04:43:31 +09:00
Thomas Dinges
9351ac0d85 Cycles: Skip the compilation of the dedicated SSE2 kernel on x86-64, we can assume SSE2 here, so just re-use the regular one. Saves 500kb in the blender binary.
Reviewed by: brecht
Differential Revision: https://developer.blender.org/D199
2014-01-14 20:39:54 +01:00
Brecht Van Lommel
d980c3eccb Further fix for T37817: non-ascii paths fix in Cycles broke OSL rendering.
Not quite sure yet what is going on here, but this works for me.
2014-01-14 20:01:26 +01:00
Sv. Lockal
6e8321f2c0 Fix GLSL compatible_pow to give 1.0 for 0 ^ 0 2014-01-14 22:58:07 +04:00
Sv. Lockal
1c49eb0072 Cycles, Code cleanup: simplify code for color linear interpolation and float math
Reviewed By: brecht

Differential Revision: https://developer.blender.org/D215
2014-01-14 22:55:02 +04:00
Campbell Barton
1908c31b06 Fix for icon pin drawing too large when (U.pixelsize != 1) 2014-01-15 04:57:27 +11:00
Sergey Sharybin
43c2b36431 Correction to assert in previous commit 2014-01-14 23:51:26 +06:00
Howard Trickey
dad1d30bbf Fix to recent commit, == instead of = in do_version 2014-01-14 12:29:03 -05:00
Dalai Felinto
8a8ee2c601 fix #T37894: IK constraint desactivation does not work as expected
patch suggested by Séverin Lemaignan (skadge)
2014-01-14 14:45:00 -02:00
Howard Trickey
c5d3abc863 Bevel fix to clamping for percent type.
The clamp code is still very crude and over-conservative,
but was totally wrong for the percent amount type.
2014-01-14 11:21:56 -05:00
Howard Trickey
86616c675a Bevel Modifier: add width type and profile control.
This adds to the modifier the new controls that have been
added to the bevel tool.
2014-01-14 11:07:45 -05:00
Dalai Felinto
dfac6c4189 fix #T37892 BL_ArmatureConstraint.active returns wrong value
patch (with changes from me) by Séverin Lemaignan (skadge)
2014-01-14 13:22:41 -02:00
Campbell Barton
54e56cd309 Fix T38209: Curve's didn't account for negative scale
Would use the face winding from the previously drawn mesh
2014-01-15 00:35:43 +11:00
Campbell Barton
1fb9bb815a Fix for own regression, editmode object selection (Ctrl+RMB)
Wasn't working because of editmode override (which uses regular object selection in editmode)
2014-01-15 00:28:55 +11:00
Sergey Sharybin
ca2a14491e Fix T38196: Crash with smoke simulation
Issue was caused by KD tree being allocated with the wrong size.
2014-01-14 17:17:24 +06:00
Sergey Sharybin
e7d18eb7bd Add check for KD tree size to BLI_kdtree_insert()
Makes sure we're not trying to insert more nodes than we've
been expecting to.
2014-01-14 17:16:06 +06:00
Thomas Dinges
b7f04acb0c Fix T38205, typo in Add Torus operator. 2014-01-14 09:45:40 +01:00
Campbell Barton
aa986c3f3d Correct bad mistake in own recent to commit to angle calculation 2014-01-14 13:47:24 +11:00
Campbell Barton
20cea92db1 Code Cleanup: minor edits to recent commit 2014-01-14 13:39:55 +11:00
Jonathan Williamson
0f30231686 Missed a comment on last commit.
This was missed in the previous commit. Adding back for future readability. Thanks @campbellbarton for spotting it.
2014-01-13 20:35:35 -06:00
Jonathan Williamson
b3101aba6a Make Toolbar Tabs more readable
This makes the tabs slightly larger, increases the text size slightly, and adjusts the colors a bit to improve overall contrast. It also makes inactive tabs draw with a full tab shape, improving the readability at a glance, particularly when tabs are very small.

The users most affected will be those on smaller displays, where previously tabs were very difficult to read.

Reviewers: @billrey, @campbellbarton

Differential Revision: https://developer.blender.org/D170
2014-01-13 20:25:40 -06:00
Campbell Barton
5611fb6a32 Fix T38186: mesh inset didn't follow edge directions for flat surfaces
also improve evenness when the inset direction wasn't exactly between both edges,
2014-01-14 09:48:59 +11:00
Campbell Barton
8cb9b42c9c Math Lib: minor optimization for angle functions 2014-01-14 09:48:59 +11:00
Brecht Van Lommel
a02a97753b Fix T38192: OSL got incorrectly enabled in preview render when GPU was selected
for rendering of the main scene.
2014-01-13 23:29:35 +01:00
Brecht Van Lommel
6eedf08cca Fix T38176: can't set vertex coordinate to 0.0 when it's set to 0.0000001. 2014-01-13 23:19:46 +01:00
Geoffroy Krantz
ff98be83a9 Empties with Images draw type: add support for movies and image sequences
This adds an ImageUser to such empties with all the typical settings.

Reviewed By: brecht, campbellbarton

Differential Revision: https://developer.blender.org/D108
2014-01-13 22:18:31 +01:00
Thomas Dinges
e9984653a8 Cycles: Fix Wave texture difference between OSL and SVM, OSL wasn't using the "Scale" properly for distortion. 2014-01-13 22:01:39 +01:00
Thomas Dinges
6b61f7f755 Code cleanup / Cycles: Don't pass scale to texture functions, do the multiplication in the function call already. 2014-01-13 21:17:55 +01:00
Sergey Sharybin
ef67b9eec4 Ceres: more warnings cleanup 2014-01-14 01:18:09 +06:00
Campbell Barton
c48c62a831 Code Cleanup: replace checks for ima->source with BKE_image_is_animated 2014-01-14 04:59:58 +11:00
Campbell Barton
800e2283aa Fix T38171: Vertical tabs don't respond to clicks on the left most pixels 2014-01-14 04:15:54 +11:00
Howard Trickey
22c9e532dc Color control for bl_debug_draw functions 2014-01-14 03:59:22 +11:00