10 years agomiddle mouse jump scrolling for text window.
Campbell Barton [Mon, 16 Jan 2012 10:48:52 +0000 (10:48 +0000)]
middle mouse jump scrolling for text window.

10 years agouse a look for paint brush switching keys
Campbell Barton [Mon, 16 Jan 2012 10:05:53 +0000 (10:05 +0000)]
use a look for paint brush switching keys

10 years agouse TRUE/FALSE for boolean keymaps, no functional changes
Campbell Barton [Mon, 16 Jan 2012 09:51:04 +0000 (09:51 +0000)]
use TRUE/FALSE for boolean keymaps, no functional changes

10 years agowent over all keymaps to check for cases where defaults were assumed
Campbell Barton [Mon, 16 Jan 2012 09:42:29 +0000 (09:42 +0000)]
went over all keymaps to check for cases where defaults were assumed
(which could be wrong if the previous setting was used).

10 years agofix for defaults not being set for object mode hide and delete keymap.
Campbell Barton [Mon, 16 Jan 2012 09:12:34 +0000 (09:12 +0000)]
fix for defaults not being set for object mode hide and delete keymap.

10 years agoChange function for nb_invert so that ~matrix returns the inverted matrix rather...
Andrew Hale [Mon, 16 Jan 2012 09:01:11 +0000 (09:01 +0000)]
Change function for nb_invert so that ~matrix returns the inverted matrix rather than inverting inplace.

10 years agoAllow camera 1:1 and center camera view to run from menu's.
Campbell Barton [Mon, 16 Jan 2012 06:57:37 +0000 (06:57 +0000)]
Allow camera 1:1 and center camera view to run from menu's.

10 years agoopengl render save ignored alpha settings. also some FILE_MAX defines missed last...
Campbell Barton [Mon, 16 Jan 2012 06:43:58 +0000 (06:43 +0000)]
opengl render save ignored alpha settings. also some FILE_MAX defines missed last commit.

10 years agouse FILE_MAX instead of 240 or comment where define cant be used.
Campbell Barton [Mon, 16 Jan 2012 05:52:33 +0000 (05:52 +0000)]
use FILE_MAX instead of 240 or comment where define cant be used.

10 years agouse defines for property name lenghths in the BGE, were using 31,32,64,100.
Campbell Barton [Mon, 16 Jan 2012 05:27:11 +0000 (05:27 +0000)]
use defines for property name lenghths in the BGE, were using 31,32,64,100.

10 years agoMinor sculpt/paint cleanups.
Nicholas Bishop [Sun, 15 Jan 2012 23:43:54 +0000 (23:43 +0000)]
Minor sculpt/paint cleanups.

Added some comments, constified a param, and moved a couple things

10 years agosupport for quick jump to scroll area with middle mouse clicking on scroll area ...
Campbell Barton [Sun, 15 Jan 2012 17:26:30 +0000 (17:26 +0000)]
support for quick jump to scroll area with middle mouse clicking on scroll area (become used to this for qt and gtk apps)

10 years agofix crash when calling bpy.ops.render.render('INVOKE_DEFAULT') from the python console.
Campbell Barton [Sun, 15 Jan 2012 14:19:32 +0000 (14:19 +0000)]
fix crash when calling bpy.ops.render.render('INVOKE_DEFAULT') from the python console.

10 years agoAnother fix for previous own fix...
Bastien Montagne [Sun, 15 Jan 2012 13:51:32 +0000 (13:51 +0000)]
Another fix for previous own fix...

10 years agoRemove unused code and code sued for debug
Sergey Sharybin [Sun, 15 Jan 2012 13:32:07 +0000 (13:32 +0000)]
Remove unused code and code sued for debug

10 years agoColor channels now can be disabled for the whole frame in clip editor
Sergey Sharybin [Sun, 15 Jan 2012 13:31:58 +0000 (13:31 +0000)]
Color channels now can be disabled for the whole frame in clip editor

10 years agoFixed incorrect behavior of 2d stabilization preview in clip editor when proxied...
Sergey Sharybin [Sun, 15 Jan 2012 13:31:40 +0000 (13:31 +0000)]
Fixed incorrect behavior of 2d stabilization preview in clip editor when proxied resolution is used

10 years agoRefactoring and code deduplicate in movie cache
Sergey Sharybin [Sun, 15 Jan 2012 13:31:25 +0000 (13:31 +0000)]
Refactoring and code deduplicate in movie cache

