Commit Graph

34544 Commits

Author SHA1 Message Date
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
Campbell Barton
75f8d5fc66 use single property lookups in transform operator initialization & fix error with last-settings, so texture translate doesn't apply to the grab key. 2012-01-14 04:42:41 +00:00
Campbell Barton
fc0ad3c42a theme settings - split space and space list into their own RNA members, display with own heading in userprefs. 2012-01-14 03:24:41 +00:00
Brecht Van Lommel
c5023e4bb9 Fix #29879: ctrl+B border select with handles in the graph editor not selecting
the right keys/handles.
2012-01-13 17:25:24 +00:00
Peter Larabell
e516d1d718 Group DEM node code with the rest of the mattes, rather than the filters. Also fixes two typos in DEM node comments. 2012-01-13 16:00:24 +00:00
Brecht Van Lommel
cb145fad01 Fix #29878: running bpy.ops.render.opengl() from console not starting new line
or printing output.
2012-01-13 15:35:36 +00:00
Daniel Genrich
2cde9bb99c Bugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes in 3dview without having to exit + enter editmode. 2012-01-13 15:14:08 +00:00
Brecht Van Lommel
b1a3041f82 Fix quicktime issue in last commit that moved settings into own RNA struct. 2012-01-13 14:56:51 +00:00
Brecht Van Lommel
12520b4e06 Fix #29873: transform with individual origins not working in edge select mode. 2012-01-13 14:56:41 +00:00
Sergey Sharybin
8197361f51 Move FFmpeg and QuickTime settings to own structure inside RenderSettings
rather than making all properties have ffmpeg_ and quicktime_ prefixes
2012-01-13 12:34:41 +00:00
Sergey Sharybin
8dcb1f4d12 Added Lossless Output option for h264 codec.
This will fix #26943: render image to video problem
2012-01-13 12:34:23 +00:00
Campbell Barton
0f34ce27cf fix for error comparing py-struct members
if 2 pyrna structs used the same pointer they could incorrectly compare as true, this caused an error in theme saving because an item could match its parent and stop writing (to prevent recursive writing of same data).

eg:
  context.user_preferences.themes[0].user_interface.wcol_regular == context.user_preferences.themes[0].user_interface
2012-01-13 11:36:32 +00:00
Campbell Barton
e06d82227c adding metaballs and lamps in local mode was broken. 2012-01-13 10:14:48 +00:00
Campbell Barton
0527c4923d alpha value for button triangles ignored the alpha value (was no way to change alpha of Tick in boolean option button). 2012-01-13 09:26:06 +00:00
Sergey Sharybin
74aede4d71 Fix #29824: Error writing frame if 3D scene starts after first frame of animation and output is H264
Issue was caused by incorrectly set PTS value frames came form Scene strip renderer.
This value used to be calculated from RenderData current and start frame which
lead to non-uniformuly counting which totally confuses encoder.

