blender.git
6 years agoBugfix: "Extend" transform tool would leave dangling "temp meta strips" if none
Joshua Leung [Sat, 2 Feb 2013 05:38:57 +0000 (05:38 +0000)]
Bugfix: "Extend" transform tool would leave dangling "temp meta strips" if none
of those strips occurred on the same side of CFRA indicator as the mouse

6 years agostyle cleanup
Campbell Barton [Sat, 2 Feb 2013 04:58:03 +0000 (04:58 +0000)]
style cleanup

6 years agostyle cleanup: comment format
Campbell Barton [Sat, 2 Feb 2013 04:48:21 +0000 (04:48 +0000)]
style cleanup: comment format

6 years agoadd missing break in direct_link_constraints, CONSTRAINT_SPACEONCE flag was getting...
Campbell Barton [Sat, 2 Feb 2013 04:13:38 +0000 (04:13 +0000)]
add missing break in direct_link_constraints, CONSTRAINT_SPACEONCE flag was getting set to CONSTRAINT_TYPE_KINEMATIC.

6 years agoCycles Hair: Fixed hair shape and inclusion of multiple attributes for triangle primi...
Stuart Broadfoot [Sat, 2 Feb 2013 01:49:57 +0000 (01:49 +0000)]
Cycles Hair: Fixed hair shape and inclusion of multiple attributes for triangle primitives

When using triangle primitives this fix enables 'closed tip'.

UVs and vertex colours are added when using triangle primitives for hair.

Two new preset modes have also been included to allow easy access to curves and triangle planes.

6 years agostyle cleanup: also correct doc example for 'foreach_get/set'
Campbell Barton [Sat, 2 Feb 2013 00:34:34 +0000 (00:34 +0000)]
style cleanup: also correct doc example for 'foreach_get/set'

6 years agoFix an issue with the new cycles lamp MIS option not working correct with
Brecht Van Lommel [Fri, 1 Feb 2013 18:54:24 +0000 (18:54 +0000)]
Fix an issue with the new cycles lamp MIS option not working correct with
multiple lamps.

6 years agoFix python foreach_get/foreach_set not working with dynamic sized arrays.
Brecht Van Lommel [Fri, 1 Feb 2013 18:00:41 +0000 (18:00 +0000)]
Fix python foreach_get/foreach_set not working with dynamic sized arrays.

6 years agoFix cycles computing UV map tangents when they weren't needed.
Brecht Van Lommel [Fri, 1 Feb 2013 18:00:30 +0000 (18:00 +0000)]
Fix cycles computing UV map tangents when they weren't needed.

6 years agoCompile fix
Sergej Reich [Fri, 1 Feb 2013 16:03:42 +0000 (16:03 +0000)]
Compile fix

