blender.git
7 years agoMerging r43130 through r43500 from trunk into soc-2011-tomato
Sergey Sharybin [Wed, 18 Jan 2012 17:25:05 +0000 (17:25 +0000)]
Merging r43130 through r43500 from trunk into soc-2011-tomato

7 years agoCurve points of tracking curves now can be grabbed to smooth spikes
Sergey Sharybin [Wed, 18 Jan 2012 16:45:02 +0000 (16:45 +0000)]
Curve points of tracking curves now can be grabbed to smooth spikes

Curve points of tracks curves now can be selected for X and Y channels
separately and can be moved along Y axis of curve viewer, points currently
can't change frame they belong to. This allows to smooth spikes caused by
unwanted marker jump.

Also fixed some mistakes in cancel transform in cases when locked tracks
were being trying to be moved; fixed incorrect calculation of marker speed
for curve drawing.

7 years agoFix #29918: Set Scale does not work the second time
Sergey Sharybin [Wed, 18 Jan 2012 11:41:35 +0000 (11:41 +0000)]
Fix #29918: Set Scale does not work the second time

Issue was caused by recently added operator presets stuff.

7 years agoFix #25581: No pressure sensitivity in sculpt mode
Sergey Sharybin [Wed, 18 Jan 2012 11:25:30 +0000 (11:25 +0000)]
Fix #25581: No pressure sensitivity in sculpt mode

Tablet mode (stylus/eraser) wasn't properly set when pen was already hovering over
tablet surface when opening blender (i.e. in cases when blender was opened using
stylus tap).

Issue resolved by setting tablet mode when handling tablet's motion event too.

7 years agoedit to r43487
Campbell Barton [Wed, 18 Jan 2012 11:10:02 +0000 (11:10 +0000)]
edit to r43487

- make red outline more obvious (was hard to see when the camera was selected)
- remove text, red-alert text IMHO should only be used when something is wrong (example - its used when FPS cant keep up), but this is just information.
  realize out UI isnt dealing well with added view3d options but dont think its good to solve by displaying options as text overlay.
  red outline for the camera is just a hint which users notice when enabling the camera, think its acceptable.

7 years agosmall usability edit, now there is some feedback on when the camera is locked to...
Michael Fox [Wed, 18 Jan 2012 10:41:38 +0000 (10:41 +0000)]
small usability edit, now there is some feedback on when the camera is locked to view.

A warnign will now appear in the top left corner and the camera outline becomes red, this warning only appears in camera view

7 years agoghost tests weren't building and added some comments to ghost docs.
Campbell Barton [Wed, 18 Jan 2012 10:16:39 +0000 (10:16 +0000)]
ghost tests weren't building and added some comments to ghost docs.

7 years agocleanup for redefined vars
Campbell Barton [Wed, 18 Jan 2012 06:55:51 +0000 (06:55 +0000)]
cleanup for redefined vars

7 years agopicky cleanup to use of bpy.types
Campbell Barton [Wed, 18 Jan 2012 06:11:56 +0000 (06:11 +0000)]
picky cleanup to use of bpy.types

7 years agode-duplicate paint parent class, added new py module for common paint UI classes...
Campbell Barton [Wed, 18 Jan 2012 05:54:19 +0000 (05:54 +0000)]
de-duplicate paint parent class, added new py module for common paint UI classes/funcs --- since we'll likely have more of these.

7 years agofix size slider not working for image space brushes (uv sculpt and image paint)....
Antony Riakiotakis [Wed, 18 Jan 2012 00:41:39 +0000 (00:41 +0000)]
fix size slider not working for image space brushes (uv sculpt and image paint). This is due to not checking if unified settings are active as per recent commit. Reused the space_view3D PaintPanel utility class slightly modified for the image space to do the checks. I am not very happy with the duplication but I decided to keep it as is since I change bl_space_type and bl_region_type from the original class. Reviewed by Nicholas Bishop.

7 years agoremove ARB_texture_gather from bicubic bump map dependencies. It will be needed when...
Antony Riakiotakis [Wed, 18 Jan 2012 00:03:09 +0000 (00:03 +0000)]
remove ARB_texture_gather from bicubic bump map dependencies. It will be needed when/if monochrome images are supported