Switch append_avi and append_ffmpeg to use current frame from rendering scene
(which was already passing to this functions and was used mostly for logging)
and start frame of rendering scene (it's new parameter added). This allowed to
calculate correct PTS value easily and get rid of global static sframe variable
in writeavi.c file.
2012-01-13 09:20:13 +00:00
Dalai Felinto
14e75b6c84 bge api doc update
bge.texture materialId wasn't showing up
bge.type was outdated (I removed the glew example, I hope no one mind)
2012-01-13 08:58:12 +00:00
Campbell Barton
425f634eeb fix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with low alpha) 2012-01-13 08:38:26 +00:00
Campbell Barton
80c7190373 'uw' was used in weight paint code for previous deform weight, renamed to 'dw_prev' 2012-01-13 08:18:22 +00:00
Campbell Barton
153be23dbe give a more useful error when attempting to opengl render in background mode.
add some tips to the python docs.
2012-01-13 06:59:16 +00:00
Campbell Barton
cb499c57ec rename 'MultiLayer' to 'OpenEXR MultiLayer' 2012-01-13 06:58:15 +00:00
Campbell Barton
264e132cfa fix [#29832] Weightpainting with "x-mirror" and "auto normalize" fails for center bones
normalize function simply wasn't called on the mirror vertex.

also fix 3 other bugs / inconsistencies

* when mirror is enabled, center verts get themselves as the mirror vertex, wpaint code didn't check for this case, mirroring the vertex to it self (would work, but unneeded).
* normalizing after painting would scale the active weight too, now keep the painted weight and adjust others when normalizing.
* VP_ONLYVGROUP wasn't respected for mirror (mirror vertex group would always be added).
2012-01-13 05:52:34 +00:00
Campbell Barton
6fee7963ce another minor weightpaint change, dont pass do_auto_normalize as a bool arg to do_weight_paint_normalize_all(), just check before calling. 2012-01-13 02:25:15 +00:00
Campbell Barton
11684150bf minor edits to main weight paint function for better readability - do_weight_paint_vertex(), no functional changes. 2012-01-13 02:17:29 +00:00
Nicholas Bishop
dbdd1c2ea7 Remove vestigial retopo/retopo-paint code. 2012-01-12 22:12:07 +00:00
Nicholas Bishop
b2ae44dc41 Fix some RNA/scene issuess with unified paint settings.
Added RNA for the unified paint setting flags that matches the Brush
RNA. Fixed the getter/setter functions to avoid guessing which Scene's
UnifiedPaintSetting to use. The getter functions take a Scene pointer
now, the setter functions are removed in favor of a more explicit
approach through RNA:

Rather than RNA choosing whether a property's value is in the Brush or
in the UnifiedPaintSettings, there are now explicit properties for
both. The UI code has been modified accordingly to switch the toggle
buttons between affecting the Brush and the UnifiedPaintSettings.
2012-01-12 21:48:08 +00:00
Brecht Van Lommel
1b8eab0fab Fix related to #29694: quicktime export was not showing or respecting RGBA
option even though some movie formats support alpha.
2012-01-12 21:10:46 +00:00
Brecht Van Lommel
4e6fb9f4ab Fix ##29803: cycles image texture node refresh issue with image editor. 2012-01-12 21:10:30 +00:00
Sergey Sharybin
101e8d8624 Fixing FreeBSD x64 build
Patch by Shane Ambler, thanks!
2012-01-12 19:38:08 +00:00
Nicholas Bishop
7889905888 Rename the sculpt/paint unified flags for better consistency, no functional changes 2012-01-12 18:08:07 +00:00
Nicholas Bishop
9fe88a8488 Move unified paint fields from ToolSettings into their own UnifiedPaintSettings struct.
File subversion is bumped to two in order to copy over the old fields.

This removes two RNA properties, sculpt_paint_use_unified_size and
sculpt_paint_use_unified_strength.

Code review link:
http://codereview.appspot.com/5529077
2012-01-12 17:22:32 +00:00
Brecht Van Lommel
b20a56b2ca Fix #29860: cycles musgrave scale input not working correct. 2012-01-12 17:13:56 +00:00
Kent Mein
34b62dd8c0 Remove empty comment I added on accident.
Kent
2012-01-12 17:05:13 +00:00
Campbell Barton
1e3f069379 use render osa setting for opengl render sample count and BLI_jitter for opengl rendering (previously was hard coded at 5). 2012-01-12 17:04:09 +00:00
Kent Mein
9dc992a3fd Some small fixes to get things compiling on solaris with cmake.
There are also some changes that need to be done to libmv but I'm 
leaving those out so I can get it patched upstream first.

(Only works with gcc/g++ if we want to use sun's compiler we would need
to get rid of all of our annonymous structs which I don't think
we want to do at this point, example:

typedef struct wmNDOFMotionData {
        union {
                float tvec[3]; // translation
                struct { float tx, ty, tz; };   // this would need to be fixed
		// something like this or something similar:
                struct { float x, y, z; } t;
                };
...
)

Kent
2012-01-12 16:31:27 +00:00
Campbell Barton
8b59efe129 ../lib/linux wont built with theoraenc theoradec unbuntu user also complained that this failed to link.
Im not sure whats best default here, removing for now.

if it gives more problems we could have a FindTheora module.
2012-01-12 15:56:08 +00:00
Brecht Van Lommel
affb38fd59 Fix #29864: crash running blender in background mode with non-default key
configuration.
2012-01-12 15:44:18 +00:00
Campbell Barton
2d2d0da51b remove blender 2.5 references in docs 2012-01-12 15:16:08 +00:00
Campbell Barton
9f2443293e replace fixed sizes with sizeof when passing string length since size wasn't always correct. 2012-01-12 13:16:30 +00:00
Campbell Barton
83a161985f set pose channel names to match the length of bones, correct comment too which was glib and misleading. 2012-01-12 12:35:52 +00:00