10 years agomisc doc edits
Campbell Barton [Sat, 5 Nov 2011 01:48:10 +0000 (01:48 +0000)]
misc doc edits
- remove recently added sphinx reference workaround.
- tested doxygen, correct some warnings, set tab width and added pymathutils group.
- added convenience target 'make doc_doxy'

10 years agoFix #29138: changing game engine physics type from soft body to occluder, navmesh
Brecht Van Lommel [Sat, 5 Nov 2011 00:59:50 +0000 (00:59 +0000)]
Fix #29138: changing game engine physics type from soft body to occluder, navmesh
or no collision did not clear flag properly, causing soft body to still be
partially applied.

10 years agoFix #29141: fill / beautify fill produced incorrect results in edge selection mode.
Brecht Van Lommel [Sat, 5 Nov 2011 00:52:01 +0000 (00:52 +0000)]
Fix #29141: fill / beautify fill produced incorrect results in edge selection mode.

10 years agoForgot to initialize sensor height when creating new camera.
Sergey Sharybin [Fri, 4 Nov 2011 22:13:30 +0000 (22:13 +0000)]
Forgot to initialize sensor height when creating new camera.

10 years agoUI: fix region embossing being drawn 1 pixel misaligned, due to wrong opengl state.
Brecht Van Lommel [Fri, 4 Nov 2011 21:29:28 +0000 (21:29 +0000)]
UI: fix region embossing being drawn 1 pixel misaligned, due to wrong opengl state.

10 years agoCamera UI: tweaking panels, move clipping back because it's not part of the
Brecht Van Lommel [Fri, 4 Nov 2011 18:10:50 +0000 (18:10 +0000)]
Camera UI: tweaking panels, move clipping back because it's not part of the
preset, and move depth of field settings to a separate panel.

10 years agoFix #28865: Draw_bounds_type does not display Polyhedron or Capsule types
Sergey Sharybin [Fri, 4 Nov 2011 15:53:34 +0000 (15:53 +0000)]
Fix #28865: Draw_bounds_type does not display Polyhedron or Capsule types

Separate DNA properties for bounding box used for bounding box display
in 3d viewport and bounding box used for collision detection in game engine.

Bumped subversion for proper updating old files to new system, but it
need more complex testing.

10 years agoFix #29024: Logic Bricks allow same name for multiple bricks
Sergey Sharybin [Fri, 4 Nov 2011 15:53:20 +0000 (15:53 +0000)]
Fix #29024: Logic Bricks allow same name for multiple bricks

Check for unique name when setting name for logic bricks.

10 years agoFix #29155: Inconsistency with 0 and Del hotkeys
Sergey Sharybin [Fri, 4 Nov 2011 15:53:12 +0000 (15:53 +0000)]
Fix #29155: Inconsistency with 0 and Del hotkeys

Use del key to reset values in widgets like color selection and histogram.