7 years agofix [#29914] paste text into blender causes crash
Sv. Lockal [Tue, 17 Jan 2012 19:03:18 +0000 (19:03 +0000)]
fix [#29914] paste text into blender causes crash

7 years agoUpdated Carve bundling script and patches
Sergey Sharybin [Tue, 17 Jan 2012 18:47:02 +0000 (18:47 +0000)]
Updated Carve bundling script and patches

7 years agoerror in own recent commit
Campbell Barton [Tue, 17 Jan 2012 18:32:14 +0000 (18:32 +0000)]
error in own recent commit

7 years agoFix carve compile error with gcc 4.6, patch by Stephen McQuay.
Brecht Van Lommel [Tue, 17 Jan 2012 18:29:46 +0000 (18:29 +0000)]
Fix carve compile error with gcc 4.6, patch by Stephen McQuay.

7 years agomisc small changes and bmesh support for testing script
Campbell Barton [Tue, 17 Jan 2012 18:01:16 +0000 (18:01 +0000)]
misc small changes and bmesh support for testing script

7 years agopep8 edits, also remove unused vars
Campbell Barton [Tue, 17 Jan 2012 17:57:20 +0000 (17:57 +0000)]
pep8 edits, also remove unused vars

7 years agoPEP8 complaint changes
Sergey Sharybin [Tue, 17 Jan 2012 17:27:18 +0000 (17:27 +0000)]
PEP8 complaint changes

7 years agoWhitespace tabs vs. spaces consistency changes
Sergey Sharybin [Tue, 17 Jan 2012 17:26:58 +0000 (17:26 +0000)]
Whitespace tabs vs. spaces consistency changes

7 years agofix for error in merge 43462
Campbell Barton [Tue, 17 Jan 2012 17:14:23 +0000 (17:14 +0000)]
fix for error in merge 43462

7 years agoUv Tools branch GSOC 2011
Antony Riakiotakis [Tue, 17 Jan 2012 16:31:13 +0000 (16:31 +0000)]
Uv Tools branch GSOC 2011
=========================
Documentation: http://wiki.blender.org/index.php/User:Psy-Fi/UV_Tools

Major features include:

*16 bit image support in viewport
*Subsurf aware unwrapping
*Smart Stitch(snap/rotate islands, preview, middlepoint/endpoint stitching)
*Seams from islands tool (marks seams and sharp, depending on settings)
*Uv Sculpting(Grab/Pinch/Rotate)

All tools are complete apart from stitching that is considered stable but with an extra edge mode under development(will be in soc-2011-onion-uv-tools).

7 years agoDisable "Ask for each file" menu option for files unpack. It was never implemented...
Sergey Sharybin [Tue, 17 Jan 2012 16:22:22 +0000 (16:22 +0000)]
Disable "Ask for each file" menu option for files unpack. It was never implemented in 2.5x

7 years agoPoor menu labels were not translated!
Bastien Montagne [Tue, 17 Jan 2012 16:13:39 +0000 (16:13 +0000)]
Poor menu labels were not translated!

7 years agoFix #29905: extend transform a sequencer meta strip did not update the position
Brecht Van Lommel [Tue, 17 Jan 2012 16:06:24 +0000 (16:06 +0000)]
Fix #29905: extend transform a sequencer meta strip did not update the position
and length of the meta strip properly, only its contents. Also overlap check was
done too soon giving false positives, should be after meta strip update.

7 years agoFix #29762: columns in long enum property menu's were in the wrong order.
Brecht Van Lommel [Tue, 17 Jan 2012 16:06:16 +0000 (16:06 +0000)]
Fix #29762: columns in long enum property menu's were in the wrong order.

7 years agoremove BKE_array_mallocn.h, replace use with BLI_array.h, also removed
Campbell Barton [Tue, 17 Jan 2012 16:03:49 +0000 (16:03 +0000)]
remove BKE_array_mallocn.h, replace use with BLI_array.h, also removed
ifdef'd code which has since been moved into another file.

7 years agofix for segfault with bpy compiled as python module (dont register atexit)
Campbell Barton [Tue, 17 Jan 2012 15:19:11 +0000 (15:19 +0000)]
fix for segfault with bpy compiled as python module (dont register atexit)

update `make lite` built target to remove some newly added features.

7 years agoNew pchan to pose matrices computes. Fixes [#27898] Bone snap to cursor fails and...
Bastien Montagne [Tue, 17 Jan 2012 13:30:20 +0000 (13:30 +0000)]
New pchan to pose matrices computes. Fixes [#27898] Bone snap to cursor fails and [#29461] Selection-to-Cursor works strange with bones with TrackTo constraint. Also fixes some inconsistant behavior of no Inherit Rotation/Scale options.

WARNING: This commits modifies how translated unconnected child bones with *no Inherit Rotation option* are positionned. This means that if you open a posed/animated armature using such (corner-case) setup, you'll have to adjust manually the locations of such bones: now, disabling Inherit Rotation/Scale will no more move the bone, only affecting its rotation/scale.

Many thanks to Bassam Kurdali (slikdigit) for his advices and tests of the patch!

-----

Dev notes : the pchan_to_pose_mat() func was added to BKE_armature.h, which computes two matrices to get the pose transformations (pchan) of the bone directly in pose (i.e. armature object) space. The first matrix is the rotation/scaling parts, the second one is for location.

That new function is used by (hence deduplicating and simplifying their code):
* The pose evaluation code (where_is_pose_bone()).
* The interactive transformation code (add_pose_transdata(), in transform_conversion.c).
* The snap to cursor/grid code (through armature_loc_pose_to_bone()/armature_mat_pose_to_bone()).

7 years agoOSX/cmake: don´t build target extractpyzip for MODULE
Jens Verwiebe [Tue, 17 Jan 2012 13:11:53 +0000 (13:11 +0000)]
OSX/cmake: don´t build target extractpyzip for MODULE

7 years agoCompilation error when using mingw+scons
Sergey Sharybin [Tue, 17 Jan 2012 10:32:17 +0000 (10:32 +0000)]
Compilation error when using mingw+scons

Error was caused by boost library (which doesn't seem to be working with Cycles too
when compiling with mingw). Switched mingw to use TR1 unordered collections. Also,
there was re-declaration of strcasecmp when mingw is used.

Additional changes are related on using own process spawning when BF_TOOLSET is set to
mingw. Seems to be working fine now (i've got too long command line error) and no
warning are supressing now (as it was told in comment for commented own process spawning).

7 years agofix own error in bmesh -> mesh versioning
Campbell Barton [Tue, 17 Jan 2012 04:54:57 +0000 (04:54 +0000)]
fix own error in bmesh -> mesh versioning

7 years agocomment unused var
Campbell Barton [Tue, 17 Jan 2012 02:07:38 +0000 (02:07 +0000)]
comment unused var

7 years agoOSX/Cmake: make bpy module work finally by linking against python3.2 framework
Jens Verwiebe [Mon, 16 Jan 2012 20:10:38 +0000 (20:10 +0000)]
OSX/Cmake: make bpy module work finally by linking against python3.2 framework

7 years agoCorrected fix for linking issues with blenderplayer enabled
Sergey Sharybin [Mon, 16 Jan 2012 18:49:10 +0000 (18:49 +0000)]
Corrected fix for linking issues with blenderplayer enabled

7 years agoFix for compilation error using cmake+msvc
Sergey Sharybin [Mon, 16 Jan 2012 18:24:30 +0000 (18:24 +0000)]
Fix for compilation error using cmake+msvc

7 years agoDynamic Paint:
Miika Hamalainen [Mon, 16 Jan 2012 17:18:07 +0000 (17:18 +0000)]
Dynamic Paint:
* Added per surface options "influence scale" and "radius scale" for tweaking brush settings individually for each surface.
* Added option to completely disable drying. This should be nice for indefinitely spreading paint etc.
* Improved paint mixing algorithm.
* "Paint effects" now work in relative mesh space instead of global. This means that effect speed remains same for identical shapes regardless of their size.
* Complete rewrite of "spread effect" algorithm. It now works much better in all test cases done. Old algo sometimes produced artifacts and stopped spreading too early.
* Adjustments / rewrite on some parts of dripping algorithm to make it work better with transparent paint.
* Added a new "color dry" setting. It can be used to define wetness level when paint colors start to shift to surface "background". Lower values can be useful to prevent spreading paint from becoming transparent as it dries, while higher (default) values give better results in general.
* Fix: If multiple displace/wave surfaces were used simultaneously, displace was applied using wrong normal.

Please note that due to these changes in "paint effects" system older save files may require some tweaking to match results from previous versions.

7 years agoCarve booleans library integration
Sergey Sharybin [Mon, 16 Jan 2012 16:46:00 +0000 (16:46 +0000)]
Carve booleans library integration
==================================

Merging Carve library integration project into the trunk.

This commit switches Boolean modifier to another library which handles
mesh boolean operations in much stable and faster way, resolving old
well-known limitations of intern boolop library.

Carve is integrating as alternative interface for boolop library and
which makes it totally transparent for blender sources to switch between
old-fashioned boolop and new Carve backends.

Detailed changes in this commit:

- Integrated needed subset of Carve library sources into extern/
  Added script for re-bundling it (currently works only if repo
  was cloned by git-svn).
- Added BOP_CarveInterface for boolop library which can be used by
  Boolean modifier.
- Carve backend is enabled by default, can be disabled by WITH_BF_CARVE
  SCons option and WITH_CARVE CMake option.
- If Boost library is found in build environment it'll be used for
  unordered collections. If Boost isn't found, it'll fallback to TR1
  implementation for GCC compilers. Boost is obligatory if MSVC is used.

Tested on Linux 64bit and Windows 7 64bit.

NOTE: behavior of flat objects was changed. E.g. Plane-Sphere now gives
      plane with circle hole, not plane with semisphere. Don't think
      it's really issue because it's not actually defined behavior in
      such situations and both of ways might be useful. Since it's
      only known "regression" think it's OK to deal with it.

Details are there http://wiki.blender.org/index.php/User:Nazg-gul/CarveBooleans

Special thanks to:

- Ken Hughes: author of original carve integration patch.
- Campbell Barton: help in project development, review tests.
- Tobias Sargeant: author of Carve library, help in resolving some
                   merge stoppers, bug fixing.

7 years agopatch [#29859] UTF-8 support for text editor.
Sv. Lockal [Mon, 16 Jan 2012 16:23:25 +0000 (16:23 +0000)]
patch [#29859] UTF-8 support for text editor.
This also fixes cursor movement in the beginning of line and adds do_versions block for converting text files with old extended ascii encoding into UTF-8.

7 years agoupdate to modifier testing script
Campbell Barton [Mon, 16 Jan 2012 16:16:55 +0000 (16:16 +0000)]
update to modifier testing script

added presets for hook/decimate/build/mask

7 years agomore keymap edits
Campbell Barton [Mon, 16 Jan 2012 16:12:03 +0000 (16:12 +0000)]
more keymap edits
- make sure defaults are not assumed (so reuse last settings doesnt
override)
- replace 0/1 for TRUE/FALSE defines.

7 years agopatch [#29856] UTF-8 copy&paste for Win32 GHOST
Sv. Lockal [Mon, 16 Jan 2012 15:00:28 +0000 (15:00 +0000)]
patch [#29856] UTF-8 copy&paste for Win32 GHOST

7 years agoFix for standalone bpy module building link errors on Mac.
Brecht Van Lommel [Mon, 16 Jan 2012 14:13:41 +0000 (14:13 +0000)]
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.

7 years agoCycles: add option to cache BVH's between subsequent renders, storing the BVH on
Brecht Van Lommel [Mon, 16 Jan 2012 13:13:37 +0000 (13:13 +0000)]
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.

7 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.

7 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

7 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

7 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).

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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
around.

7 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)

7 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.

7 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...

7 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

7 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

7 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

7 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

7 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.

7 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.

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

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

7 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.

7 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.

7 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.

7 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.

7 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).

7 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 :/

7 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 ???

7 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.

7 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

7 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

7 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.

7 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.

7 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

7 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

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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.

7 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

7 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