Commit Graph

35168 Commits

Author SHA1 Message Date
Sv. Lockal
efc6be2002 patch [#29856] UTF-8 copy&paste for Win32 GHOST 2012-01-16 15:00:28 +00:00
Brecht Van Lommel
3b12a4b92b Fix for standalone bpy module building link errors on Mac.
It seems to be working now, however make sure to build against the exact same
python version as the one you will use it with, the version in the lib/darwin*
directory is likely to differ from python installed on your system.
2012-01-16 14:13:41 +00:00
Brecht Van Lommel
92764260d7 Cycles: add option to cache BVH's between subsequent renders, storing the BVH on
disk to be reused by the next render.

This is useful for rendering animations where only the camera or materials change.
Note that saving the BVH to disk only to be removed for the next frame is slower
if this is not the case and the meshes do actually change.

For a render, it will save bvh files to the cache user directory, and remove all
cache files from other renders. The files are named using a MD5 hash based on the
mesh, to verify if the meshes are still the same.
2012-01-16 13:13:37 +00:00
Campbell Barton
3123ad12a3 middle mouse jump scrolling for text window. 2012-01-16 10:48:52 +00:00
Campbell Barton
db2a453f32 use a look for paint brush switching keys 2012-01-16 10:05:53 +00:00
Campbell Barton
acb9b46617 use TRUE/FALSE for boolean keymaps, no functional changes 2012-01-16 09:51:04 +00:00
Campbell Barton
4bce60e25f went over all keymaps to check for cases where defaults were assumed
(which could be wrong if the previous setting was used).
2012-01-16 09:42:29 +00:00
Campbell Barton
0a5ff84acc fix for defaults not being set for object mode hide and delete keymap. 2012-01-16 09:12:34 +00:00
Andrew Hale
3cad3521a9 Change function for nb_invert so that ~matrix returns the inverted matrix rather than inverting inplace. 2012-01-16 09:01:11 +00:00
Campbell Barton
ab0cbaa7dc Allow camera 1:1 and center camera view to run from menu's. 2012-01-16 06:57:37 +00:00
Campbell Barton
ae9b4b81cb opengl render save ignored alpha settings. also some FILE_MAX defines missed last commit. 2012-01-16 06:43:58 +00:00
Campbell Barton
ea467d3228 use FILE_MAX instead of 240 or comment where define cant be used. 2012-01-16 05:52:33 +00:00
Campbell Barton
fb4ad50cee use defines for property name lenghths in the BGE, were using 31,32,64,100. 2012-01-16 05:27:11 +00:00
Nicholas Bishop
dc8b219726 Minor sculpt/paint cleanups.
Added some comments, constified a param, and moved a couple things
around.
2012-01-15 23:43:54 +00:00
Tamito Kajiyama
e0df491d1e Merged changes in the trunk up to revision 43404.
Conflicts resolved:
source/blender/python/SConscript
2012-01-15 23:13:12 +00:00
Campbell Barton
23806a2b7d support for quick jump to scroll area with middle mouse clicking on scroll area (become used to this for qt and gtk apps) 2012-01-15 17:26:30 +00:00
Campbell Barton
0c2f08d35a fix crash when calling bpy.ops.render.render('INVOKE_DEFAULT') from the python console. 2012-01-15 14:19:32 +00:00
Bastien Montagne
73b04af45d Another fix for previous own fix... 2012-01-15 13:51:32 +00:00
Sergey Sharybin
91835abde4 Remove unused code and code sued for debug 2012-01-15 13:32:07 +00:00
Sergey Sharybin
f37d1b7b4e Color channels now can be disabled for the whole frame in clip editor 2012-01-15 13:31:58 +00:00
Sergey Sharybin
58601362b7 Fixed incorrect behavior of 2d stabilization preview in clip editor when proxied resolution is used 2012-01-15 13:31:40 +00:00
Sergey Sharybin
5e8940bcf1 Refactoring and code deduplicate in movie cache 2012-01-15 13:31:25 +00:00
Campbell Barton
174e58f6f2 weight paint UI
- added back 2.4x 'Vgroup' option to the UI, restricts painting to verts already in the group.
- remove 'All Faces' button in weight paint mode. it doesn't do anything.
2012-01-15 13:23:57 +00:00
Campbell Barton
8c9c018c90 note on compating RNA pointers and compare RNA types for RNA-Properties too. 2012-01-15 12:35:40 +00:00
Campbell Barton
1a0de15cb5 remove some unused DNA members 2012-01-15 11:53:14 +00:00
Sergey Sharybin
094554b6b4 Fixed typo in a tooltip 2012-01-15 09:20:29 +00:00
Campbell Barton
522a3b43ae modify the weight paint and vcol functions not to modify the color in place and instead return a new color.
also fix for error in last commit, the brushes alpha wasnt set for weight paint info struct.
2012-01-15 07:46:59 +00:00
Campbell Barton
52decb3c31 vertex/weight paint
- store brush_alpha() result so it doesnt need to be called for each vertex when paitning.
- use _pressure suffix rather then _final to show the pressure has been applied.
- weight paint was needlessly calculateing the test weight when multipaint was enabled.
2012-01-15 07:15:15 +00:00
Campbell Barton
783213b8fc minor cleanup to weightpaint code, move color & weight blending into own function (was duplicated), also add enum for vpaint blend modes. 2012-01-15 06:29:08 +00:00
Nicholas Bishop
30e759c75b Fix all remaining unified paint settings uses of current Scene.
Things like brush size and strength accessors now take a scene
parameter rather than guessing about which Scene's unified paint
settings to use.

Setting the size/strength through RNA can now be done separately for
the brush or the UnifiedPaintSettings.

The UI python code required updating to check whether the
size/strength controls should use brush or UnifiedPaintSettings RNA.

Radial control also required some updates to switch between the two
RNA sources.
2012-01-14 23:54:51 +00:00
Bastien Montagne
046bf80881 Fix [#29894] Selection in sequence editor does not de-select other strips
Another bunch of fixes for select keymaps (sequencer, node, nla, graph, action).
2012-01-14 22:59:51 +00:00
Bastien Montagne
82871f27d3 Ooops ! Small error in previous own commit :/ 2012-01-14 21:41:13 +00:00
Bastien Montagne
93017790bc Fix [#29891] Stupid select all behaviour.
More "Reset ops properties" stuff, in select C keymaps this time.

Also ARMATURE_OT_select_inverse -> ARMATURE_OT_select_all(action='INVERT'). Left the select_inverse op code, though, it’s not using the same algo as INVERT of select_all ???
2012-01-14 21:19:41 +00:00
Campbell Barton
13ffef9c4a fix for weight paint when the mirror vertex was allocated (would free the original verts weight).
was an error in own recent commit.
2012-01-14 18:52:34 +00:00
Campbell Barton
5c93135ef9 fix [#29887] Alt + g in a node group results in crash 2012-01-14 18:11:45 +00:00
Campbell Barton
8b39ed9458 fix [#29889] Simple Deform: Missing lock x/y axis option 2012-01-14 18:07:09 +00:00
Campbell Barton
e322537c13 fix [#29890] Extend selection doesn't clear (3D view edge loop select and node editor node select)
caused by own use-last-settings, will be more of these, need to go over all keymaps.
2012-01-14 17:56:44 +00:00
Campbell Barton
0d5595befb add utility function to BLI_math_color - rgb_to_luma, rgb_to_luma_byte, also use rgb_to_grayscale in more places. 2012-01-14 17:14:23 +00:00
Campbell Barton
6e72a7c113 replace operator to toggle handles with generic wm operator 2012-01-14 16:26:08 +00:00
Campbell Barton
635fba3a66 replace ANIM_OT_time_toggle operator with generic WM_OT_context_toggle operator 2012-01-14 14:17:12 +00:00
Campbell Barton
9c2a58a811 remove api from addon bl_info, was never used. 2012-01-14 13:02:20 +00:00
Campbell Barton
4f3de6a741 adjust view3d api function for getting user region to also return view3d since most callers need this too. 2012-01-14 12:24:25 +00:00
Campbell Barton
fca385ca9a - opengl render in quadview wasn't using camera.
- minor change to FTOCHAR use.
2012-01-14 11:21:00 +00:00
Campbell Barton
d14ac69c8c ensure functions are not used within FTOCHAR macro since they run 2-3 times.
brushes were doing curve lookups within this macro for example.
2012-01-14 10:33:16 +00:00
Campbell Barton
0863575816 tag unused function args in raytrace code. 2012-01-14 10:08:47 +00:00
Bastien Montagne
9fb9451321 Fix UV Editor selection (due to bug #29875, "extend" was no more reset when using keymap).
Yet I wonder how much of these remain (and why some, like e.g. selection in 3D views, did not have that problem)… This is a bit fuzzy, imho.
2012-01-14 08:59:11 +00:00
Campbell Barton
e5da7be972 fix for own error making button outlines darker. 2012-01-14 07:46:21 +00:00
Campbell Barton
0c4e0965cc make sequencer use standard select operator with action property, remove select_inverse operator. 2012-01-14 07:23:57 +00:00
Campbell Barton
166a37532f remove *.select_inverse operators where the *.select_all operator has an invert option. 2012-01-14 06:58:03 +00:00
Campbell Barton
93cf1531d0 fix own bug [#29875] Due to operators now reusing there last-used settings, some UI options are more or less broken (esp. in shortcuts and menu entries)
also prefer *.select_all rather then *.select_inverse operators, since this is an option for select_all.
2012-01-14 06:30:27 +00:00