10 years agoweight paint UI
Campbell Barton [Sun, 15 Jan 2012 13:23:57 +0000 (13:23 +0000)]
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.

10 years agonote on compating RNA pointers and compare RNA types for RNA-Properties too.
Campbell Barton [Sun, 15 Jan 2012 12:35:40 +0000 (12:35 +0000)]
note on compating RNA pointers and compare RNA types for RNA-Properties too.

10 years agoremove some unused DNA members
Campbell Barton [Sun, 15 Jan 2012 11:53:14 +0000 (11:53 +0000)]
remove some unused DNA members

10 years agoFixed typo in a tooltip
Sergey Sharybin [Sun, 15 Jan 2012 09:20:29 +0000 (09:20 +0000)]
Fixed typo in a tooltip

10 years agomodify the weight paint and vcol functions not to modify the color in place and inste...
Campbell Barton [Sun, 15 Jan 2012 07:46:59 +0000 (07:46 +0000)]
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.

10 years agovertex/weight paint
Campbell Barton [Sun, 15 Jan 2012 07:15:15 +0000 (07:15 +0000)]
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.

10 years agominor cleanup to weightpaint code, move color & weight blending into own function...
Campbell Barton [Sun, 15 Jan 2012 06:29:08 +0000 (06:29 +0000)]
minor cleanup to weightpaint code, move color & weight blending into own function (was duplicated), also add enum for vpaint blend modes.

10 years agoFix all remaining unified paint settings uses of current Scene.
Nicholas Bishop [Sat, 14 Jan 2012 23:54:51 +0000 (23:54 +0000)]
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.

