8 years agoFix for WITH_LLVM cmake option: When using WITH_CYCLES_OSL this option is forced...
Lukas Toenne [Sat, 6 Oct 2012 18:40:05 +0000 (18:40 +0000)]
Fix for WITH_LLVM cmake option: When using WITH_CYCLES_OSL this option is forced ON, but this change was not cached yet. Thanks to Jens Verwiebe for providing this fix.

8 years agoAvoid unecessary minimizer calculations in dualcon
Nicholas Bishop [Sat, 6 Oct 2012 18:28:38 +0000 (18:28 +0000)]
Avoid unecessary minimizer calculations in dualcon

* The minimize() function, which solves a least-squares problem, is
  only needed for sharp remesh mode, but was being calculated for
  smooth and blocks modes as well. Disabling this calculation when
  it's not needed gives a big performance boost.

8 years agoCode cleanups for dualcon octree
Nicholas Bishop [Sat, 6 Oct 2012 18:28:34 +0000 (18:28 +0000)]
Code cleanups for dualcon octree

* Move InternalNode operators from Octree class into InternalNode

* Constify various member functions

8 years agoIncrease maximum octree depth to 12
Nicholas Bishop [Sat, 6 Oct 2012 17:51:52 +0000 (17:51 +0000)]
Increase maximum octree depth to 12

Note that this is just an RNA change, underlying dualcon octree
already supports even higher values.

8 years agoCycles / OSL:
Thomas Dinges [Sat, 6 Oct 2012 17:11:53 +0000 (17:11 +0000)]
Cycles / OSL:
* OSL UI message did not show up when device type was GPU, but User Preferences were None. Also remove experimental check, more convenient for testing.

8 years agoImprove flat-shaded VBO drawing for sculpt meshes
Nicholas Bishop [Sat, 6 Oct 2012 16:52:52 +0000 (16:52 +0000)]
Improve flat-shaded VBO drawing for sculpt meshes

Separate vertex copies are now made for flat-shading, such that the
normal is correctly flat-shaded. The element index buffer is not
created in this case.

8 years agoCode cleanups for PBVH GPU buffers
Nicholas Bishop [Sat, 6 Oct 2012 16:42:11 +0000 (16:42 +0000)]
Code cleanups for PBVH GPU buffers

* De-duplicate GPU code to check if VBO should be used.

* Add a flag to indicate if the buffer should be drawn smooth or not,
  rather than checking each time the node is drawn.

8 years agoFix for a case of 'static initialization fiasco' with OSL closure variables. The...
Lukas Toenne [Sat, 6 Oct 2012 16:28:02 +0000 (16:28 +0000)]
Fix for a case of 'static initialization fiasco' with OSL closure variables. The parameter lists are using OIIO::TypeDesc static standards, which are also static variables. With static OSL libraries these are not initialized when the closure parameter lists are initialized, so OSL rejects the closure types.

Putting static initialization into functions works just as well, but ensures the OIIO::TypeDesc access is delayed until initialization is complete.

8 years agoFix for incomplete loading of liboslexec static library. This is needed in order...
Lukas Toenne [Sat, 6 Oct 2012 14:35:48 +0000 (14:35 +0000)]
Fix for incomplete loading of liboslexec static library. This is needed in order to provide the osl_allocate_closure_component function for LLVM.

8 years agoadded simple checker for array sizes, uses clang to parse C/C++,
Campbell Barton [Sat, 6 Oct 2012 12:36:21 +0000 (12:36 +0000)]
added simple checker for array sizes, uses clang to parse C/C++,

Warns if an array is passed to a function where the array is declared larger, eg float[2] argument is passed function defined as float[3], (or a greater size).

Existing free static checkers dont do this from what I can tell.

8 years agofix writing past array bounds in imagewraposa().
Campbell Barton [Sat, 6 Oct 2012 12:04:09 +0000 (12:04 +0000)]
fix writing past array bounds in imagewraposa().

also correct array sizes in othere areas.

8 years agofix reading past array bounds for nearest_uv_between() and draw_tracking_tracks().
Campbell Barton [Sat, 6 Oct 2012 12:00:54 +0000 (12:00 +0000)]
fix reading past array bounds for nearest_uv_between() and draw_tracking_tracks().

8 years agoFix for UV texture coordinate problem in cycles, after recent fix.
Brecht Van Lommel [Sat, 6 Oct 2012 11:52:54 +0000 (11:52 +0000)]
Fix for UV texture coordinate problem in cycles, after recent fix.

