blender.git
7 years agoFix #27120: Bake to image used for rendering glitch (bake feedback loop)
Sergey Sharybin [Fri, 20 Jan 2012 07:43:46 +0000 (07:43 +0000)]
Fix #27120: Bake to image used for rendering glitch (bake feedback loop)

Detect feedback loop and do not bake to images detected in this loop and show
nice warning message in such cases.

It's a way which wouldn't overcomplicate code trying to duplicate images and so
without real benefit.

7 years ago- Fix for commit 43551 which caused a linking error in blenderplayer.
Andrew Hale [Fri, 20 Jan 2012 05:11:42 +0000 (05:11 +0000)]
- Fix for commit 43551 which caused a linking error in blenderplayer.
- Minor clean up for commit 43551.

7 years agomisc changes from bmesh, syncing across to trunk, no functional changes
Campbell Barton [Fri, 20 Jan 2012 02:24:01 +0000 (02:24 +0000)]
misc changes from bmesh, syncing across to trunk, no functional changes

7 years ago- Added functions to remove mesh vertices, edges and faces. These functions remove...
Andrew Hale [Fri, 20 Jan 2012 02:10:09 +0000 (02:10 +0000)]
- Added functions to remove mesh vertices, edges and faces. These functions remove a specified number of elements from the end of their respective arrays. For example, removing two vertices removes the last two vertices of the mesh.
- Minor fixes to descriptions of add edge and add face functions.

7 years agoSmall cleanup to parameters of _getSubSurf().
Nicholas Bishop [Fri, 20 Jan 2012 01:43:49 +0000 (01:43 +0000)]
Small cleanup to parameters of _getSubSurf().

Removed the unused third argument and changed useAging and useArena to
named flags.

7 years agosmart stitch
Antony Riakiotakis [Fri, 20 Jan 2012 00:02:48 +0000 (00:02 +0000)]
smart stitch
=============
* refactoring, separate common functionality to functions.
* enable each uv to check independently for other stitchable uvs. This allows to limit stitch uvs belonging to the same vertex, while previously this was impossible.
* made changes to island rotation when calculated from sole uvs when using midpoint stitch. It should now be evenly distributed across islands.

There are still some glitches with vertices that have multiple uvs per island for the snap island + midpoint stitch combination. The solution is to precalculate the static island rotation/translation in this case. If I haven't managed to make this work correctly I may turn this combination off before release. It's more like an extra feature than really necessary.

