Commit Graph

43157 Commits

Author SHA1 Message Date
Thomas Dinges
188718a3d5 OSL Shader Files:
* Simplify default color values, where each component was the same.
* Initialize closures as Null Closure, rather than assigning an existing closure, gets overwritten anyways.
2012-12-11 16:06:03 +00:00
Campbell Barton
92ae023a90 change to r52888, since we dont always want ED_view3d_offset_distance() to give a corrected value, instead pass a fallback so callers don't allow zero by accident. 2012-12-11 15:56:11 +00:00
Campbell Barton
1eadcf743d fix for building with msvc 2012-12-11 15:29:08 +00:00
Campbell Barton
570cdb3b6e image stamp data's strings could be short enough not to fit the entire ID name length. 2012-12-11 15:14:35 +00:00
Campbell Barton
71730f26d7 replace BLI_array_fixedstack_declare with() new macro BLI_array_alloca() which uses stack memory always and doesn't need to be freed explicitly. 2012-12-11 15:10:19 +00:00
Campbell Barton
3520dd56e3 fix for warnings/errors in recent commits 2012-12-11 15:06:51 +00:00
Ton Roosendaal
cb116b42f4 Bug fix, irc report:
When camera is the pivot of 3d window, and you go to camera view, moving out of
view with MMB drag causes zooming to stop working. Zooms depend on view3d "dist"
value, which then became zero.