Patch [#34075] by Davis Sorenson (dsavi), thanks.

6 years agoFix some warnings in the collade code, but did not fix two because they seem
Brecht Van Lommel [Fri, 1 Feb 2013 15:17:51 +0000 (15:17 +0000)]
Fix some warnings in the collade code, but did not fix two because they seem
to indicate bugs, left a comment about those.

6 years agoFix #34070: set origin operator did not work for lattice objects.
Brecht Van Lommel [Fri, 1 Feb 2013 15:17:39 +0000 (15:17 +0000)]
Fix #34070: set origin operator did not work for lattice objects.

6 years agomake WITH_HEADLESS build again.
Campbell Barton [Fri, 1 Feb 2013 08:24:18 +0000 (08:24 +0000)]
make WITH_HEADLESS build again.

6 years agoMove opencl and reigidbody from source/blender/ to intern/
Sergey Sharybin [Fri, 1 Feb 2013 06:24:49 +0000 (06:24 +0000)]
Move opencl and reigidbody from source/blender/ to intern/

This modules does not depend on any blender-specific data
structures or algorithms and due to our policy better be
placed to intern/

Shall be no functional changes, tested CMake and SCons on
Linux, hopefully other platforms will work as well.

P.S. SVN history shall be preserved for the files.

6 years agofix for [#33803], error was caused by sloppy coding in r53487, converting trackpad...
Campbell Barton [Fri, 1 Feb 2013 01:11:27 +0000 (01:11 +0000)]
fix for [#33803], error was caused by sloppy coding in r53487, converting trackpad to wheel events.

if you moved your mouse fast over a button the event would get converted to a wheel, even if the input event wasnt a MOUSEPAN event.

When Alt was held this was noticable because Alt+Wheel changes button values.

added an assert to avoid this happening again.

6 years agocode cleanup: make wmEvent's 'const' in interface code (reduces manual checking that...
Campbell Barton [Fri, 1 Feb 2013 01:01:20 +0000 (01:01 +0000)]
code cleanup: make wmEvent's 'const' in interface code (reduces manual checking that they are not modified).

6 years agoexpose WITH_BOOST as a cmake option, this just disables boost deps since it was becom...
Campbell Barton [Thu, 31 Jan 2013 23:25:06 +0000 (23:25 +0000)]
expose WITH_BOOST as a cmake option, this just disables boost deps since it was becoming annoying to remember all of them.

6 years agofix error with flipped vertex slide failing, also fix bug where you could be flipped...
Campbell Barton [Thu, 31 Jan 2013 22:18:37 +0000 (22:18 +0000)]
fix error with flipped vertex slide failing, also fix bug where you could be flipped and in proportional vertex slide mode.

6 years agoui_but_anim_expression_create was never returning true, even when it succeeded.
Campbell Barton [Thu, 31 Jan 2013 21:56:14 +0000 (21:56 +0000)]
ui_but_anim_expression_create was never returning true, even when it succeeded.

6 years agostyle cleanup
Campbell Barton [Thu, 31 Jan 2013 21:15:38 +0000 (21:15 +0000)]
style cleanup

6 years agodisable xinerama and xinput if libraries are missing.
Campbell Barton [Thu, 31 Jan 2013 20:41:47 +0000 (20:41 +0000)]
disable xinerama and xinput if libraries are missing.

6 years agoOSL 1.3x / Windows 64:
Thomas Dinges [Thu, 31 Jan 2013 17:38:09 +0000 (17:38 +0000)]
OSL 1.3x / Windows 64:
* Added missing define into SConscript file. This also makes r54232 obsolete, so removing this again.

6 years agoFix #34034: keyframe display of color/curve buttons was broken after revision
Brecht Van Lommel [Thu, 31 Jan 2013 16:19:44 +0000 (16:19 +0000)]
Fix #34034: keyframe display of color/curve buttons was broken after revision
53132 which changed the RNA index to -1 for these. Also made it so that these
buttons no longer display "Insert Single Keyframe" and only "Insert Keyframe"
as you can't edit individual components here so it's only confusing.

6 years agoCycles: disable unnecessary preview render job for per node previews, they don't
Brecht Van Lommel [Thu, 31 Jan 2013 15:31:47 +0000 (15:31 +0000)]
Cycles: disable unnecessary preview render job for per node previews, they don't
work so was just wasting CPU time.

6 years ago Apply patch [#33999] Wrapping mode for the "translate" compositing node
Monique Dewanchand [Thu, 31 Jan 2013 15:08:37 +0000 (15:08 +0000)]
 Apply patch [#33999] Wrapping mode for the "translate" compositing node

this patch enables the translate node to wrap around the image borders. This is especially needed if the translate node is not used to position elements on a layer but when it is used instead for seamless backgrounds like mountains or clouds that should be repeated over time (by animating the x/y values).

No trunk without docs! So here is my documentation: http://wiki.blender.org/index.php/User:Plasmasolutions/TranslateNodeExtension

The code is properly documented and should be easy to read and understand. When there are any problems or issues, please comment, I'll tackle them right away!

Greetings, Thomas Beck

 * optimized determination dependant areas
 * fixed some issues with scale node

There are still some issues when scaling very small values (x=0.0001)

 - At Mind -

6 years agoFix UI translation partly missing in scons builds (reported by Leon Cheung and Gabrie...
Bastien Montagne [Thu, 31 Jan 2013 14:25:07 +0000 (14:25 +0000)]
Fix UI translation partly missing in scons builds (reported by Leon Cheung and Gabriel Gazzán on ML, and lockal on IRC, thanks).

The problem is that, when HAVE__BOOL is not defined (as it is the case in scons currently), BLI_utildefines.h defines bool as a standard type. Was using signed char, which makes eg "bool foo = 1024" be false (overflow)! Especially nasty when using bitflags (think we have been lucky to not have worse bugs because of that)!

So changed fallback bool type to unsigned int.

6 years agoFix #33874: active UV map chooser in uv editor should not have X button as you
Brecht Van Lommel [Thu, 31 Jan 2013 13:44:13 +0000 (13:44 +0000)]
Fix #33874: active UV map chooser in uv editor should not have X button as you
can't not have an active UV map.

6 years agoAttempt to fix cycles OSL link error on windows 64 bit.
Brecht Van Lommel [Thu, 31 Jan 2013 13:44:03 +0000 (13:44 +0000)]
Attempt to fix cycles OSL link error on windows 64 bit.

6 years agoFix bevel bug #33906, unwanted distortion with skewed meshes.
Howard Trickey [Thu, 31 Jan 2013 12:54:06 +0000 (12:54 +0000)]
Fix bevel bug #33906, unwanted distortion with skewed meshes.

The code for making a rounded profile edge at a vertex needed
a special case for when that profile is on the third face
(the one not touched by the beveled edge) when only one edge
is beveled and the three faces are not orthogonal.

6 years agoFix scons building under unix. Now we should really have only *one* '/usr/lib' lib...
Bastien Montagne [Thu, 31 Jan 2013 12:24:12 +0000 (12:24 +0000)]
Fix scons building under unix. Now we should really have only *one* '/usr/lib' lib search path, in last position! Previously we could have a bunch of those, even in first position, which would e.g. prevent linking against a custom boost in /opt/lib/boost if you had a system boost installed...

6 years agoreplace BLI_make_file_string with BLI_join_dirfile since its much more simple and...
Campbell Barton [Thu, 31 Jan 2013 11:17:08 +0000 (11:17 +0000)]
replace BLI_make_file_string with BLI_join_dirfile since its much more simple and does whats needed.

6 years agowrite all crashlogs into the temp directory (not next to blend files).
Campbell Barton [Thu, 31 Jan 2013 11:10:43 +0000 (11:10 +0000)]
write all crashlogs into the temp directory (not next to blend files).

6 years agoAdd Xinerama support for GHOST_GetMainDisplayDimensions() so X11 works as it should...
Campbell Barton [Thu, 31 Jan 2013 11:05:09 +0000 (11:05 +0000)]
Add Xinerama support for GHOST_GetMainDisplayDimensions() so X11 works as it should (previously would include all monitors).

Now the active monitor size is used on startup.
Currently the cursor position is checked for intersection with the monitor bounds to find the active screen.

6 years agoadd ghost function getAllDisplayDimensions, GHOST_GetAllDisplayDimensions
Campbell Barton [Thu, 31 Jan 2013 10:42:26 +0000 (10:42 +0000)]
add ghost function getAllDisplayDimensions, GHOST_GetAllDisplayDimensions

This returns the desktop size, not just the size of the active monitor, useful since this constrains the mouse and we dont have to detect the active monitor (which isn't so straightforward with xlib).

carbon/cocoa are TODO, they still use getMainDisplayDimensions().

6 years agostart window non-maximized since this is more the `default` state for windows. (linux...
Campbell Barton [Thu, 31 Jan 2013 09:53:34 +0000 (09:53 +0000)]
start window non-maximized since this is more the `default` state for windows. (linux/win only)

6 years agoFix msvc compile
Miika Hamalainen [Thu, 31 Jan 2013 08:55:00 +0000 (08:55 +0000)]
Fix msvc compile

6 years agopatch [#33985] Added FModifierEnvelope control_point add remove to API
Campbell Barton [Thu, 31 Jan 2013 08:19:11 +0000 (08:19 +0000)]
patch [#33985] Added FModifierEnvelope control_point add remove to API
from Peter Staples (batfinger)

6 years agofix [#34050] Regression from 2.49, "Release confirms" interferes with loop cutting
Campbell Barton [Thu, 31 Jan 2013 06:38:35 +0000 (06:38 +0000)]
fix [#34050] Regression from 2.49, "Release confirms" interferes with loop cutting

6 years agoinitializing maximized/fullscreen windows in x11 would start normal, then maximize...
Campbell Barton [Thu, 31 Jan 2013 05:55:57 +0000 (05:55 +0000)]
initializing maximized/fullscreen windows in x11 would start normal, then maximize - causing noticeable flicker.

6 years agofix/workaround [#34026] Blender starts with too large window
Campbell Barton [Thu, 31 Jan 2013 05:37:52 +0000 (05:37 +0000)]
fix/workaround [#34026] Blender starts with too large window

Minimal change to stop blender window opening across all monitors.

Workaround the problem by starting maximized, and using sane defaults for non maximized window.

I checked on a few different solutions to this, Using Xinerama works OK, but with different size monitors
and not knowing which one the window-manager will pick in advance - this can be wrong too.

Now instead of opening with the screen size, just start maximized and use a default size for the non-maximized window (clamped by the screen size).

This isn't perfect since you could have 2x monitors at 1024x768, open blender, un-maximize - and blender window would cross over into the second monitor.

6 years agoGPencilStrokePoints.add() - use MEM_recallocN to initialize newly created points
Dan Eicher [Wed, 30 Jan 2013 23:54:49 +0000 (23:54 +0000)]
GPencilStrokePoints.add() - use MEM_recallocN to initialize newly created points

6 years agoCycles:
Thomas Dinges [Wed, 30 Jan 2013 22:21:55 +0000 (22:21 +0000)]
Cycles:
* One more fix for Boost Linker errors with new OSL master branch.

6 years agoFix cycles windows link errors when building with OSL master branch.
Brecht Van Lommel [Wed, 30 Jan 2013 21:58:47 +0000 (21:58 +0000)]
Fix cycles windows link errors when building with OSL master branch.

6 years agostyle cleanup
Campbell Barton [Wed, 30 Jan 2013 21:17:38 +0000 (21:17 +0000)]
style cleanup

6 years agoadd BLI_mempool_as_arrayN utility function for getting the mempool as a new array...
Campbell Barton [Wed, 30 Jan 2013 21:17:09 +0000 (21:17 +0000)]
add BLI_mempool_as_arrayN utility function for getting the mempool as a new array (utility function currently unused).

6 years agoFix #33984: cycles shadow pass problem with CUDA.
Brecht Van Lommel [Wed, 30 Jan 2013 17:04:51 +0000 (17:04 +0000)]
Fix #33984: cycles shadow pass problem with CUDA.

6 years agoCycles: make multiple importance sampling for lamps an option per lamp now,
Brecht Van Lommel [Wed, 30 Jan 2013 15:57:15 +0000 (15:57 +0000)]
Cycles: make multiple importance sampling for lamps an option per lamp now,
disabled by default for backwards compatibility.
http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Integrator

6 years agoPatch by erwin94 [#34015] dilate/erode multithreading
Monique Dewanchand [Wed, 30 Jan 2013 15:43:13 +0000 (15:43 +0000)]
Patch by erwin94 [#34015] dilate/erode multithreading

another patch for the dilate/erode step method, still without any functional changes.
This time it keeps the general algorithm but uses the tile system to make it
multithreaded. I could not measure a speedup on my 2-core laptop, but hope that
it will be faster for more cores. The immediate speedup that is very visible though is
that tiles come in as soon as they are calculated and a dilate/erode node does not
block the whole image to be calculated.

till then, David.

6 years agostartup.blend edits
Campbell Barton [Wed, 30 Jan 2013 15:34:02 +0000 (15:34 +0000)]
startup.blend edits
- make timeline less tall.
- make outliner more tall.
- set node and image channel displayes to RGBA.

6 years agodisable ubuntu unity workaround, causes issues with modifier keys held doun with...
Campbell Barton [Wed, 30 Jan 2013 13:44:24 +0000 (13:44 +0000)]
disable ubuntu unity workaround, causes issues with modifier keys held doun with multiple windows.

no time to fix now so disabling.

6 years agoCycles material preview: fix for generated/packed/movie files
Sergey Sharybin [Wed, 30 Jan 2013 13:42:12 +0000 (13:42 +0000)]
Cycles material preview: fix for generated/packed/movie files

Issue was caused by cycles trying to find builtin images in a main
database and in case of preview render images are not in database,
they're just referenced by shader node tree.

Now builtin images in cycles have got void* pointer to store data
needed to load builtin images.

In case ob blender session, this pointer will store pointer from
PointerRNA for image datablock and used later to construct Image
class based on this pointer.

This also saves database lookup for final render which is nice :)

Reviewed by Brecht.

6 years agoAdd active region for operator execution.
Campbell Barton [Wed, 30 Jan 2013 12:22:02 +0000 (12:22 +0000)]
Add active region for operator execution.

This means you can for example, uv unwrap in quad-view and change settings in the toolbar without defaulting back to the first quad-view region available.

This may be displayed to the user later, for now this is set on executing registrable operators.

6 years agofix [#33740] Incorecct UV mapping from camera view
Campbell Barton [Wed, 30 Jan 2013 11:06:02 +0000 (11:06 +0000)]
fix [#33740] Incorecct UV mapping from camera view

Bug was in fact that the options for this operator couldn't be accessed (unless you knew to press f6), now the redo panel sets the window area before polling.

Now other operators that use the window region will show settings too.

6 years agocmake config files BOOL type was ignored by cmake.
Campbell Barton [Wed, 30 Jan 2013 07:33:26 +0000 (07:33 +0000)]
cmake config files BOOL type was ignored by cmake.

6 years agoBGE: Some various changes to make moving the character physics type easier:
Mitchell Stokes [Wed, 30 Jan 2013 05:55:17 +0000 (05:55 +0000)]
BGE: Some various changes to make moving the character physics type easier:
  * Undoing the previous applyMovement() changes for characters. This was causing bugs for the Motion Actuator.
  * Creating a Character Motion type for the Motion Actuator with specific controls for characters. This includes moving, rotating and jumping.
  * Adding a KX_CharacterWrapper.walkDirection to set the character's direction and speed.

Note, this also resolves the following bugs:
[#33585] "Setting dLoc of motion actuator [0,0,0] via python won't stop object" reported by Manuel Bellersen (urfoex)
[#33503] "Character physics type won´t accept more than one motion anymore" reported by Mr Larodos

6 years agopatch [#33886] Combine Dissolve Menu with Delete Menu
Campbell Barton [Wed, 30 Jan 2013 05:19:27 +0000 (05:19 +0000)]
patch [#33886] Combine Dissolve Menu with Delete Menu

6 years agopatch [#34039] Fix Alt key glitch on Unity desktop
Campbell Barton [Wed, 30 Jan 2013 04:12:32 +0000 (04:12 +0000)]
patch [#34039] Fix Alt key glitch on Unity desktop
by Shinsuke Irie (irie) with own minor changes.

6 years agobridge tool could make bow-tie quads when given 2 isolated edges.
Campbell Barton [Wed, 30 Jan 2013 03:12:19 +0000 (03:12 +0000)]
bridge tool could make bow-tie quads when given 2 isolated edges.

6 years agofix [#33987] X-ray mode on bones nullifies weight paint mode
Campbell Barton [Wed, 30 Jan 2013 02:27:13 +0000 (02:27 +0000)]
fix [#33987] X-ray mode on bones nullifies weight paint mode

This effected vertex paint mode too.

6 years agoenable continuous grab for sliders, initially this was disabled because we didnt...
Campbell Barton [Tue, 29 Jan 2013 23:33:58 +0000 (23:33 +0000)]
enable continuous grab for sliders, initially this was disabled because we didnt support un-grabbing at the new slider location.

6 years agoupdate themes.
Campbell Barton [Tue, 29 Jan 2013 21:58:07 +0000 (21:58 +0000)]
update themes.

6 years agoFix #34016: add backwards compatibility for deprecated region.callback_add
Brecht Van Lommel [Tue, 29 Jan 2013 21:34:58 +0000 (21:34 +0000)]
Fix #34016: add backwards compatibility for deprecated region.callback_add
python function, this keep addons working. It's better to use the new function
but might as well avoid breaking compatibility here.

6 years agocorrection to r54188, also don't attempt to triangulate triangles.
Campbell Barton [Tue, 29 Jan 2013 20:49:40 +0000 (20:49 +0000)]
correction to r54188, also don't attempt to triangulate triangles.

6 years agoFix [#34008]: Scaling Smoke Domain In Z-Axis Crashes Blender
Miika Hamalainen [Tue, 29 Jan 2013 19:27:05 +0000 (19:27 +0000)]
Fix [#34008]: Scaling Smoke Domain In Z-Axis Crashes Blender

Also as minor change skip base_res update on domain step if adaptive domain isn't enabled.

6 years agoFix #34031: in the keymap editor, Timer and Text Input types did not show field
Brecht Van Lommel [Tue, 29 Jan 2013 17:30:30 +0000 (17:30 +0000)]
Fix #34031: in the keymap editor, Timer and Text Input types did not show field
to edit the operator name.

6 years agoCycles: collapse preview render panel by default. It's a matter of personal
Brecht Van Lommel [Tue, 29 Jan 2013 17:30:26 +0000 (17:30 +0000)]
Cycles: collapse preview render panel by default. It's a matter of personal
preference, but it slows down 3D view rendering to have two renders going so
I rather disable it by default.

6 years agoFix #34003: hide confusing unlink button for pinned datablock in properties editor.
Brecht Van Lommel [Tue, 29 Jan 2013 17:15:51 +0000 (17:15 +0000)]
Fix #34003: hide confusing unlink button for pinned datablock in properties editor.

6 years agoskip calculating the normal for each face when triangulating, all callers make sure...
Campbell Barton [Tue, 29 Jan 2013 15:05:23 +0000 (15:05 +0000)]
skip calculating the normal for each face when triangulating, all callers make sure its valid. also remove some commented code (more then one generation of bmesh old).

6 years agoPreview Render:
Thomas Dinges [Tue, 29 Jan 2013 14:52:26 +0000 (14:52 +0000)]
Preview Render:
* Changing Material Preview type (Sphere, Monkey...) should not trigger ND_SHADING_DRAW. Caused Cycles 3D View render to re-start.

It now only triggers an ND_SHADER update, which will be handled inside the Properties Editor Listener and executes a Preview Re-Render.

6 years agoCycles Hair: Addition of render settings and static BVH strand width scaling
Stuart Broadfoot [Tue, 29 Jan 2013 12:32:43 +0000 (12:32 +0000)]
Cycles Hair: Addition of render settings and static BVH strand width scaling

Addition of a RNA function to toggle between the hair settings and rebuild the cache. This enables the usage of the render step, child number and full display percentage with f12 rendering.

A scaling to the strand radius has also been added for the static bvh. This only matches up with dynamic for uniform scaling.

A very small fix is included for multiple uvs/vertex colours when using child particles.

6 years agoAlpha display changes:
Sergey Sharybin [Tue, 29 Jan 2013 12:03:38 +0000 (12:03 +0000)]
Alpha display changes:

Previous alpha-overing on black for RGB display wasn't so much useful
for artists, changed in a way:

- Made RGBA display default for node editor backdrop and image editor,
  so it'll be clear that image does have alpha channel
- RGB display will ignore alpha channel completely

Reshuffled buttons for RGBA/RGB so now the order is following:
    RGBA | RGB | Alpha | Z

Still to come: startup.blend shall be altered to make RGBA default.

6 years agosculpt, replace bmo call to triangulate with BM_mesh_triangulate()
Campbell Barton [Tue, 29 Jan 2013 10:43:15 +0000 (10:43 +0000)]
sculpt, replace bmo call to triangulate with BM_mesh_triangulate()

6 years agoTriangulate modifier no longer uses bmesh operator api call, instead add a BM_mesh_tr...
Campbell Barton [Tue, 29 Jan 2013 10:31:05 +0000 (10:31 +0000)]
Triangulate modifier no longer uses bmesh operator api call, instead add a BM_mesh_triangulate() function. Gives ~2x speedup in my tests on an optimized build.

6 years agoSome optimization (their is much more possible here, but it will have to wait for...
Bastien Montagne [Tue, 29 Jan 2013 08:34:26 +0000 (08:34 +0000)]
Some optimization (their is much more possible here, but it will have to wait for complete refactor I’m working on currently).

6 years agoFix #34009: multi user curves + deform modifier behavior
Sergey Sharybin [Tue, 29 Jan 2013 08:21:21 +0000 (08:21 +0000)]
Fix #34009: multi user curves + deform modifier behavior

Issue was caused by storing BB calculated from final displist in
Curve datablock and not having Object's BB at all. This is not
clear at how could have been worked for so long.

Changed it so Curve's BB is calculated from non-deformed displist,
which matches BKE_object_min_max and BKE_curve_texspace_calc and
made it so Object's BB would be calculated from final displist.

6 years agofix [#34024] delete - Edge loop crash
Campbell Barton [Tue, 29 Jan 2013 08:19:23 +0000 (08:19 +0000)]
fix [#34024] delete - Edge loop crash

6 years agoMore UI messages tweaks and fixes. Please do not use points inside tooltips, unless...
Bastien Montagne [Tue, 29 Jan 2013 08:01:50 +0000 (08:01 +0000)]
More UI messages tweaks and fixes. Please do not use points inside tooltips, unless they are absolutely mandatory (they are ugly, as we do not have final points!).

6 years agotweak to edge slide - use a quads opposite vertex when both edges share a quad, gives...
Campbell Barton [Tue, 29 Jan 2013 05:30:39 +0000 (05:30 +0000)]
tweak to edge slide - use a quads opposite vertex when both edges share a quad, gives nicer results.

6 years agofix for fix, ugh!, vertex slide with concave/convex ngons & normal flipping should...
Campbell Barton [Tue, 29 Jan 2013 05:18:30 +0000 (05:18 +0000)]
fix for fix, ugh!, vertex slide with concave/convex ngons & normal flipping should now work properly in all cases.
... somehow I managed to make test-cases that worked in previous commits but failed in other cases.

6 years agoCorrect fix for r54164, the testcase I was using worked but different edge slide...
Campbell Barton [Tue, 29 Jan 2013 03:25:47 +0000 (03:25 +0000)]
Correct fix for r54164, the testcase I was using worked but different edge slide examples didn't.

Edge slide needed to check for concave ngons too.

add BM_loop_is_convex() and expose to python too.

6 years agoSkeleton Sketching bugfixes/tweaks
Joshua Leung [Tue, 29 Jan 2013 03:04:24 +0000 (03:04 +0000)]
Skeleton Sketching bugfixes/tweaks

* Disabling Skeleton Sketching now refreshes the view properly, so that strokes
don't linger on even after being disabled
* Added the delete operator to the panel

6 years agofix for r54166, the average edge length needs to be maintained.
Campbell Barton [Tue, 29 Jan 2013 02:17:19 +0000 (02:17 +0000)]
fix for r54166, the average edge length needs to be maintained.

6 years agoBugfix [#34012] Skeleton Sketching settings unclear
Joshua Leung [Tue, 29 Jan 2013 02:00:33 +0000 (02:00 +0000)]
Bugfix [#34012] Skeleton Sketching settings unclear

Although the bug report here wasn't exactly clear about what exactly was wrong,
it soon became apparent that the UI stuff here was in need of some love.

Changes:
* Ported over missing tooltips from 2.49 (i.e. most of them)
* Fixed a few incorrect tooltips (mostly the subdivision length settings)
* Made the autonaming and number/side settings slightly clearer - number/side
are used to replace placeholders in the names of template bones (&N and &S
respectively) when autonaming is disabled. When it is enabled, these values are
determined automatically.

6 years agoWindow menu: Make Screencast (should be Save?, to match screenshot?) option.
Pablo Vazquez [Tue, 29 Jan 2013 01:43:03 +0000 (01:43 +0000)]
Window menu: Make Screencast (should be Save?, to match screenshot?) option.

Thought of setting the operator context before so it wouldnt invoke the confirmation dialog, but better leave it by default to confirm since it might be clicked by mistake and start dumping video/image-sequence and can get annoying.

6 years agominor improvement to edge slide, normalize the edge vectors that accumulate the direc...
Campbell Barton [Tue, 29 Jan 2013 01:37:04 +0000 (01:37 +0000)]
minor improvement to edge slide, normalize the edge vectors that accumulate the direction, otherwise longer edges would skew the direction.

6 years agocode cleanup: add some comments about to get_next_loop() for edge slide, also name...
Campbell Barton [Tue, 29 Jan 2013 01:31:42 +0000 (01:31 +0000)]
code cleanup: add some comments about to get_next_loop() for edge slide, also name vars better (was using meaningless names).

6 years agofix for edge slide bug, when there were no edges to slide along the direction calcula...
Campbell Barton [Tue, 29 Jan 2013 01:23:33 +0000 (01:23 +0000)]
fix for edge slide bug, when there were no edges to slide along the direction calculated from the face would be wrong half the time (depending on the edge loop direction which is arbitrary).

6 years agoWhitespace
Joshua Leung [Tue, 29 Jan 2013 01:23:29 +0000 (01:23 +0000)]
Whitespace

6 years agocode cleanup: just variable naming
Campbell Barton [Tue, 29 Jan 2013 01:02:45 +0000 (01:02 +0000)]
code cleanup: just variable naming

6 years agocode cleanup: var rename and add assert, when writing to out of bounds array.
Campbell Barton [Tue, 29 Jan 2013 00:20:04 +0000 (00:20 +0000)]
code cleanup: var rename and add assert, when writing to out of bounds array.
minor edit to recent tip change.

6 years agoBetter tooltips for the Full Screen option on Save Screenshot/Screencast operators.
Pablo Vazquez [Mon, 28 Jan 2013 23:58:09 +0000 (23:58 +0000)]
Better tooltips for the Full Screen option on Save Screenshot/Screencast operators.

6 years agoBugfix [#34019] Limit Constraints still affected transforms when turned off
Joshua Leung [Mon, 28 Jan 2013 23:57:02 +0000 (23:57 +0000)]
Bugfix [#34019] Limit Constraints still affected transforms when turned off

Limit Constraints (i.e. Limit Location/Rotation/Scale/Distance) with 'For
Transform' option enabled would still be applied when transforming objects even
when they were turned off using the eye icon in the constraint panel headers.
The "off" flag was never added to the checks for muted or disabled constraints
to be skipped here.

6 years agoInfo Editor: Adding Save Screenshot option to the Window menu, was only available...
Pablo Vazquez [Mon, 28 Jan 2013 23:06:27 +0000 (23:06 +0000)]
Info Editor: Adding Save Screenshot option to the Window menu, was only available through search or shortcut (CTRL+F3)

6 years agoCycles Preview: Rotated Suzanne a bit for better angle. Raised the intensity of the...
Pablo Vazquez [Mon, 28 Jan 2013 22:08:30 +0000 (22:08 +0000)]
Cycles Preview: Rotated Suzanne a bit for better angle. Raised the intensity of the mesh light, and moved the mesh/lamp to also be in the layer of World Sphere preview (was black previously, since it had no lamps)

6 years agoCycles Preview Blend:
Thomas Dinges [Mon, 28 Jan 2013 19:15:47 +0000 (19:15 +0000)]
Cycles Preview Blend:
* Added UV Mapping for objects, so Image textures will work.

6 years agoFix [#34023] r54146 breaks name-display of default "UI_UL_list"
Bastien Montagne [Mon, 28 Jan 2013 18:46:04 +0000 (18:46 +0000)]
Fix [#34023] r54146 breaks name-display of default "UI_UL_list"

draw_item *is* optional (it then uses default C function), even though there is not much sense to register a class without it, except for our default UI_UL_list!

6 years agoScons:
Thomas Dinges [Mon, 28 Jan 2013 17:49:15 +0000 (17:49 +0000)]
Scons:
* Fix for new cycles_preview.blend

6 years agoCycles: preview rendering support for world/material/lamp.
Brecht Van Lommel [Mon, 28 Jan 2013 17:37:51 +0000 (17:37 +0000)]
Cycles: preview rendering support for world/material/lamp.

Patch by Sergey, .blend by Thomas and some further tweaks by me.

Still to solve later: allow external engines to specify own preview .blend, for
now the code here is doing too much magic hacking on the preview scene still.

6 years agoFix for RNA function flag conflict: FUNC_USE_REPORTS was using same bits as FUNC_REGI...
Lukas Toenne [Mon, 28 Jan 2013 13:33:40 +0000 (13:33 +0000)]
Fix for RNA function flag conflict: FUNC_USE_REPORTS was using same bits as FUNC_REGISTER. Previously errors resulting from this could go unnoticed because of broken FUNC_REGISTER test (all functions considered optional). Watch this in future ...

6 years agoFix #34004: crash when canceling ongoing render with scene strip
Sergey Sharybin [Mon, 28 Jan 2013 13:29:10 +0000 (13:29 +0000)]
Fix #34004: crash when canceling ongoing render with scene strip

Issue was caused by recursive call of RE_BlenderFrame. Solved by
reshuffling image pool init/free in do_render_all_options.

Should be harmless, but doublecheck on this is welcome.