10 years agoFix [#29894] Selection in sequence editor does not de-select other strips
Bastien Montagne [Sat, 14 Jan 2012 22:59:51 +0000 (22:59 +0000)]
Fix [#29894] Selection in sequence editor does not de-select other strips

Another bunch of fixes for select keymaps (sequencer, node, nla, graph, action).

10 years agoOoops ! Small error in previous own commit :/
Bastien Montagne [Sat, 14 Jan 2012 21:41:13 +0000 (21:41 +0000)]
Ooops ! Small error in previous own commit :/

10 years agoFix [#29891] Stupid select all behaviour.
Bastien Montagne [Sat, 14 Jan 2012 21:19:41 +0000 (21:19 +0000)]
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 ???

10 years agofix for weight paint when the mirror vertex was allocated (would free the original...
Campbell Barton [Sat, 14 Jan 2012 18:52:34 +0000 (18:52 +0000)]
fix for weight paint when the mirror vertex was allocated (would free the original verts weight).

was an error in own recent commit.

10 years agofix [#29887] Alt + g in a node group results in crash
Campbell Barton [Sat, 14 Jan 2012 18:11:45 +0000 (18:11 +0000)]
fix [#29887] Alt + g in a node group results in crash

10 years agofix [#29889] Simple Deform: Missing lock x/y axis option
Campbell Barton [Sat, 14 Jan 2012 18:07:09 +0000 (18:07 +0000)]
fix [#29889] Simple Deform: Missing lock x/y axis option

10 years agofix [#29890] Extend selection doesn't clear (3D view edge loop select and node editor...
Campbell Barton [Sat, 14 Jan 2012 17:56:44 +0000 (17:56 +0000)]
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.

10 years agoadd utility function to BLI_math_color - rgb_to_luma, rgb_to_luma_byte, also use...
Campbell Barton [Sat, 14 Jan 2012 17:14:23 +0000 (17:14 +0000)]
add utility function to BLI_math_color - rgb_to_luma, rgb_to_luma_byte, also use rgb_to_grayscale in more places.

10 years agoreplace operator to toggle handles with generic wm operator
Campbell Barton [Sat, 14 Jan 2012 16:26:08 +0000 (16:26 +0000)]
replace operator to toggle handles with generic wm operator

10 years agoreplace ANIM_OT_time_toggle operator with generic WM_OT_context_toggle operator
Campbell Barton [Sat, 14 Jan 2012 14:17:12 +0000 (14:17 +0000)]
replace ANIM_OT_time_toggle operator with generic WM_OT_context_toggle operator

10 years agoremove api from addon bl_info, was never used.
Campbell Barton [Sat, 14 Jan 2012 13:02:20 +0000 (13:02 +0000)]
remove api from addon bl_info, was never used.

10 years agoadjust view3d api function for getting user region to also return view3d since most...
Campbell Barton [Sat, 14 Jan 2012 12:24:25 +0000 (12:24 +0000)]
adjust view3d api function for getting user region to also return view3d since most callers need this too.

10 years ago- opengl render in quadview wasn't using camera.
Campbell Barton [Sat, 14 Jan 2012 11:21:00 +0000 (11:21 +0000)]
- opengl render in quadview wasn't using camera.
- minor change to FTOCHAR use.

10 years agoensure functions are not used within FTOCHAR macro since they run 2-3 times.
Campbell Barton [Sat, 14 Jan 2012 10:33:16 +0000 (10:33 +0000)]
ensure functions are not used within FTOCHAR macro since they run 2-3 times.

brushes were doing curve lookups within this macro for example.

10 years agotag unused function args in raytrace code.
Campbell Barton [Sat, 14 Jan 2012 10:08:47 +0000 (10:08 +0000)]
tag unused function args in raytrace code.

10 years agoFix UV Editor selection (due to bug #29875, "extend" was no more reset when using...
Bastien Montagne [Sat, 14 Jan 2012 08:59:11 +0000 (08:59 +0000)]
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.

10 years agofix for own error making button outlines darker.
Campbell Barton [Sat, 14 Jan 2012 07:46:21 +0000 (07:46 +0000)]
fix for own error making button outlines darker.

10 years agomake sequencer use standard select operator with action property, remove select_inver...
Campbell Barton [Sat, 14 Jan 2012 07:23:57 +0000 (07:23 +0000)]
make sequencer use standard select operator with action property, remove select_inverse operator.

10 years agoremove *.select_inverse operators where the *.select_all operator has an invert option.
Campbell Barton [Sat, 14 Jan 2012 06:58:03 +0000 (06:58 +0000)]
remove *.select_inverse operators where the *.select_all operator has an invert option.

10 years agofix own bug [#29875] Due to operators now reusing there last-used settings, some...
Campbell Barton [Sat, 14 Jan 2012 06:30:27 +0000 (06:30 +0000)]
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.

10 years agouse single property lookups in transform operator initialization & fix error with...
Campbell Barton [Sat, 14 Jan 2012 04:42:41 +0000 (04:42 +0000)]
use single property lookups in transform operator initialization & fix error with last-settings, so texture translate doesn't apply to the grab key.

10 years agotheme settings - split space and space list into their own RNA members, display with...
Campbell Barton [Sat, 14 Jan 2012 03:24:41 +0000 (03:24 +0000)]
theme settings - split space and space list into their own RNA members, display with own heading in userprefs.

10 years agoFix #29879: ctrl+B border select with handles in the graph editor not selecting
Brecht Van Lommel [Fri, 13 Jan 2012 17:25:24 +0000 (17:25 +0000)]
Fix #29879: ctrl+B border select with handles in the graph editor not selecting
the right keys/handles.

10 years agoGroup DEM node code with the rest of the mattes, rather than the filters. Also fixes...
Peter Larabell [Fri, 13 Jan 2012 16:00:24 +0000 (16:00 +0000)]
Group DEM node code with the rest of the mattes, rather than the filters. Also fixes two typos in DEM node comments.

10 years agoFix #29878: running bpy.ops.render.opengl() from console not starting new line
Brecht Van Lommel [Fri, 13 Jan 2012 15:35:36 +0000 (15:35 +0000)]
Fix #29878: running bpy.ops.render.opengl() from console not starting new line
or printing output.

10 years agoBugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes...
Daniel Genrich [Fri, 13 Jan 2012 15:14:08 +0000 (15:14 +0000)]
Bugfix: Editing baked cache in particle mode for Softbody and Cloth now shows changes in 3dview without having to exit + enter editmode.

10 years agoFix quicktime issue in last commit that moved settings into own RNA struct.
Brecht Van Lommel [Fri, 13 Jan 2012 14:56:51 +0000 (14:56 +0000)]
Fix quicktime issue in last commit that moved settings into own RNA struct.

10 years agoFix #29873: transform with individual origins not working in edge select mode.
Brecht Van Lommel [Fri, 13 Jan 2012 14:56:41 +0000 (14:56 +0000)]
Fix #29873: transform with individual origins not working in edge select mode.

10 years agoMove FFmpeg and QuickTime settings to own structure inside RenderSettings
Sergey Sharybin [Fri, 13 Jan 2012 12:34:41 +0000 (12:34 +0000)]
Move FFmpeg and QuickTime settings to own structure inside RenderSettings
rather than making all properties have ffmpeg_ and quicktime_ prefixes

10 years agoAdded Lossless Output option for h264 codec.
Sergey Sharybin [Fri, 13 Jan 2012 12:34:23 +0000 (12:34 +0000)]
Added Lossless Output option for h264 codec.

This will fix #26943: render image to video problem

10 years agofix for error comparing py-struct members
Campbell Barton [Fri, 13 Jan 2012 11:36:32 +0000 (11:36 +0000)]
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).

  context.user_preferences.themes[0].user_interface.wcol_regular == context.user_preferences.themes[0].user_interface

10 years agoadding metaballs and lamps in local mode was broken.
Campbell Barton [Fri, 13 Jan 2012 10:14:48 +0000 (10:14 +0000)]
adding metaballs and lamps in local mode was broken.

10 years agoalpha value for button triangles ignored the alpha value (was no way to change alpha...
Campbell Barton [Fri, 13 Jan 2012 09:26:06 +0000 (09:26 +0000)]
alpha value for button triangles ignored the alpha value (was no way to change alpha of `Tick` in boolean option button).

10 years agoFix #29824: Error writing frame if 3D scene starts after first frame of animation...
Sergey Sharybin [Fri, 13 Jan 2012 09:20:13 +0000 (09:20 +0000)]
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.

10 years agobge api doc update
Dalai Felinto [Fri, 13 Jan 2012 08:58:12 +0000 (08:58 +0000)]
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)

10 years agofix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with...
Campbell Barton [Fri, 13 Jan 2012 08:38:26 +0000 (08:38 +0000)]
fix for weight paint wire draw leaving GL_BLEND enabled (made pose bones draw with low alpha)

10 years ago'uw' was used in weight paint code for previous deform weight, renamed to 'dw_prev'
Campbell Barton [Fri, 13 Jan 2012 08:18:22 +0000 (08:18 +0000)]
'uw' was used in weight paint code for previous deform weight, renamed to 'dw_prev'

10 years agogive a more useful error when attempting to opengl render in background mode.
Campbell Barton [Fri, 13 Jan 2012 06:59:16 +0000 (06:59 +0000)]
give a more useful error when attempting to opengl render in background mode.
add some tips to the python docs.

10 years agorename 'MultiLayer' to 'OpenEXR MultiLayer'
Campbell Barton [Fri, 13 Jan 2012 06:58:15 +0000 (06:58 +0000)]
rename 'MultiLayer' to 'OpenEXR MultiLayer'

10 years agofix [#29832] Weightpainting with "x-mirror" and "auto normalize" fails for center...
Campbell Barton [Fri, 13 Jan 2012 05:52:34 +0000 (05:52 +0000)]
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).

10 years agoanother minor weightpaint change, dont pass do_auto_normalize as a bool arg to do_wei...
Campbell Barton [Fri, 13 Jan 2012 02:25:15 +0000 (02:25 +0000)]
another minor weightpaint change, dont pass do_auto_normalize as a bool arg to do_weight_paint_normalize_all(), just check before calling.

10 years agominor edits to main weight paint function for better readability - do_weight_paint_ve...
Campbell Barton [Fri, 13 Jan 2012 02:17:29 +0000 (02:17 +0000)]
minor edits to main weight paint function for better readability - do_weight_paint_vertex(), no functional changes.

10 years agoRemove vestigial retopo/retopo-paint code.
Nicholas Bishop [Thu, 12 Jan 2012 22:12:07 +0000 (22:12 +0000)]
Remove vestigial retopo/retopo-paint code.

10 years agoFix some RNA/scene issuess with unified paint settings.
Nicholas Bishop [Thu, 12 Jan 2012 21:48:08 +0000 (21:48 +0000)]
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.

10 years agoFix related to #29694: quicktime export was not showing or respecting RGBA
Brecht Van Lommel [Thu, 12 Jan 2012 21:10:46 +0000 (21:10 +0000)]
Fix related to #29694: quicktime export was not showing or respecting RGBA
option even though some movie formats support alpha.

10 years agoFix ##29803: cycles image texture node refresh issue with image editor.
Brecht Van Lommel [Thu, 12 Jan 2012 21:10:30 +0000 (21:10 +0000)]
Fix ##29803: cycles image texture node refresh issue with image editor.

10 years agoFixing FreeBSD x64 build
Sergey Sharybin [Thu, 12 Jan 2012 19:38:08 +0000 (19:38 +0000)]
Fixing FreeBSD x64 build

Patch by Shane Ambler, thanks!

10 years agoRename the sculpt/paint unified flags for better consistency, no functional changes
Nicholas Bishop [Thu, 12 Jan 2012 18:08:07 +0000 (18:08 +0000)]
Rename the sculpt/paint unified flags for better consistency, no functional changes

10 years agoMove unified paint fields from ToolSettings into their own UnifiedPaintSettings struct.
Nicholas Bishop [Thu, 12 Jan 2012 17:22:32 +0000 (17:22 +0000)]
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

Code review link:

10 years agoFix #29860: cycles musgrave scale input not working correct.
Brecht Van Lommel [Thu, 12 Jan 2012 17:13:56 +0000 (17:13 +0000)]
Fix #29860: cycles musgrave scale input not working correct.

10 years agoRemove empty comment I added on accident.
Kent Mein [Thu, 12 Jan 2012 17:05:13 +0000 (17:05 +0000)]
Remove empty comment I added on accident.


10 years agouse render osa setting for opengl render sample count and BLI_jitter for opengl rende...
Campbell Barton [Thu, 12 Jan 2012 17:04:09 +0000 (17:04 +0000)]
use render osa setting for opengl render sample count and BLI_jitter for opengl rendering (previously was hard coded at 5).

10 years agoSome small fixes to get things compiling on solaris with cmake.
Kent Mein [Thu, 12 Jan 2012 16:31:27 +0000 (16:31 +0000)]
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;


10 years ago../lib/linux wont built with theoraenc theoradec unbuntu user also complained that...
Campbell Barton [Thu, 12 Jan 2012 15:56:08 +0000 (15:56 +0000)]
../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.

10 years agoFix #29864: crash running blender in background mode with non-default key
Brecht Van Lommel [Thu, 12 Jan 2012 15:44:18 +0000 (15:44 +0000)]
Fix #29864: crash running blender in background mode with non-default key

10 years agoremove blender 2.5 references in docs
Campbell Barton [Thu, 12 Jan 2012 15:16:08 +0000 (15:16 +0000)]
remove blender 2.5 references in docs

10 years agoreplace fixed sizes with sizeof when passing string length since size wasn't always...
Campbell Barton [Thu, 12 Jan 2012 13:16:30 +0000 (13:16 +0000)]
replace fixed sizes with sizeof when passing string length since size wasn't always correct.

10 years agoset pose channel names to match the length of bones, correct comment too which was...
Campbell Barton [Thu, 12 Jan 2012 12:35:52 +0000 (12:35 +0000)]
set pose channel names to match the length of bones, correct comment too which was glib and misleading.

10 years agode-duplicate object conversion code in BGE
Campbell Barton [Thu, 12 Jan 2012 09:02:29 +0000 (09:02 +0000)]
de-duplicate object conversion code in BGE

10 years agoadded comment; zbuffillGLinv4 and zbuffillGL4 are identical except for a 2 lines.
Campbell Barton [Thu, 12 Jan 2012 07:10:44 +0000 (07:10 +0000)]
added comment; zbuffillGLinv4 and zbuffillGL4 are identical except for a 2 lines.
no functional changes.

10 years agoremove commented editmesh code which is now moved to transform.c
Campbell Barton [Thu, 12 Jan 2012 06:32:07 +0000 (06:32 +0000)]
remove commented editmesh code which is now moved to transform.c

10 years agoremove redundant trailing slashes
Campbell Barton [Thu, 12 Jan 2012 06:11:08 +0000 (06:11 +0000)]
remove redundant trailing slashes

10 years agode-duplicate function copy-paste for node color sampling.
Campbell Barton [Thu, 12 Jan 2012 05:46:45 +0000 (05:46 +0000)]
de-duplicate function copy-paste for node color sampling.

10 years agoCucumber - AA for blenderplayer and fullscreen
Dalai Felinto [Wed, 11 Jan 2012 20:53:22 +0000 (20:53 +0000)]
Cucumber - AA for blenderplayer and fullscreen
svn merge ^/branches/soc-2011-cucumber -r 38968,38970,38973,39045,40845

*  we replaced fullscreen by playerflag in DNA_scene.types.h. So no doversion here, I think this is a small reversion can't see any potential problem in forcuing users to re-check fullscreen. If the file is really old (<250) it will doversion though;

* (for after commit) it would be nice to gray out the width/height when desktop=True

* for a rainy day: it would be nice to have other ghost modes (e.g. screensaver) to support desktop + MSAA as well. It's not a huge deal given that I don't even know if anything else work (apart from windowed, fullscreen and embed) but it doesn't hurt to have it updated as well.

* there is something strange with outliner. I think space_outliner merge-info is not in sync with the ^/ folder. It's probably a wrong merge early in cucumber.

Commit Logs:
# 40845 by dfelinto
remove desktop and fullscreen properties. They are both part of playerflag now
also I removed the fullscreen from the DNA completely. I don't think we need doversion that..

#39045 by kupoman
The Desktop option is now greyed out when fullscreen is not checked rather than disappearing from the UI completely.

#38973 by kupoman
Adding a checkbox to the UI to allow the full screen Blender Player to use the current desktop resolution instead of the resolution setting.

#38970 by kupoman
Multisampling now works in a fullscreen Blender Player.

#38968 by moguri
Committing a patch from Mitchell Stokes (Moguri) to include a setting in the UI for the Blenderplayer multisampling.

10 years agouse skip-save for ED_object_add_generic_props(), not essential - but it was annoying...
Campbell Barton [Wed, 11 Jan 2012 20:14:15 +0000 (20:14 +0000)]
use skip-save for ED_object_add_generic_props(), not essential - but it was annoying to have 'Reset' move objects to 0,0,0

10 years agofix for error in last commit - don't overwrite options in the new operator which...
Campbell Barton [Wed, 11 Jan 2012 20:03:41 +0000 (20:03 +0000)]
fix for error in last commit - don't overwrite options in the new operator which have been set before the operator runs.

10 years agorunning operators now uses last used settings, added reset button to set defaults.
Campbell Barton [Wed, 11 Jan 2012 19:33:14 +0000 (19:33 +0000)]
running operators now uses last used settings, added reset button to set defaults.

- uses redo stack to get recent settings from.
- adds a flag to IDProperties so RNA_property_is_set() can return false even if the property is exists.
- PROP_SKIP_SAVE option skips these settings from getting reset (as with presets).

10 years agoadd RNA_property_is_set function, use for WM_menu_invoke to avoid double lookup and...
Campbell Barton [Wed, 11 Jan 2012 16:48:22 +0000 (16:48 +0000)]
add RNA_property_is_set function, use for WM_menu_invoke to avoid double lookup and py api to de-duplicate some checks

10 years agorename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation to add...
Campbell Barton [Wed, 11 Jan 2012 16:32:12 +0000 (16:32 +0000)]
rename RNA_property_is_set() --> RNA_struct_property_is_set() in preperation to add a second version of the function which takes the property rather then its name.

10 years agoFix #29836: stress not working as input for displacement texture. Previously it
Brecht Van Lommel [Wed, 11 Jan 2012 16:21:17 +0000 (16:21 +0000)]
Fix #29836: stress not working as input for displacement texture. Previously it
would be computed after displacement, but I don't think this made much sense.

10 years agoChanges composite node group of double edge mask node from FILTER to MATTE.
Peter Larabell [Wed, 11 Jan 2012 15:16:48 +0000 (15:16 +0000)]
Changes composite node group of double edge mask node from FILTER to MATTE.

10 years agoFix #29848: cycles not respecting dupli group visible layers, also exposed
Brecht Van Lommel [Wed, 11 Jan 2012 13:55:00 +0000 (13:55 +0000)]
Fix #29848: cycles not respecting dupli group visible layers, also exposed
DupliObject.hide property in API now.

10 years agoFix: toggling premultiply or color management not updating packed images.
Brecht Van Lommel [Wed, 11 Jan 2012 13:18:24 +0000 (13:18 +0000)]
Fix: toggling premultiply or color management not updating packed images.

10 years agoFix: cycles CPU device not being used when it should be on some multi-GPU
Brecht Van Lommel [Wed, 11 Jan 2012 13:18:06 +0000 (13:18 +0000)]
Fix: cycles CPU device not being used when it should be on some multi-GPU