This fix just makes dist "1.0" then, arbitrary but keeps things at least work.
(Tried restoring to previous 'dist', but this fails in cases too)
2012-12-11 14:45:38 +00:00
Brecht Van Lommel
8d4bd2cf3b Cycles OSL: add diffuse_ramp closure in addition to phong_ramp. 2012-12-11 14:39:41 +00:00
Brecht Van Lommel
43c04eefe3 Cycles: RGB and Vector Curves nodes now supported, with the limitation that the
range must be left to the default (0..1 and -1..1).
2012-12-11 14:39:37 +00:00
Brecht Van Lommel
7c81952179 Cycles: trick to make building with OSL trunk work as well, it has a different
name for LoadMemoryShader so we make it call the right name depending on which
is available.
2012-12-11 14:39:32 +00:00
Brecht Van Lommel
1e5cc7c51b RNA: add Window x/y position and size access. 2012-12-11 14:39:30 +00:00
Brecht Van Lommel
68efcca5ea Fix issue reported in #32174: IK solver stretch was less stable after a code refactor
commit, epsilon was supposed to be 0.01 instead of 0.001.
2012-12-11 14:39:28 +00:00
Brecht Van Lommel
fd3068281c Fix OS X warning on startup about using deprecated function, when building against 10.8 SDK. 2012-12-11 14:39:26 +00:00
Campbell Barton
f6c14d430f minor speedup - replace use of smallhash with api_flags for BM_edge_split() 2012-12-11 14:30:12 +00:00
Campbell Barton
7c699a217a define the size of matrix args for both rows/cols. 2012-12-11 14:29:01 +00:00
Campbell Barton
e2f0a1e4db own cleanup commit in bmesh branch - removed last letters from ends of some comments. 2012-12-11 14:24:27 +00:00
Campbell Barton
06d5747ff3 was using max short on a float in EDBM_face_find_nearest() 2012-12-11 14:21:52 +00:00
Campbell Barton
dfa662f53a use const char for display device 2012-12-11 14:20:29 +00:00
Campbell Barton
5943c81a93 code cleanup: neareast -> nearest 2012-12-11 14:19:41 +00:00
Campbell Barton
634b22fc46 code cleanup: spelling labda -> lambda 2012-12-11 14:18:37 +00:00
Bastien Montagne
01ab26770f Fix some RNA subtypes for collections' active/active_index props (some PROP_POINTER had PROP_UNSIGNED!). Harmless, but stupid ;) 2012-12-11 14:11:46 +00:00
Campbell Barton
361eb23a42 switch BLI_ghashutil_strhash() to "djb" hash (as used by glib),
Gives approx 10% speedup in my own micro-benchmark looking up operators.
2012-12-11 13:57:58 +00:00
Campbell Barton
3261338aef unfreeze blender, back to bcon1 2012-12-11 13:56:01 +00:00
Daniel Genrich
e089c5a976 Bugfix [#33467] Fluid Simulations Speed factor animated wrong result
Thanks to Brecht for providing a patch and example blend.
I changed and extended it a bit since there was another bug in that loop.
2012-12-11 13:02:42 +00:00
Brecht Van Lommel
d321ee3fda Fix #33476: cycles environment texture not showing image sequence options properly. 2012-12-11 11:22:51 +00:00
Brecht Van Lommel
ea464b9659 OSL install deps script: set STOP_ON_WARNING to OFF to disable -Werror. 2012-12-11 08:13:56 +00:00
Brecht Van Lommel
c6961305df Fix game player still not using fast GPU mipmap generation, user preferencs
are not actually used here.
2012-12-11 08:01:16 +00:00
Brecht Van Lommel
cb2ad513bb Splash template XCF file for Gimp. 2012-12-11 08:01:05 +00:00
Campbell Barton
08f39daf4e cmake wouldn't build since it was missing files added in r52858. 2012-12-11 05:57:42 +00:00
Campbell Barton
a6e9c9fda0 update api changelog 2012-12-11 02:13:42 +00:00
Joerg Mueller
245345fba5 Audaspace:
Implemented forgotten Calculator classes from boost migration.
2012-12-10 16:58:47 +00:00
Sergey Sharybin
e1100cb655 Fix for maya keymap 2012-12-10 14:06:57 +00:00
Brecht Van Lommel
cc551ed218 Splash screen for 2.65, created by Jordan Schur. 2012-12-10 14:01:08 +00:00
Brecht Van Lommel
919311a654 Fix cycles OSL + AO enabled in world settings not working correct. 2012-12-10 12:56:56 +00:00
Sergey Sharybin
d576f10f5b 2.65 commit: version bump 2012-12-10 11:01:13 +00:00
Brecht Van Lommel
d5e6882360 Fix shader nodes Normal node not showing right direction choosing widget. 2012-12-10 10:44:08 +00:00
Brecht Van Lommel
fe2907d6cb CMake: fix numpy install not getting properly disabled when numpy was not found. 2012-12-10 09:07:57 +00:00
Campbell Barton
1b19b790dd fix for knife when clipping was enabled, The knife would not snap to edges/verts outside the clip area but the geometry would still get cut 2012-12-10 08:15:14 +00:00
Campbell Barton
26d6872ef8 fix for knife tool when the mouse was moved outside the clipped area the mouse line would reset to 0/0/0
a few areas that use ED_view3d_win_to_segment_clip() didnt take into account the case where the segment was filly clipped, some callers even needed the segment not to be clipped.
- added ED_view3d_win_to_segment()
- ED_view3d_win_to_segment_clip() now returns FALSE if the segment is totally clipped, but the start/ends of the line are not zero'd as they were before.
2012-12-10 07:53:20 +00:00
Campbell Barton
b0a361584a knife tool was incorrectly moving points into worldspace, then checking clipping against the object space bounds.
more fixes needed here but at least correct whats there.

also ensure clipping is initialized from the object before handling modal operator events.
2012-12-10 07:20:52 +00:00
Campbell Barton
bc94b8300e de-duplicate labda_PdistVL2Dfl() & line_point_factor_v2() 2012-12-10 06:14:43 +00:00
Campbell Barton
27ddd17ef9 some of the modal knife key bindings didn't cause a refresh until you moved the mouse. - snap, angle snap, midpoint snap. 2012-12-10 05:07:46 +00:00
Campbell Barton
9e5dc7de01 revert most of r52820 (patch to fix [#33452]), this caused a regression in text stepping when ctrl is held.
This adds back the problem that double-clicking on a single char wont select it. Double click selection may need its own logic.
2012-12-10 02:06:26 +00:00
Campbell Barton
ec3b5d5205 fix for copying markers to other scenes not working with 10 or more scenes. Regression from r34115. 2012-12-10 01:37:31 +00:00
Sergey Sharybin
4aeed148d1 Fix for camera solver not working properly when built with scons 2012-12-09 17:42:36 +00:00
Campbell Barton
7376fb2913 make cppcheck run with quiet flag when QUIET env var is set, make bpy.ops.image.project_apply() only use local images. 2012-12-09 14:17:33 +00:00
Brecht Van Lommel
98fab9e530 Fix #33454: cycles wasn't hiding the original object used for dupliverts or
duplifaces like blender internal.
2012-12-09 12:43:40 +00:00
Ton Roosendaal
55e55e21b0 Bugfix: softshadow in menus was broken.
Already since like 2.61 - when Array draw was added - drawing only shadow 
in bottom of menus with bad looking corners.
2012-12-09 11:57:06 +00:00
Lukas Toenne
a1ec96cf4e Fix for Render Layers node: when sockets are hidden (by 'hide unused sockets' operator, ctrl+h), newly enabled render passes will not show up in the Render Layers node. The SOCK_HIDDEN flag cancels out the SOCK_UNAVAIL flag in that case. Disable the SOCK_HIDDEN flag as well when showing new passes to avoid confusion. 2012-12-09 11:41:20 +00:00
Ton Roosendaal
b714d7fde6 Further refined the check for GCC 4.2 to not add the flag -Wuninitialized then.
Now it checks for "Not less then 4.3" because it doesnt have >= 4.3.
2012-12-09 11:31:34 +00:00