10 years agocorrect some warnings, also sensor_x was being paassed to object_camera_matrix(....
Campbell Barton [Fri, 4 Nov 2011 15:21:34 +0000 (15:21 +0000)]
correct some warnings, also sensor_x was being paassed to object_camera_matrix(...) for x and y args, looks like an accident

10 years agoConfigurable sensor size:
Sergey Sharybin [Fri, 4 Nov 2011 14:36:06 +0000 (14:36 +0000)]
Configurable sensor size:

- Added support of variable size sensor width and height.
- Added presets for most common cameras, also new presets can be defined by user.
- Added option to control which dimension (vertical or horizontal) of sensor
  size defines FOV. Old behavior of automatic FOV calculation is also kept.
- Renderer, viewport, game engine and collada importer/exporter should
  deal fine with this changes. Other exporters would be updated soon.

10 years agoFix #29139: Comp Group nodes don't retain name
Sergey Sharybin [Fri, 4 Nov 2011 13:31:15 +0000 (13:31 +0000)]
Fix #29139: Comp Group nodes don't retain name

Added tree node id browser to Active Node panel so name of nodetree editing in
group node can be easily changed now.

10 years agoDepsgraph: add "Dependency Relations" operator to print the dependency graph to
Brecht Van Lommel [Fri, 4 Nov 2011 13:17:35 +0000 (13:17 +0000)]
Depsgraph: add "Dependency Relations" operator to print the dependency graph to
the console, useful for debugging and understanding the relations.

10 years agoFix #29146: object used for particle instancing did not update when affected
Brecht Van Lommel [Fri, 4 Nov 2011 12:53:46 +0000 (12:53 +0000)]
Fix #29146: object used for particle instancing did not update when affected
by an object on a hidden layer. Dependency was set in the wrong direction.

10 years agoChanges to node sockets default values to deal better with artists workflow
Sergey Sharybin [Fri, 4 Nov 2011 12:50:29 +0000 (12:50 +0000)]
Changes to node sockets default values to deal better with artists workflow
(in most cases it needed to do extra tweaks to values which was annoying).

Patch by Sebastian K├Ânig.

10 years agoFix #29051: Set Origin - Center: Bounds does not work
Sergey Sharybin [Fri, 4 Nov 2011 11:37:13 +0000 (11:37 +0000)]
Fix #29051: Set Origin - Center: Bounds does not work

Operator sued to check incorrect property to check initialization.

Patch by Kalle-Samuli Riihikoski, thanks!

10 years agoDo not run versioning code for new files. All stuff from current verisoning
Sergey Sharybin [Fri, 4 Nov 2011 09:29:58 +0000 (09:29 +0000)]
Do not run versioning code for new files. All stuff from current verisoning
block was written before 2.60 release, so it should be safe to move it into
if'ed block checking version number.

This patch should also fix bug #29147 which was caused by old->new particle
rotation mode switch.

10 years agocleanup some BLF macros and dont over-alloc BGE's PyObjectPlus when setting strings...
Campbell Barton [Fri, 4 Nov 2011 09:14:49 +0000 (09:14 +0000)]
cleanup some BLF macros and dont over-alloc BGE's PyObjectPlus when setting strings (better change then the one I made recently).

10 years agoComments and other text editing:
Joshua Leung [Fri, 4 Nov 2011 08:08:47 +0000 (08:08 +0000)]
Comments and other text editing:
* Renamed one of the two "File is Saved" entries, as having two
entries with the same name in the Datablocks viewer was confusing
* Edited the tooltip text for "speed" option for dupliframes to
clarify what it does (or what it's supposed to do)

10 years agoBugfix [#28515] Dupliframes start/end animation broken since 2.56A
Joshua Leung [Fri, 4 Nov 2011 08:06:46 +0000 (08:06 +0000)]
Bugfix [#28515] Dupliframes start/end animation broken since 2.56A

Due to changes with the way that dupliframes were being evaluated (one
of those being that the animation for the object being animated would
get reevaluated for every frame sample for dupliframes) to get them
working properly again sometime during the 2.5 series, the dupliframe-
sampling loop would be prematurely terminated on the first frame in
this example.

That is because after the first step of the loop, the ob->dupend
property would have changed its value as it was being animated,
leading to the loop terminating, and only the a single dupli getting

10 years ago- added docs and examples for
Campbell Barton [Fri, 4 Nov 2011 04:27:46 +0000 (04:27 +0000)]
- added docs and examples for
- correct error in own last commit for BKE_screen_find_big_area()

10 years agoEnabled ndof devices for controlling colour wheel and cube UI controls
Matt Ebb [Fri, 4 Nov 2011 02:31:00 +0000 (02:31 +0000)]
Enabled ndof devices for controlling colour wheel and cube UI controls
(eg. colour pickers). Tilting the ndof device up and down and rolling it left and
right will move the 'colour cursor' in screen x and y, and twisting the ndof device
will rotate the cursor around the colour wheel (hue). Now you can turn off the
lights and pretend you have a fancy DI deck!

10 years agoutility function to find the biggest area: BKE_screen_find_big_area(...), was being...
Campbell Barton [Fri, 4 Nov 2011 01:15:04 +0000 (01:15 +0000)]
utility function to find the biggest area: BKE_screen_find_big_area(...), was being done with static functions that were copied about.

10 years agocompile without python works again
Campbell Barton [Thu, 3 Nov 2011 23:20:54 +0000 (23:20 +0000)]
compile without python works again

10 years agoFix #28998: sequence rendering with wrong progress bar
Sergey Sharybin [Thu, 3 Nov 2011 17:06:12 +0000 (17:06 +0000)]
Fix #28998: sequence rendering with wrong progress bar

Show overall progress when doing sequence rendering. Nice for cases when
you're using sequencer to combine video strips only, without rendering
scenes and so. If scene strips are used in sequencer, per-frame rendering
would be used (because of scene rendering sets per-frame progress).

10 years agoDepsgraph: more tweaking for update acces from python API
Brecht Van Lommel [Thu, 3 Nov 2011 16:41:48 +0000 (16:41 +0000)]
Depsgraph: more tweaking for update acces from python API

* Move scene_update_pre callback before depsgraph flusing so it works better
  when you do modifications on objects then.
* Fix missing update after making modifications in frame_change_pre, recalc
  flags were not being flushed.

10 years agoFix #29005: Bezier/Surface Datablock switching bug?
Sergey Sharybin [Thu, 3 Nov 2011 16:16:19 +0000 (16:16 +0000)]
Fix #29005: Bezier/Surface Datablock switching bug?

This commit updates curve datablock to respect curve dimension flag
when setting datablock for curve.

Not ideal but this makes behavior quite expected, avoids big changes in
curves core stuff which depends on object type and prevents restrictions
on changing data datablock which works in general cases.

10 years agopython string conversion
Campbell Barton [Thu, 3 Nov 2011 14:09:18 +0000 (14:09 +0000)]
python string conversion
- use _PyUnicode_AsStringAndSize where possible
- use %R for PyErr_Format(...) rather then running repr on the object explicitly
- use const char

10 years agouse Py_TYPE macro (no functional changes)
Campbell Barton [Thu, 3 Nov 2011 13:10:37 +0000 (13:10 +0000)]
use Py_TYPE macro (no functional changes)

10 years agopatch [#27917] MARKER MENUS: Unification and adding "Duplicate Marker to Scene..."
Campbell Barton [Thu, 3 Nov 2011 12:47:39 +0000 (12:47 +0000)]
patch [#27917] MARKER MENUS: Unification and adding "Duplicate Marker to Scene..."
from Troy Sobotka (sobotka), with edits

- remove Markers from Ctrl+L menu (was out of place here and was broken from recent changes to marker operators)
- further de-duplicte scripts by having all menus call the same function: marker_menu_generic().

this fixes bug [#29083] too.

10 years agoFix #28935: Material display error VBO + Texture Solid + Modifier
Sergey Sharybin [Thu, 3 Nov 2011 12:43:45 +0000 (12:43 +0000)]
Fix #28935: Material display error VBO + Texture Solid + Modifier

10 years agoScons:
Thomas Dinges [Thu, 3 Nov 2011 12:40:15 +0000 (12:40 +0000)]
* Basic support for OpenImageIO and Boost libraries
* Path to libraries added for win32/, still commented out.

10 years agoFix #29122: Curve Radius keyable from Outliner Datablock view but not Transform Radiu...
Sergey Sharybin [Thu, 3 Nov 2011 12:28:32 +0000 (12:28 +0000)]
Fix #29122: Curve Radius keyable from Outliner Datablock view but not Transform Radius field in 3D Viewport

If there's only one control point selected, show radius property for this point, not for medium value.

10 years agoScons:
Thomas Dinges [Thu, 3 Nov 2011 12:24:29 +0000 (12:24 +0000)]
* Minor cleanup

10 years agohopefully fix msvc build error
Campbell Barton [Thu, 3 Nov 2011 12:01:18 +0000 (12:01 +0000)]
hopefully fix msvc build error

10 years agoBugfix [#29113] "Follow path" constraint subframes calculated
Joshua Leung [Thu, 3 Nov 2011 11:20:22 +0000 (11:20 +0000)]
Bugfix [#29113] "Follow path" constraint subframes calculated

"Follow Path" constraint was applying subframe offsets to the curve-
path evaltime value for non-fixed case. However, it turns out that
when doing old-style mblur, this results in the offset getting applied
twice, resulting in incorrect values (i.e. by the time the constraint
gets ctime, this already has had subframe offset applied, and so too
has curve evaltime).

10 years agoDepsgraph/Python: ensure datablocks with animation data get tagged as being
Brecht Van Lommel [Thu, 3 Nov 2011 10:03:08 +0000 (10:03 +0000)]
Depsgraph/Python: ensure datablocks with animation data get tagged as being
updated on frame change.

10 years agocorrect error in stub
Campbell Barton [Thu, 3 Nov 2011 09:20:54 +0000 (09:20 +0000)]
correct error in stub

10 years agomodify previous api feature to tag functions as permanent, use nicer decorator style...
Campbell Barton [Thu, 3 Nov 2011 09:13:47 +0000 (09:13 +0000)]
modify previous api feature to tag functions as permanent, use nicer decorator style, eg:

# --------

import bpy
from import persistent

def my_func(scene):

10 years agoability to have permanent callbacks that stay active when new blend files are loaded.
Campbell Barton [Thu, 3 Nov 2011 06:53:52 +0000 (06:53 +0000)]
ability to have permanent callbacks that stay active when new blend files are loaded.

this works by tagging functions, eg:

  def my_func(scene):
      pass, True)  # <-- important bit

10 years agofix for warning on osx
Campbell Barton [Thu, 3 Nov 2011 04:58:11 +0000 (04:58 +0000)]
fix for warning on osx

10 years agofix regression [#29076] 16bit Tiff save broken in Blender 2.60
Campbell Barton [Thu, 3 Nov 2011 03:51:48 +0000 (03:51 +0000)]
fix regression [#29076] 16bit Tiff save broken in Blender 2.60

10 years agocorrect spelling mistakes
Campbell Barton [Thu, 3 Nov 2011 03:00:45 +0000 (03:00 +0000)]
correct spelling mistakes

10 years agopatch [#28947] Patches for #28943 (Support for XDG Base Directory Specification)
Campbell Barton [Wed, 2 Nov 2011 22:00:22 +0000 (22:00 +0000)]
patch [#28947] Patches for #28943 (Support for XDG Base Directory Specification)
from Cosme

10 years agocmake could ignore defines for python lib/include passed from the command line if...
Campbell Barton [Wed, 2 Nov 2011 21:35:00 +0000 (21:35 +0000)]
cmake could ignore defines for python lib/include passed from the command line if both weren't defined.

10 years agoDepsgraph/Python: callbacks and properties to detect datablock changes
Brecht Van Lommel [Wed, 2 Nov 2011 20:56:52 +0000 (20:56 +0000)]
Depsgraph/Python: callbacks and properties to detect datablock changes

* Adds two new python handlers: scene_update_pre() and scene_update_post()
  These run before and after Blender does a scene update on making modifications
  to the scene.
* Datablocks now have an is_updated property. This will be set to true in the
  above callbacks if the datablock was tagged to be updated. This works for the
  most common datablocks used for rendering: object, material, world, lamsp,
  texture, mesh, curve.
* Datablock collections also have an is_updated property. If this is set, it
  means one datablock of this type was added, removed or modified. It's also
  useful as a quick check to avoid looping over all datablocks.
* RenderEngine.view_update() can also check these properties, for interactive
  viewport rendering.

10 years agoRenderEngine/Nodes: system to check for shading nodes compatibility
Brecht Van Lommel [Wed, 2 Nov 2011 19:24:30 +0000 (19:24 +0000)]
RenderEngine/Nodes: system to check for shading nodes compatibility

* Scene.use_shading_nodes property to check if RenderEngine is using new shading
  nodes system, and RenderEngine.bl_use_shading_nodes to set this.
* Add mechanism for tagging nodes as being compatible with the old/new system.

10 years agoNodes: add support for shader nodes on world and lamps, in addition to materials.
Brecht Van Lommel [Wed, 2 Nov 2011 18:55:32 +0000 (18:55 +0000)]
Nodes: add support for shader nodes on world and lamps, in addition to materials.
The internal render engine does not support them, and they are not accesible in
the UI yet, but cycles will use them.

10 years agoRenderEngine api: support for viewport rendering, details here:
Brecht Van Lommel [Wed, 2 Nov 2011 18:20:53 +0000 (18:20 +0000)]
RenderEngine api: support for viewport rendering, details here:

* This adds a Rendered draw type in the 3D view, only available when
  the render engine implements the view_draw callback.
* 3D view now stores a pointer to a RenderEngine.

* view_draw() callback will do OpenGL drawing instead of the viewport.
* view_update() callback is called after depsgraph updates.

10 years agoProjection Paint UI:
Thomas Dinges [Wed, 2 Nov 2011 16:19:57 +0000 (16:19 +0000)]
Projection Paint UI:
* Code cleanup, much better to understand what is going on there now.
* Stencil menu was mis aligned, fixed it for UI beauty. :)

10 years agoSculpt cleanup
Nicholas Bishop [Wed, 2 Nov 2011 16:02:01 +0000 (16:02 +0000)]
Sculpt cleanup

Replace a use of bglMats in sculpt with ED_view3d_* functions().

10 years agoToolbar UI code:
Thomas Dinges [Wed, 2 Nov 2011 15:58:56 +0000 (15:58 +0000)]
Toolbar UI code:
* More cleanup.

10 years agoSmall sculpt cleanup
Nicholas Bishop [Wed, 2 Nov 2011 15:35:16 +0000 (15:35 +0000)]
Small sculpt cleanup

Since frontface() is always called with tex_strength(), moved the call
to frontface() into tex_strength (required a few new normal

10 years agoWorld Mist
Thomas Dinges [Wed, 2 Nov 2011 14:36:21 +0000 (14:36 +0000)]
World Mist
* Removed some more unused stuff and marked as deprecated.

10 years agoRenderEngine: steps towards implementation of this proposal:
Brecht Van Lommel [Wed, 2 Nov 2011 14:33:14 +0000 (14:33 +0000)]
RenderEngine: steps towards implementation of this proposal:

* RenderEngine is now a persistent python object that exists and retains
  properties as long as a frame is being rendered. This is mostly useful now
  that more than one callback will be added.
* Added update() callback that should ideally be used to export the scene,
  leaving only the rendering to the render() callback. This is not required to
  be used at this point, but separating this will make things more thread safe
  later on.
* Added tag_redraw() and tag_update() functions that will be used for viewport
* Internal change: status text is now retained after update_status calls.

10 years agoWorld Stars:
Thomas Dinges [Wed, 2 Nov 2011 14:28:16 +0000 (14:28 +0000)]
World Stars:
* Remove remaining star color code, was unused. Marked as deprecated in DNA.

10 years agoRenderEngine: add .is_animation and .is_preview properties to detect if it's
Brecht Van Lommel [Wed, 2 Nov 2011 13:36:28 +0000 (13:36 +0000)]
RenderEngine: add .is_animation and .is_preview properties to detect if it's
an animation or preview render that is being done.

10 years agoRelated to #29092: make the working of the Mist Intensity option more clear in
Brecht Van Lommel [Wed, 2 Nov 2011 12:18:51 +0000 (12:18 +0000)]
Related to #29092: make the working of the Mist Intensity option more clear in
the user interface.

10 years agonew math function: Quaternion.to_axis_angle().
Campbell Barton [Wed, 2 Nov 2011 09:13:04 +0000 (09:13 +0000)]
new math function: Quaternion.to_axis_angle().
add in safety checks for inf/nan values which could happen in some cases.

10 years agominor cleanup for weightpaint fill
Campbell Barton [Wed, 2 Nov 2011 00:51:21 +0000 (00:51 +0000)]
minor cleanup for weightpaint fill
- SCE_SELECT_FACE and SCE_SELECT_VERTEX are mutually exclusive, use a macro to get a single value from them.
- was allocating an array for no reason.

10 years agoFunction convertViewVec() contained some piece of code duplicated four
Nicholas Bishop [Wed, 2 Nov 2011 00:17:37 +0000 (00:17 +0000)]
Function convertViewVec() contained some piece of code duplicated four
times, pulled out into separate function and cleaned up a bit. Should
be no functional changes.

10 years agofix [#29120] project painting error
Campbell Barton [Tue, 1 Nov 2011 23:01:57 +0000 (23:01 +0000)]
fix [#29120] project painting error

10 years agoquiet some warnings.
Campbell Barton [Tue, 1 Nov 2011 22:51:10 +0000 (22:51 +0000)]
quiet some warnings.

10 years agoBugfix for [#29055] node editor / texture node / scale node
Thomas Dinges [Tue, 1 Nov 2011 22:21:21 +0000 (22:21 +0000)]
Bugfix for [#29055] node editor / texture node / scale node
* Node Vector sockets, don't have a PROP_FACTOR any longer.

10 years agoSpace types:
Thomas Dinges [Tue, 1 Nov 2011 20:14:58 +0000 (20:14 +0000)]
Space types:
* Some cleanup, removed references to already deleted *_header.c files.
* Marked SpaceScript as deprecated and removed header. Will keep space for now though, as some script operators are there and Campbell might want to re-use the space later.

10 years ago== Removal of SpaceSound ==
Thomas Dinges [Tue, 1 Nov 2011 19:48:45 +0000 (19:48 +0000)]
== Removal of SpaceSound ==
* Removed old, unused Space Sound space
* Removed data struct and Theme settings
* Old files with an open Audio window will be loaded as Info Space

10 years ago== Cleanup of SpaceImasel ==
Andrea Weikert [Tue, 1 Nov 2011 18:27:09 +0000 (18:27 +0000)]
== Cleanup of SpaceImasel ==
* removed struct for SpaceType and all usages
* SPACE_IMASEL in enum nees to be kept to identify it in old files
* it is replaces with SPACE_EMPTY on load, which is overridden by SPACE_INFO which has same struct members
* also removed theme settings

10 years agoFix #29124: Modifying mesh with mirror and solidify modifiers crashes blender
Sergey Sharybin [Tue, 1 Nov 2011 17:43:30 +0000 (17:43 +0000)]
Fix #29124: Modifying mesh with mirror and solidify modifiers crashes blender

It is corrected fix for #29089 (svn rev 41409). That fix wasn't correct because
it used to set face number from derived mesh on which solidify is applying which
isn't correct for case of constructive modifiers applied on base mesh before
solidify modifier.

Actually nothing special should be performed here to set needed original index
because of ORIGINDEX layer is getting copyed automatically when when copying faces.

10 years agoReverting r41409 (broken fix for #29089)
Andrew Wiggin [Tue, 1 Nov 2011 17:06:10 +0000 (17:06 +0000)]
Reverting r41409 (broken fix for #29089)

r41409 can cause a crash if you delete a face of a mesh that has subsurf & solidify modifiers active

10 years agoFix #29109: bpy.ops.render.render() with scene parameter missed compositing,
Brecht Van Lommel [Tue, 1 Nov 2011 14:51:44 +0000 (14:51 +0000)]
Fix #29109: bpy.ops.render.render() with scene parameter missed compositing,
previous bugfix needed a bit more refining.

10 years agoFix #29101: 2D Tilt on Bezier Curve Bug?
Brecht Van Lommel [Tue, 1 Nov 2011 11:00:08 +0000 (11:00 +0000)]
Fix #29101: 2D Tilt on Bezier Curve Bug?

Changing tilt for 2D curves doesn't really hurt, just makes things not so
clear tosee what's going on because you're changing value which isn't used
at all for 2D curves. Disallwo to run TRANSFORM_OT_tilt operator for 2D curves.

Also made a correct fix for incorrect shortcut for tilt in 3D viewport toolbar,
it was really confusing to have almost the same operators (TRANSFORM_OT_tilt and
TRANSFORM_OT_transform with mode=tilt) in keymap. Better to use tilt operator
in toolbar.

10 years agocorrect header, for some reason gcc doesnt warn about this
Campbell Barton [Tue, 1 Nov 2011 09:47:19 +0000 (09:47 +0000)]
correct header, for some reason gcc doesnt warn about this

10 years agovertex group mirror
Campbell Barton [Tue, 1 Nov 2011 08:11:55 +0000 (08:11 +0000)]
vertex group mirror
- now works in vertex select + weight paint mode.
- added option not to mirror all vertex groups.

10 years agomacro to check if an object type supports vgroups
Campbell Barton [Tue, 1 Nov 2011 06:45:36 +0000 (06:45 +0000)]
macro to check if an object type supports vgroups

10 years agoadded path traversal flag - BPATH_TRAVERSE_SKIP_MULTIFILE,
Campbell Barton [Tue, 1 Nov 2011 06:26:55 +0000 (06:26 +0000)]
added path traversal flag - BPATH_TRAVERSE_SKIP_MULTIFILE,
so path manipulation functions dont run multiple times on the same path in the case of sequence strips where the one directory is used as the base for many images.

10 years agouse math functions for mesh subdivide smooth (easier to follow for bmesh, no function...
Campbell Barton [Tue, 1 Nov 2011 04:19:21 +0000 (04:19 +0000)]
use math functions for mesh subdivide smooth (easier to follow for bmesh, no functional changes).

10 years agoname qtcreator projects based on branch names (if svn is found and its a branch)...
Campbell Barton [Tue, 1 Nov 2011 02:24:40 +0000 (02:24 +0000)]
name qtcreator projects based on branch names (if svn is found and its a branch), was too confusing with multiple IDE's open calling all projects 'Blender'.

10 years agohopefully fix problem with cmake on osx (older gcc version)
Campbell Barton [Tue, 1 Nov 2011 00:34:09 +0000 (00:34 +0000)]
hopefully fix problem with cmake on osx (older gcc version)

10 years agoFix #29084: material/texture nodes crash introduced in 2.60, execdata is being
Brecht Van Lommel [Mon, 31 Oct 2011 17:00:59 +0000 (17:00 +0000)]
Fix #29084: material/texture nodes crash introduced in 2.60, execdata is being
lazely created but this wasn't done in a thread safe way.

10 years agoFix crash in texture nodes, when no derivatives available, other nodes already
Brecht Van Lommel [Mon, 31 Oct 2011 16:44:24 +0000 (16:44 +0000)]
Fix crash in texture nodes, when no derivatives available, other nodes already
did this check.

10 years agoFix: selecting with z-buffer hiding did not work when graphics card settings
Brecht Van Lommel [Mon, 31 Oct 2011 14:08:14 +0000 (14:08 +0000)]
Fix: selecting with z-buffer hiding did not work when graphics card settings
enabled antialiasing, overriding application settings.

The fix for this got lost when the FSAA option was added and later disabled
again. Added it back now, and also disable AA for UI widgets since it makes
them look too blurry, they already do their own AA.

10 years agoOSX: make ZOOM-gesture on trackpads half the speed, added comment for experimental...
Jens Verwiebe [Mon, 31 Oct 2011 12:31:48 +0000 (12:31 +0000)]
OSX: make ZOOM-gesture on trackpads half the speed, added comment for experimental all-time-trackpad assumption

10 years agoCorrection to own commit r41169
Campbell Barton [Mon, 31 Oct 2011 09:52:43 +0000 (09:52 +0000)]
Correction to own commit r41169

10 years agofix [#29089] Faces created for "rims" by solidify modifier have incorrect visibility
Campbell Barton [Mon, 31 Oct 2011 07:17:35 +0000 (07:17 +0000)]
fix [#29089] Faces created for "rims" by solidify modifier have incorrect visibility

10 years agouse_verify option to defvert_sync_mapped and defvert_sync was flipped, also minor...
Campbell Barton [Mon, 31 Oct 2011 06:13:20 +0000 (06:13 +0000)]
use_verify option to defvert_sync_mapped and defvert_sync was flipped, also minor edits to defvert_verify_index() - no functional change.

10 years agofix own error r41191 getting id property string lengths.
Campbell Barton [Mon, 31 Oct 2011 01:50:04 +0000 (01:50 +0000)]
fix own error r41191 getting id property string lengths.

10 years agoSculpt UI:
Thomas Dinges [Mon, 31 Oct 2011 00:35:14 +0000 (00:35 +0000)]
Sculpt UI:
* Code cleanup.

10 years agofix [#29098] File save dialog cannot handle extra periods in file name
Campbell Barton [Mon, 31 Oct 2011 00:23:42 +0000 (00:23 +0000)]
fix [#29098] File save dialog cannot handle extra periods in file name

10 years agoAnother Bconf Feature Request. :)
Thomas Dinges [Mon, 31 Oct 2011 00:03:18 +0000 (00:03 +0000)]
Another Bconf Feature Request. :)
Some UI and code cleanup for the "Symmetry" panel in sculpt mode.
* Made X, Y, Z Buttons toggle buttons, as the other X,Y,Z in the "Options" panel above in sculpt mode, for consistency.

10 years agoBlender Conference Feature Request by Jonathan:
Thomas Dinges [Sun, 30 Oct 2011 23:01:24 +0000 (23:01 +0000)]
Blender Conference Feature Request by Jonathan:
* Made "V3D_BGPIC_EXPANDED" true per default, so when you add a new background image, you don't have to expand the UI to select the image.

10 years agoWIN32, fix a crash when blender is executed in background mode, patch by kjym3
Jens Verwiebe [Sun, 30 Oct 2011 20:47:03 +0000 (20:47 +0000)]
WIN32, fix a crash when blender is executed in background mode, patch by kjym3

10 years agoChange default values for mix node.
Sergey Sharybin [Sun, 30 Oct 2011 14:53:26 +0000 (14:53 +0000)]
Change default values for mix node.
Discussed with plenty of artists on De Balie and this values makes much more sense.

10 years agomake_uv_vert_map() was looping over the texture face for not reason.
Campbell Barton [Sun, 30 Oct 2011 06:53:25 +0000 (06:53 +0000)]
make_uv_vert_map() was looping over the texture face for not reason.

10 years agocorrect flags for older GCC's which dont suppport -Wno-deprecated-declarations,
Campbell Barton [Sun, 30 Oct 2011 04:48:00 +0000 (04:48 +0000)]
correct flags for older GCC's which dont suppport -Wno-deprecated-declarations,
detect if the flag is supported before use

10 years agoModifier compilation tweaks (Blender conference commit)
Thomas Dinges [Sat, 29 Oct 2011 23:56:07 +0000 (23:56 +0000)]
Modifier compilation tweaks (Blender conference commit)
* Fluid compilation: Inverse the compile flag from DISABLE_ELBEEM to WITH_MOD_FLUID for consistency. (scons/cmake)
* Use WITH_BF_FLUID in your user config (scons)

* Add support for scons to disable build with Decimate and Boolean modifier.

10 years agoFix RelWithDebInfo build.
Andrew Wiggin [Sat, 29 Oct 2011 16:14:38 +0000 (16:14 +0000)]
Fix RelWithDebInfo build.

RelWithDebInfo sets the library path to only include release libraries (e.g. python32.lib) but defining _DEBUG when #include'ing python headers inserts a linker directive to require for python32_d.lib. Additionally, RelWithDebInfo should be different from release build in that it builds debugger symbols (.PDBs), it should not have asserts and other debug code.

10 years agobug from revision 2!, error noticed kjym3 on IRC, buffer overrun on lbarray, was...
Campbell Barton [Sat, 29 Oct 2011 11:15:12 +0000 (11:15 +0000)]
bug from revision 2!, error noticed kjym3 on IRC, buffer overrun on lbarray, was 30 but 39 items beting accessed, surprising this didnt crash earlier.

10 years agoreplace BLI_strtok_r from r41337 with lighter method that doesnt alloc for template_list
Campbell Barton [Sat, 29 Oct 2011 08:18:42 +0000 (08:18 +0000)]
replace BLI_strtok_r from r41337 with lighter method that doesnt alloc for template_list

10 years agoFix: OpenGL renders on graphics cards which do not support non-power-of-two
Brecht Van Lommel [Fri, 28 Oct 2011 16:57:06 +0000 (16:57 +0000)]
Fix: OpenGL renders on graphics cards which do not support non-power-of-two
textures were stretched and the wrong size.

10 years agoUI list template: committing patch [#26629].
Bastien Montagne [Fri, 28 Oct 2011 13:09:43 +0000 (13:09 +0000)]
UI list template: committing patch [#26629].

This adds the ability (esp. for py scripts) to add some controls for each list element. See for details.