8 years agoBetter support for LLVM linking, needed for static OSL library.
Lukas Toenne [Sat, 6 Oct 2012 11:00:45 +0000 (11:00 +0000)]
Better support for LLVM linking, needed for static OSL library.

This adds cmake code for LLVM on linux and updates the cmake code used for OSX.
LLVM is linked like other external libraries now, by using the setup_liblinks and setup_libdirs macros instead of the PLATFORM_LINKFLAGS variable.
The use of llvm-config for getting a list of libraries can also be simplified quite a bit.

Caching the LLVM_DIRECTORY and LLVM_VERSION strings could be nicer though.

8 years agoColor Management: fixed loading configuration from non-ascii paths
Sergey Sharybin [Sat, 6 Oct 2012 07:03:03 +0000 (07:03 +0000)]
Color Management: fixed loading configuration from non-ascii paths

Used the same hack as BLI gzip is using -- calculate short path and
send it to OCIO library.

8 years agoBugfix [#32789] (Minor) Different types used between func declaration and
Joshua Leung [Sat, 6 Oct 2012 03:56:09 +0000 (03:56 +0000)]
Bugfix [#32789] (Minor) Different types used between func declaration and
definition (EDBM_selectmode_convert())

Cheers to Sebastian Nell (codemanx) for catching this.

8 years agotoggle cut through in the knife tool now refreshes (before you had to wave the mouse...
Campbell Barton [Sat, 6 Oct 2012 03:34:52 +0000 (03:34 +0000)]
toggle cut through in the knife tool now refreshes (before you had to wave the mouse about to see the result).
also remove print from last commit.

8 years agofix [#32779] Bmesh module: assigning to bm.select_mode crashes Blender if bmesh is...
Campbell Barton [Sat, 6 Oct 2012 03:33:11 +0000 (03:33 +0000)]
fix [#32779] Bmesh module: assigning to bm.select_mode crashes Blender if bmesh is empty

was missing set typecheck

8 years agoadd mball_foreachScreenElem() and use for lasso & circle selection, also utility...
Campbell Barton [Sat, 6 Oct 2012 03:02:14 +0000 (03:02 +0000)]
add mball_foreachScreenElem() and use for lasso & circle selection, also utility metaball functions to (de)select all.

8 years agoadd circle select for metaballs
Campbell Barton [Sat, 6 Oct 2012 01:30:49 +0000 (01:30 +0000)]
add circle select for metaballs

8 years agodisable padding warning for DNA, gave problems with struct bounds padding which DNA...
Campbell Barton [Sat, 6 Oct 2012 00:42:30 +0000 (00:42 +0000)]
disable padding warning for DNA, gave problems with struct bounds padding which DNA ignores.
tag operator callbacks as needing their return values used. These are not directly called in many places so the inconvenience is minimal.

8 years agoGrease Pencil notifier/listener cleanup
Dan Eicher [Fri, 5 Oct 2012 19:51:11 +0000 (19:51 +0000)]
Grease Pencil notifier/listener cleanup

As suggested by Campbell on the IRC gave grease pencil its own notifier type (NC_GPENCIL) and made the makesrna notifier functions actually update properly.

Also got the #ifdef'd GreasePencil.layers.[new/remove] functions working.

8 years agouse pose_foreachScreenBone for pose lasso and circle select
Campbell Barton [Fri, 5 Oct 2012 17:51:44 +0000 (17:51 +0000)]
use pose_foreachScreenBone for pose lasso and circle select

8 years agoFix part of cycles/osl light pass rendering, transmission still not correct.
Brecht Van Lommel [Fri, 5 Oct 2012 17:17:19 +0000 (17:17 +0000)]
Fix part of cycles/osl light pass rendering, transmission still not correct.

8 years agoadd armature_foreachScreenBone(), use for lasso and circle select.
Campbell Barton [Fri, 5 Oct 2012 17:07:02 +0000 (17:07 +0000)]
add armature_foreachScreenBone(), use for lasso and circle select.
also add boundbox checking for lasso select.

8 years agocode cleanup: de-duplicate enum.
Campbell Barton [Fri, 5 Oct 2012 15:48:39 +0000 (15:48 +0000)]
code cleanup: de-duplicate enum.

8 years agocode cleanup: use functions to initialize selection user data structs, use radius...
Campbell Barton [Fri, 5 Oct 2012 15:44:11 +0000 (15:44 +0000)]
code cleanup: use functions to initialize selection user data structs, use radius-squared for circle select comparisons.
edge_fully_inside_rect() & edge_inside_rect() args were shorts when all callers were passing ints.

8 years agoCode cleanup
Joshua Leung [Fri, 5 Oct 2012 14:56:04 +0000 (14:56 +0000)]
Code cleanup
* Added/fixed some comments
* Swapped order that invoke/exec calls are defined in the operator definitions
to reflect flow better

8 years agoFix generated texture coordinate issue after "from dupli" option was added.
Brecht Van Lommel [Fri, 5 Oct 2012 14:54:32 +0000 (14:54 +0000)]
Fix generated texture coordinate issue after "from dupli" option was added.

8 years agoFollow Path Constraint - "Animate Path" Operator
Joshua Leung [Fri, 5 Oct 2012 14:51:35 +0000 (14:51 +0000)]
Follow Path Constraint - "Animate Path" Operator

Added a convenience operator to the Follow Path constraint which adds a F-Curve
for the path (or the operator's "fixed position" value if no path is assigned),
with options for setting the start frame and length of motion. This makes it
easier for common users to just set up a quick follow-path animation where the
camera (e.g. flying around a set over certain number of frames).

A key advantage of this is that it takes care of the underlying math required
for setting up the generator curve accordingly (I've got some plans for making
this a bit friendlier to use later). Now, animating the paths is a one-click
operation, with the start and length properties able to be controlled using the
operator properties.

8 years agoWhitespace edits
Joshua Leung [Fri, 5 Oct 2012 14:05:49 +0000 (14:05 +0000)]
Whitespace edits

8 years agoWarning indicators for animators when Auto Keying is enabled during transform
Joshua Leung [Fri, 5 Oct 2012 13:22:09 +0000 (13:22 +0000)]
Warning indicators for animators when Auto Keying is enabled during transform

Recently on the bf-funboard list, there have been some requests for clearer
indications for animators that autokeying has been enabled when transforming so
that corrective action can be taken sooner if this wasn't expected. This is
especially important in distributed+collaborative environments where multiple
artists may work on a single shot file: someone working on a shot from
another animator may not be aware that autokeying was enabled, thus accidentally
setting a whole bunch of extra keyframes.

In this current incarnation, we display using red (not hardcoded, but using an
existing theme color) a solid 1px border around the 3D view while transforming
with autokeying enabled. In addition to the border, a blinking indicator (record
icon + "Auto Keying On" text) appear in the top right corner, as inspired by the
traditional recording indicator icons on camcorders.

8 years agoFix #32770: iTaSC IK solver not working correct with bones that have stretch with
Brecht Van Lommel [Fri, 5 Oct 2012 13:11:16 +0000 (13:11 +0000)]
Fix #32770: iTaSC IK solver not working correct with bones that have stretch with
have all rotation axes disabled.

8 years agoTypo fix: Tooltip for "Offset Factor" for FollowPath constraint referred to
Joshua Leung [Fri, 5 Oct 2012 13:06:36 +0000 (13:06 +0000)]
Typo fix: Tooltip for "Offset Factor" for FollowPath constraint referred to
"bone" instead of "curve"

8 years agoClean up in "add object" code:
Bastien Montagne [Fri, 5 Oct 2012 12:59:09 +0000 (12:59 +0000)]
Clean up in "add object" code:
* Get rid of ED_object_add_generic_invoke() and all invoke callbacks using it, it was doing nothing exec() callbacks would not do. In fact, its only action (setting part of common add ops properties, like loc, layers, etc.) was needed too by direct exec call, so it was done twice in case of using invoke()!
* Replace custom invoke code for metaballs by WM_menu_invoke helper (as already used by lamps).
* Add a new OBJECT_OT_empty_add op, to allow direct addition of empties of a given drawtype.
* And some general code cleanup (like trailing spaces, empty lines, ...).

Did quite a bunch of tests/verifications, but obviously could not tackle all possible scenarios... Anyway, if any, bugs should arize quite quickly (but I don’t expect any! :p ).

8 years agoFix #32734: Object.to_mesh() gave wrong user count for curves/surface/text objects.
Brecht Van Lommel [Fri, 5 Oct 2012 12:18:09 +0000 (12:18 +0000)]
Fix #32734: Object.to_mesh() gave wrong user count for curves/surface/text objects.

8 years agoFix related to #32734: crash saving blend file from render_pre callback. Not
Brecht Van Lommel [Fri, 5 Oct 2012 12:18:07 +0000 (12:18 +0000)]
Fix related to #32734: crash saving blend file from render_pre callback. Not
sure I want to recommend anyone doing this, but the fix is simple.

8 years agoFix #32735: GLSL shadows not working together with X-ray drawing.
Brecht Van Lommel [Fri, 5 Oct 2012 12:18:04 +0000 (12:18 +0000)]
Fix #32735: GLSL shadows not working together with X-ray drawing.

8 years agomore improvements to logic for selection/projection: replace ED_view3d_project_short_...
Campbell Barton [Fri, 5 Oct 2012 10:28:36 +0000 (10:28 +0000)]
more improvements to logic for selection/projection: replace ED_view3d_project_short_global() with ED_view3d_project_int_object() in some places.

8 years agoFixed compilation error on widows
Sergey Sharybin [Fri, 5 Oct 2012 10:05:26 +0000 (10:05 +0000)]
Fixed compilation error on widows

Was caused by mixing up own C-API typedefs with OCIO's

8 years agoBooleans: epsilon for planar checks seems a bit too small for single precision math
Sergey Sharybin [Fri, 5 Oct 2012 07:31:30 +0000 (07:31 +0000)]
Booleans: epsilon for planar checks seems a bit too small for single precision math

This could solve issue #32748: Boolean Modifiers Making unneeded edges?

8 years agoFix #32707: texture preview not loaded
Sergey Sharybin [Fri, 5 Oct 2012 07:17:45 +0000 (07:17 +0000)]
Fix #32707: texture preview not loaded

8 years agoSome effect-less code cleanup...
Bastien Montagne [Fri, 5 Oct 2012 07:05:52 +0000 (07:05 +0000)]
Some effect-less code cleanup...

8 years agoBugfix [#32760] Crash on entering pose mode if motion paths have no baked points
Joshua Leung [Fri, 5 Oct 2012 06:40:21 +0000 (06:40 +0000)]
Bugfix [#32760] Crash on entering pose mode if motion paths have no baked points

Dunno how a file with this situation arose, but we now perform some more sanity checking to abort in this sticky situation.

8 years agofixes/minor improvements to circle select in armature and pose mode.
Campbell Barton [Fri, 5 Oct 2012 05:59:15 +0000 (05:59 +0000)]
fixes/minor improvements to circle select in armature and pose mode.

- pose mode now checks if circle select intersects the bone if neither head/tail are reached (as with editmode)
- checking if the mouse intersects with the bone now checks that neither projection failed.
- use ED_view3d_project_int_object rather then the global version.

8 years agofix for circle select ignoring lock selection option for pose and edit modes, added...
Campbell Barton [Fri, 5 Oct 2012 05:27:51 +0000 (05:27 +0000)]
fix for circle select ignoring lock selection option for pose and edit modes, added macros PBONE_SELECTABLE, EBONE_SELECTABLE

8 years agoreplace ED_view3d_project_short_* with ED_view3d_project_int_*, when the result was...
Campbell Barton [Fri, 5 Oct 2012 05:11:10 +0000 (05:11 +0000)]
replace ED_view3d_project_short_* with ED_view3d_project_int_*, when the result was converted to an int after.
also optimization for particle editmode key_test_depth() was projecting the screen coords, but all callers had already done this, so pass an arg.

8 years agoknife tool: avoid sqrt's for length comparison, and define KNIFE_FLT_EPS rather than...
Campbell Barton [Fri, 5 Oct 2012 04:43:46 +0000 (04:43 +0000)]
knife tool: avoid sqrt's for length comparison, and define KNIFE_FLT_EPS rather than using (FLT_EPSILON * 80).

8 years agofix for bug in loop select, picking the active vert/edge/face was using global space...
Campbell Barton [Fri, 5 Oct 2012 04:18:52 +0000 (04:18 +0000)]
fix for bug in loop select, picking the active vert/edge/face was using global space checks on object space coordinates. this removes last use of ED_view3d_project_float_noclip().

8 years agoreplace most uses of ED_view3d_project_float_noclip() with ED_view3d_project_float_gl...
Campbell Barton [Fri, 5 Oct 2012 03:57:56 +0000 (03:57 +0000)]
replace most uses of ED_view3d_project_float_noclip() with ED_view3d_project_float_global/object

8 years agoreplace ED_view3d_project_float with ED_view3d_project_float_global
Campbell Barton [Fri, 5 Oct 2012 03:20:14 +0000 (03:20 +0000)]
replace ED_view3d_project_float with ED_view3d_project_float_global

8 years agoImprovements for knife tool execute function (code was a bit sloppy & could leak...
Campbell Barton [Fri, 5 Oct 2012 03:06:01 +0000 (03:06 +0000)]
Improvements for knife tool execute function (code was a bit sloppy & could leak memory).

- vertex to screenspace projections were not checking for failure to project (vertex behind the view for eg).
- vertex screenspace 2d vectors were each malloc'd and added to own ghash, then fetched for each edge.
  now just store a vertex aligned array and do index lookups.
- projections were done in global space, now do them in object space (avoids a matrix multiply).
- error cases were commented out and would fail silently, now report them to the operator.
- remove MAX_CUTS hard coded limit, dynamically allocate the mouse path.
- add missing free calls in error cases.

8 years agocode cleanup: quiet warnings and use define for transform snap max distance.
Campbell Barton [Fri, 5 Oct 2012 01:34:47 +0000 (01:34 +0000)]
code cleanup: quiet warnings and use define for transform snap max distance.

8 years agoadd ED_view3d_project_float_global, ED_view3d_project_float_object, ED_view3d_project...
Campbell Barton [Fri, 5 Oct 2012 01:27:28 +0000 (01:27 +0000)]
add ED_view3d_project_float_global, ED_view3d_project_float_object, ED_view3d_project_float_ex function calls and cleanup cursor3d set function which had some odd logic.

8 years ago* Fix Scons build when OCIO is disabled.
Thomas Dinges [Thu, 4 Oct 2012 23:44:03 +0000 (23:44 +0000)]
* Fix Scons build when OCIO is disabled.
Still fails when it's enabled though (unresolved symbols).

8 years agoCycles: add "From Dupli" option for texture coordinate node. This gets the
Brecht Van Lommel [Thu, 4 Oct 2012 21:40:39 +0000 (21:40 +0000)]
Cycles: add "From Dupli" option for texture coordinate node. This gets the
Generated and UV coordinates from the duplicator of instance instead of the
object itself.

This was used in e.g. Big Buck Bunny for texturing instanced feathers with
a UV map on the bird. Many files changed, mainly to do some refactoring to
get rid of G.rendering global in duplilist code.

8 years agoMesh Deform Modifier: binding is now accelerated with a BVH tree, can make it
Brecht Van Lommel [Thu, 4 Oct 2012 21:40:10 +0000 (21:40 +0000)]
Mesh Deform Modifier: binding is now accelerated with a BVH tree, can make it
much faster for complex meshes. Patch by Joe Eager.

8 years agoQuick fix for [#32764] Some new object types are added at the origin instead of the...
Bastien Montagne [Thu, 4 Oct 2012 20:59:47 +0000 (20:59 +0000)]
Quick fix for [#32764] Some new object types are added at the origin instead of the 3D cursor

Own fault (r50994). Those "add object" ops really need a cleanup to make them more consistent! Will try to see this tomorrow.

8 years agoFix #32763: Image flickering appears if Movie Clip Editor and compositor opened
Sergey Sharybin [Thu, 4 Oct 2012 20:31:08 +0000 (20:31 +0000)]
Fix #32763: Image flickering appears if Movie Clip Editor and compositor opened

The issue was caused by compositor was allocating float buffer for image and
then this buffer was filled with data converted from byte buffer.

If display happens at time between float was allocated and it was filled black
areas were appearing on the screen.

Made it so IMB_float_from_rect locks color management thread so display
transform wouldn't use uninitialized buffer anymore.

8 years agoFix #31806: cycles crash rendering a particular node setup with multiple mix/add
Brecht Van Lommel [Thu, 4 Oct 2012 20:12:16 +0000 (20:12 +0000)]
Fix #31806: cycles crash rendering a particular node setup with multiple mix/add
shader nodes.

8 years agoUI: buttons that open menus now align to the menu rather than looking disconnected.
Brecht Van Lommel [Thu, 4 Oct 2012 20:12:05 +0000 (20:12 +0000)]
UI: buttons that open menus now align to the menu rather than looking disconnected.
Also fixed some cases where the menu was offset 1 or 2 pixels wrong, though not
quite all of them, still off by 1 pixel sometimes.

8 years agoCode cleanup: fix some clang checker warnings.
Brecht Van Lommel [Thu, 4 Oct 2012 20:11:54 +0000 (20:11 +0000)]
Code cleanup: fix some clang checker warnings.

8 years agoFix for commit r51049: no need to create two contexts when one if enough.
Bastien Montagne [Thu, 4 Oct 2012 18:53:17 +0000 (18:53 +0000)]
Fix for commit r51049: no need to create two contexts when one if enough.

Also please define and use constants in BLF_translation.h rather than directly typing contexts' names, it's safer (typo would break at compile time, instead of generating more contexts!).

8 years agoFix #32755: Stripes in Metastrip can not be moved on other channel with mouse (grab...
Sergey Sharybin [Thu, 4 Oct 2012 18:30:28 +0000 (18:30 +0000)]
Fix #32755: Stripes in Metastrip can not be moved on other channel with mouse (grab tool)

The issue was caused by SEQ_BEGIN macro modifying sequence's depth
which ruined transformation routines. Used own DFS instead which
doesn't modify sequences.

Also corrected some typos in api and comments.

8 years agoAdd translation context for volume (Audio), pitch (Rotation) and rename tip->tooltip...
Sv. Lockal [Thu, 4 Oct 2012 18:21:34 +0000 (18:21 +0000)]
Add translation context for volume (Audio), pitch (Rotation) and rename tip->tooltip for custom properties

Tracked in [#31062] [2.6x] Context Ambiguity List & Discussion (keep updating)

8 years agomake ED_view3d_project_int equivalent to ED_view3d_project_short functions.
Campbell Barton [Thu, 4 Oct 2012 17:52:12 +0000 (17:52 +0000)]
make ED_view3d_project_int equivalent to ED_view3d_project_short functions.

8 years agorefactor ED_view3d_project_short & ED_view3d_project_short_noclip,
Campbell Barton [Thu, 4 Oct 2012 16:46:15 +0000 (16:46 +0000)]
refactor ED_view3d_project_short & ED_view3d_project_short_noclip,

This is apart of a code cleanup to make  ED_view3d_project_short/ED_view3d_project_int/ED_view3d_project_float interchangeable. Currently they work very differently in a way thats quite confusing (and cause of bugs in blender that remain uncorrected) - fixes coming.

There are also cases where ED_view3d_project_short is used, then the values are converted from shorts into int's after because ED_view3d_project_int() behaves differently, will unify behavior of these functions after this commit.

- rather then clip/noclip versions, pass flags (for bound-box clip, window clip).
- rather then store the invalid clip-value, return success (or error value clip_near, clip_bb, clip_win, overflow).
- remove local copies of project functions from drawobject.c: view3d_project_short_clip, view3d_project_short_noclip, view3d_project_short_clip_persmat.

add functions:
- ED_view3d_project_short_global() global space projection
- ED_view3d_project_short_object() object space projection.
- ED_view3d_project_short_ex() take perspective matrix and local space option as args.
- ED_view3d_project_base() - special function to set the Object 'Base' screen coords (sx, sy), since this is a common enough operation.

8 years agoHave CPack rpm builder install the colorspace folder too
Dan Eicher [Thu, 4 Oct 2012 15:14:15 +0000 (15:14 +0000)]
Have CPack rpm builder install the colorspace folder too

8 years agoKind of cleanup of "menu strings": always have a space between the entry's label...
Bastien Montagne [Thu, 4 Oct 2012 13:59:14 +0000 (13:59 +0000)]
Kind of cleanup of "menu strings": always have a space between the entry's label and value (these strings are a nightmare to handle in RTL languages like arabic or persian, but a bit less of a nightmare this way ;) ).

8 years agoFix for rtl processing of menu strings...
Bastien Montagne [Thu, 4 Oct 2012 13:49:39 +0000 (13:49 +0000)]
Fix for rtl processing of menu strings...

8 years agoColor Management: fallback to stub ocio implementation in cases when
Sergey Sharybin [Thu, 4 Oct 2012 13:39:08 +0000 (13:39 +0000)]
Color Management: fallback to stub ocio implementation in cases when
ocio configuration file failed to load

This solves issues with infinite NULL-checks to prevent crashes in
such situations. Currently only happens if there's no configuration
file at all, but could be tweaked further to fallback if this file
isn't usable by blender.

8 years agostyle cleanup: comment blocks
Campbell Barton [Thu, 4 Oct 2012 13:26:15 +0000 (13:26 +0000)]
style cleanup: comment blocks

8 years agocode cleanup: comment verse outliner views, also correct warning in recent commit.
Campbell Barton [Thu, 4 Oct 2012 11:39:30 +0000 (11:39 +0000)]
code cleanup: comment verse outliner views, also correct warning in recent commit.

8 years agoOSX/cmake: fix warning: go back to initial state, not the right way to get rid of...
Jens Verwiebe [Thu, 4 Oct 2012 11:37:17 +0000 (11:37 +0000)]
OSX/cmake: fix warning: go back to initial state, not the right way to get rid of this

8 years agoOSX/cmake: fix warning: second try
Jens Verwiebe [Thu, 4 Oct 2012 11:26:02 +0000 (11:26 +0000)]
OSX/cmake: fix warning: second try

8 years agoBugfix [#32754] Clear Motion paths button not available on Motion paths panel
Joshua Leung [Thu, 4 Oct 2012 11:05:48 +0000 (11:05 +0000)]
Bugfix [#32754] Clear Motion paths button not available on Motion paths panel

On second thought, perhaps it is more convenient/natural if this was shown in
both places, given that many
people may only find the motion paths options through the UI now.

8 years agoAdded convenience operator to clear animation (i.e. all keyframes = F-Curves)
Joshua Leung [Thu, 4 Oct 2012 10:58:03 +0000 (10:58 +0000)]
Added convenience operator to clear animation (i.e. all keyframes = F-Curves)
from selected objects and bones

8 years agoOSX/cmake: fix warning: -Wuninitialized is not supported without -O, in debug-mode
Jens Verwiebe [Thu, 4 Oct 2012 10:48:17 +0000 (10:48 +0000)]
OSX/cmake: fix warning: -Wuninitialized is not supported without -O, in debug-mode

8 years agofix for using hsv uninitialized in ui_draw_but_HSVCIRCLE()
Campbell Barton [Thu, 4 Oct 2012 09:55:10 +0000 (09:55 +0000)]
fix for using hsv uninitialized in ui_draw_but_HSVCIRCLE()

8 years agocode cleanup: make the behavior of set_current_material_texture() clearer and remove...
Campbell Barton [Thu, 4 Oct 2012 09:43:27 +0000 (09:43 +0000)]
code cleanup: make the behavior of set_current_material_texture() clearer and remove redundant NULL check there. also small changes to ui_draw_but_HSVCIRCLE().

8 years agoavoid a sqrtf call in ui_hsvcircle_vals_from_pos() for values outside the circle.
Campbell Barton [Thu, 4 Oct 2012 09:33:14 +0000 (09:33 +0000)]
avoid a sqrtf call in ui_hsvcircle_vals_from_pos() for values outside the circle.

8 years agouse GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.
Campbell Barton [Thu, 4 Oct 2012 09:20:58 +0000 (09:20 +0000)]
use GCC's -Wpadded on DNA files, gives more useful warnings then makesdna.

8 years agocode cleanup: remove USE_BMESH_FORWARD_COMPAT - this was added to load bmesh in pre...
Campbell Barton [Thu, 4 Oct 2012 09:12:08 +0000 (09:12 +0000)]
code cleanup: remove USE_BMESH_FORWARD_COMPAT - this was added to load bmesh in pre-bmesh blender version, remove MODSTACK_DEBUG, was never used.

8 years ago* Trunk is open again, BCon 1.
Thomas Dinges [Thu, 4 Oct 2012 08:56:37 +0000 (08:56 +0000)]
* Trunk is open again, BCon 1.

8 years agocolormanage_colorspace_get_named() can (and does) return NULL, added checks to preven...
Dan Eicher [Wed, 3 Oct 2012 21:52:36 +0000 (21:52 +0000)]
colormanage_colorspace_get_named() can (and does) return NULL, added checks to prevent null pointer dereference if the named color profile isn't found

8 years agoArtifacts on splash are resolved.
Sergey Sharybin [Wed, 3 Oct 2012 14:16:07 +0000 (14:16 +0000)]
Artifacts on splash are resolved.

8 years agoCorrection to commit rev48866 -- convert_tface_mt must happen before BKE_mesh_do_vers...
Sergey Sharybin [Wed, 3 Oct 2012 12:07:29 +0000 (12:07 +0000)]
Correction to commit rev48866 -- convert_tface_mt must happen before BKE_mesh_do_versions_convert_mfaces_to_mpolys

Discovered when were looking into crystal_cube.blend from our regression files
collection. Now it should look the same as in 2.62 release. 2.63 release wouldn't
work correct for this file because of wrong mtface->material conversion after
bmesh merge.

8 years ago* Fix for the elsyiun.xml theme, Reports in Info Header were not readable (grey on...
Thomas Dinges [Wed, 3 Oct 2012 09:37:36 +0000 (09:37 +0000)]
* Fix for the elsyiun.xml theme, Reports in Info Header were not readable (grey on grey). Patch by "ejnersan" in IRC.

8 years agoFix #32742: Motion path calculation on linked armatures locks up Blender
Sergey Sharybin [Wed, 3 Oct 2012 08:51:05 +0000 (08:51 +0000)]
Fix #32742: Motion path calculation on linked armatures locks up Blender

Issue was happening when linking armature object and making proxy and was
caused by not copying visualization settings in BKE_pose_copy_data.

This lead to deadlocks in motion path drawing code.

After discussion with Campbell decided it is crucial fix since it fixes
bug appearing in really common scenario of using armatures.

8 years agofix [#32743] Freed memory access when freeing materials.
Campbell Barton [Wed, 3 Oct 2012 07:35:29 +0000 (07:35 +0000)]
fix [#32743] Freed memory access when freeing materials.

8 years agofix [#32739] Glare node does "add" instead of "lighten"
Campbell Barton [Wed, 3 Oct 2012 07:33:04 +0000 (07:33 +0000)]
fix [#32739] Glare node does "add" instead of "lighten"

8 years agofix for cmake constructing an invalid include path.
Campbell Barton [Wed, 3 Oct 2012 05:49:22 +0000 (05:49 +0000)]
fix for cmake constructing an invalid include path.

8 years agoEntering Bcon5 stage!
Sergey Sharybin [Tue, 2 Oct 2012 16:39:37 +0000 (16:39 +0000)]
Entering Bcon5 stage!

- Bump version to 2.64
- No version char for this cycle
- This is finally release stage!

Splash would be commited in some hours from now.

Thanks everyone!

8 years agoAdded example of KX_GameObject subclassing to game engine docs.
Alex Fraser [Tue, 2 Oct 2012 14:15:02 +0000 (14:15 +0000)]
Added example of KX_GameObject subclassing to game engine docs.

8 years agofreeing node trees no longer decreases their user counts, this cause causing invalid...
Campbell Barton [Tue, 2 Oct 2012 13:59:05 +0000 (13:59 +0000)]
freeing node trees no longer decreases their user counts, this cause causing invalid memory access when freeing the blend file.

8 years agorevert fix for [#31555] Username with special chars in Windows 7
Campbell Barton [Tue, 2 Oct 2012 13:24:28 +0000 (13:24 +0000)]
revert fix for [#31555] Username with special chars in Windows 7

this breaks and causes bug: [#32720], where sys.stdout becomes invalid and print() does nothing.

On investigation - python is not getting the environment variable from blender (aparently because its a DLL?) so this should be resolved rather then overwriting sys.stdout.

8 years agocorrect spelling error in operator property
Campbell Barton [Tue, 2 Oct 2012 13:13:26 +0000 (13:13 +0000)]
correct spelling error in operator property

8 years ago * fix for regression test [compo_map_uv.blend]
Jeroen Bakker [Tue, 2 Oct 2012 11:37:15 +0000 (11:37 +0000)]
 * fix for regression test [compo_map_uv.blend]

the wrapping was resized to fit the uv map. this step was wrong and has
been deleted.

8 years ago * fix for regression file [compo_map_zcombine_cubes.blend]
Jeroen Bakker [Tue, 2 Oct 2012 10:03:16 +0000 (10:03 +0000)]
 * fix for regression file [compo_map_zcombine_cubes.blend]

the alpha mix formula was wrong. updated it.

Be aware that the regression file does not take the alpha into account,
but it should. or at least one z combine should and the other not.

this fails in 2.63a.
 - At Mind -

8 years agoUI:
Thomas Dinges [Tue, 2 Oct 2012 06:24:02 +0000 (06:24 +0000)]
* Fix RNA name for "turbulence_strength" property.