7 years agoMinor code enhancement (replace for loops with while's, and avoid multiple checks...
Bastien Montagne [Thu, 19 Jan 2012 19:09:59 +0000 (19:09 +0000)]
Minor code enhancement (replace for loops with while's, and avoid multiple checks to get good face vertex index). No functional changes.

7 years agoAdd missing labels to sculpt/paint sliders.
Nicholas Bishop [Thu, 19 Jan 2012 18:22:55 +0000 (18:22 +0000)]
Add missing labels to sculpt/paint sliders.

Thanks Sergey for pointing out

7 years agoRemesh Modifier UI:
Thomas Dinges [Thu, 19 Jan 2012 17:30:29 +0000 (17:30 +0000)]
Remesh Modifier UI:
* Some tweaks to the modifier UI
* Hide sharpness property, instead of greying out.
The policy is to use greying out when a property depends on a boolean, if it depends on an enum item, hide it.

7 years agoFix issue in recent color commits, was still doing a multiplication by 255 too
Brecht Van Lommel [Thu, 19 Jan 2012 16:22:22 +0000 (16:22 +0000)]
Fix issue in recent color commits, was still doing a multiplication by 255 too
many, also don't check uchar range after casting to int, this can still cause
overflow with large float values.

7 years agosimplify clipping loop
Campbell Barton [Thu, 19 Jan 2012 16:12:40 +0000 (16:12 +0000)]
simplify clipping loop

7 years agostyle edits - < 120 line width
Campbell Barton [Thu, 19 Jan 2012 16:04:44 +0000 (16:04 +0000)]
style edits - < 120 line width

7 years agosize for static string was too small, we should really have dynamic sized strings...
Campbell Barton [Thu, 19 Jan 2012 15:11:22 +0000 (15:11 +0000)]
size for static string was too small, we should really have dynamic sized strings to rna functions.

7 years agoyRemove missed/unused "tweak" property from keymap for outliner's border select
Sergey Sharybin [Thu, 19 Jan 2012 11:27:00 +0000 (11:27 +0000)]
yRemove missed/unused "tweak" property from keymap for outliner's border select

7 years agoDynamic Paint:
Miika Hamalainen [Thu, 19 Jan 2012 11:13:41 +0000 (11:13 +0000)]
Dynamic Paint:
* Added "Project" option also for "Volume + Proximity" brush type.

7 years agouse color conversions functions in more places.
Campbell Barton [Thu, 19 Jan 2012 10:04:51 +0000 (10:04 +0000)]
use color conversions functions in more places.
also add rgba_float_to_uchar, rgba_uchar_to_float

7 years agoBaked edit: Make particle edit mode more usable for Softbodies and Cloth (jahka gave...
Daniel Genrich [Thu, 19 Jan 2012 09:58:25 +0000 (09:58 +0000)]
Baked edit: Make particle edit mode more usable for Softbodies and Cloth (jahka gave "OK")

7 years agorename rgb_float_to_byte, rgb_byte_to_float to rgb_float_to_uchar, rgb_uchar_to_float...
Campbell Barton [Thu, 19 Jan 2012 09:09:00 +0000 (09:09 +0000)]
rename rgb_float_to_byte, rgb_byte_to_float to rgb_float_to_uchar, rgb_uchar_to_float and swap args (math functions mostly have dest arg first like strcpy).

7 years agoadd utility functions linearrgb_to_srgb_uchar4,
Campbell Barton [Thu, 19 Jan 2012 08:22:23 +0000 (08:22 +0000)]
add utility functions linearrgb_to_srgb_uchar4,
linearrgb_to_srgb_uchar3, was being done inline.

7 years agoFix for building in release mode with scons.
Nicholas Bishop [Thu, 19 Jan 2012 07:12:30 +0000 (07:12 +0000)]
Fix for building in release mode with scons.

Change given thumbs up from JesterKing.

7 years agoadded support for the 3Dconnexion SpaceMouse Pro -- tested on Linux w/ spacenavd...
Mike Erwin [Thu, 19 Jan 2012 06:14:50 +0000 (06:14 +0000)]
added support for the 3Dconnexion SpaceMouse Pro -- tested on Linux w/ spacenavd, Macs need latest driver (Intel only (grumble)), Windows should be good as well but have not tested

7 years agoRemove a couple more unneeded variables from paint cursor drawing.
Nicholas Bishop [Thu, 19 Jan 2012 04:13:58 +0000 (04:13 +0000)]
Remove a couple more unneeded variables from paint cursor drawing.

7 years agoFix a minor RNA warning.
Nicholas Bishop [Thu, 19 Jan 2012 04:04:05 +0000 (04:04 +0000)]
Fix a minor RNA warning.

function warning.

7 years agoCouple minor fixes for DM_debug_print().
Nicholas Bishop [Thu, 19 Jan 2012 04:00:27 +0000 (04:00 +0000)]
Couple minor fixes for DM_debug_print().

Fix a gcc warning by not using the DM_debug_info string as the format
string, also free the string after printing.

7 years agoRemove some unused alpha code in paint_cursor.
Nicholas Bishop [Thu, 19 Jan 2012 04:00:03 +0000 (04:00 +0000)]
Remove some unused alpha code in paint_cursor.

7 years agoRemove stroke parameter from PaintStroke's StrokeGetLocation callback.
Nicholas Bishop [Thu, 19 Jan 2012 03:13:01 +0000 (03:13 +0000)]
Remove stroke parameter from PaintStroke's StrokeGetLocation callback.

Only affected sculpt.

7 years agoMove paint's WM paint cursor code into a new file.
Nicholas Bishop [Thu, 19 Jan 2012 02:06:09 +0000 (02:06 +0000)]
Move paint's WM paint cursor code into a new file.

The paint cursor code is fairly muddled still and needs futher cleanup
(commented in the new file.) Over half the paint_stroke code was just
called from the cursor draw function.

There should be no functional changes from this.

7 years agodebug function DM_debug_info / DM_debug_print, with access from python
Campbell Barton [Thu, 19 Jan 2012 00:18:25 +0000 (00:18 +0000)]
debug function DM_debug_info / DM_debug_print, with access from python
through Object.dm_info('SOURCE/DEFORM/FINAL')

this is to help tracking down issues with modifiers where loosing data
layers between modifiers can cause bugs, also to helo with comparing
bmesh/trunk's modifier stack.

7 years agopatch [#29679] Expose connected logic bricks from python
Dalai Felinto [Wed, 18 Jan 2012 22:42:57 +0000 (22:42 +0000)]
patch [#29679] Expose connected logic bricks from python
it exposes sensor.controllers and controller.actuators
this is how the data is exposed in blender.

to have controller.sensors or actuator.controllers is not that straightforward

7 years agoFix #29922: NaN pixels due to bump map in degenerate case.
Brecht Van Lommel [Wed, 18 Jan 2012 22:36:19 +0000 (22:36 +0000)]
Fix #29922: NaN pixels due to bump map in degenerate case.

7 years agoCode cleanup: remove some unused code.
Brecht Van Lommel [Wed, 18 Jan 2012 22:36:16 +0000 (22:36 +0000)]
Code cleanup: remove some unused code.

7 years agoFix small code issue pointed out by nico_ga, was doing negation on unsigned type,
Brecht Van Lommel [Wed, 18 Jan 2012 22:36:12 +0000 (22:36 +0000)]
Fix small code issue pointed out by nico_ga, was doing negation on unsigned type,
didn't seem to break anything though.

7 years agoallow building without xinput again
Campbell Barton [Wed, 18 Jan 2012 22:32:33 +0000 (22:32 +0000)]
allow building without xinput again

7 years agopatch [#29924] Border select tool implementation for the outliner
Campbell Barton [Wed, 18 Jan 2012 21:12:51 +0000 (21:12 +0000)]
patch [#29924] Border select tool implementation for the outliner
from Perry Parks (scuey), with edits.

- select row rather than icons.
- adjust outliner selection rather than object selection.

7 years agofix [#27589] Random crash with python UI
Campbell Barton [Wed, 18 Jan 2012 19:50:44 +0000 (19:50 +0000)]
fix [#27589] Random crash with python UI

This script was defining an operator within the panels draw function, while its possible to support this its really asking for trouble.

the fix is to raise an error when this happens.

also fix crash passing non classes to register_class/unregister_class

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