blender.git
8 years agosvn merge -r39986:39990 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Thu, 8 Sep 2011 04:45:39 +0000 (04:45 +0000)]
svn merge -r39986:39990 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agobmesh: proper sculpting on non-multires object
Sergey Sharybin [Wed, 7 Sep 2011 12:47:23 +0000 (12:47 +0000)]
bmesh: proper sculpting on non-multires object

Problem was caused by unneeded call of CDDM_calc_normals when
creating derived mesh for object which duplicated mvert array.

It shouldn't happen unless object has got shapekeys or deformation
modifiers on the top of stack.

8 years agobmesh: corrected fix for svulpting on non-multires mesh
Sergey Sharybin [Wed, 7 Sep 2011 12:16:20 +0000 (12:16 +0000)]
bmesh: corrected fix for svulpting on non-multires mesh

Previous fix wasn't correct. It made things working, but it removed
advantage of using PBVH for speed because derivedMesh used to be
recreated on each stroke step.

This commit fixes non-multires sculpting for Solid shading,
wireframe and render wouldn't work correct -- it'll require
a bit more tricky things because DM created for base mesh
doesn't points to mesh->mverts anymore, so sculpting and
drawing modules are using different verts arrays.

8 years agobmesh: small fixes for compilation and subdivide operator
Sergey Sharybin [Wed, 7 Sep 2011 12:06:08 +0000 (12:06 +0000)]
bmesh: small fixes for compilation and subdivide operator

8 years agoPatch 28537 from Andrew Wiggin, fixes second issue in 28492 (edge ring deselect not...
Howard Trickey [Wed, 7 Sep 2011 08:34:15 +0000 (08:34 +0000)]
Patch 28537 from Andrew Wiggin, fixes second issue in 28492 (edge ring deselect not working

8 years agocode cleanup - commant/remove unused vars and reduce scope.
Campbell Barton [Wed, 7 Sep 2011 06:49:20 +0000 (06:49 +0000)]
code cleanup - commant/remove unused vars and reduce scope.

8 years agoFix for value node limits.
Lukas Toenne [Wed, 7 Sep 2011 06:17:28 +0000 (06:17 +0000)]
Fix for value node limits.

The value input nodes (like rgb input nodes) use the output value out their first socket for the button value. This needs explicitly set range limits to allow meaningful user input.

8 years agofix for screw modifier - was clearning all faces, CDDM_calc_normals was overwriting...
Campbell Barton [Wed, 7 Sep 2011 02:00:44 +0000 (02:00 +0000)]
fix  for screw modifier - was clearning all faces, CDDM_calc_normals was overwriting the mface array because it re-tesselated polygons.

8 years agosvn merge -r39951:39986 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Wed, 7 Sep 2011 00:46:11 +0000 (00:46 +0000)]
svn merge -r39951:39986 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agouse Py_ssize_t rather than int when dealing with list sizes (original patch from...
Campbell Barton [Tue, 6 Sep 2011 23:46:20 +0000 (23:46 +0000)]
use Py_ssize_t rather than int when dealing with list sizes (original patch from Fedora but applied changes elsewhere too), also replace PyList_Size with PyList_GET_SIZE where typechecking is already done.

8 years agoSplit off scene export code.
Nathan Letwory [Tue, 6 Sep 2011 22:18:12 +0000 (22:18 +0000)]
Split off scene export code.

8 years agoBGE fix: ignore sounds that cannot be opened instead of crashing. ;-)
Joerg Mueller [Tue, 6 Sep 2011 21:02:26 +0000 (21:02 +0000)]
BGE fix: ignore sounds that cannot be opened instead of crashing. ;-)

8 years agoFixed potential crash in NodeTagIDChanged. Discovered after merge trunk
Sergey Sharybin [Tue, 6 Sep 2011 18:15:34 +0000 (18:15 +0000)]
Fixed potential crash in NodeTagIDChanged. Discovered after merge trunk
into tomato where there were no check for tree before calling this function.
Old design worked fine with this.

Mark some arguments as UNUSED.

8 years agoNode merge: fix crash loading files with unknown nodes (e.g. cycles files).
Brecht Van Lommel [Tue, 6 Sep 2011 17:34:56 +0000 (17:34 +0000)]
Node merge: fix crash loading files with unknown nodes (e.g. cycles files).

8 years agoEnabled the 'Layout' node category, currently only containing the 'Frame' node. Both...
Lukas Toenne [Tue, 6 Sep 2011 17:28:26 +0000 (17:28 +0000)]
Enabled the 'Layout' node category, currently only containing the 'Frame' node. Both the category and the node could be renamed as needed. The frame node is largely experimental and not totally useful yet, but much asked for, so can't hurt to let people try it out.

8 years agoFix missing warning message when reading files that are not forward compatible,
Brecht Van Lommel [Tue, 6 Sep 2011 17:27:18 +0000 (17:27 +0000)]
Fix missing warning message when reading files that are not forward compatible,
it seems this never worked in 2.5.

8 years agoFix screen/scene browsing in info header not working right, mistake in code cleanup.
Brecht Van Lommel [Tue, 6 Sep 2011 17:18:50 +0000 (17:18 +0000)]
Fix screen/scene browsing in info header not working right, mistake in code cleanup.

8 years agoNode merge: some forward compatibility code to avoid crash loading files with
Brecht Van Lommel [Tue, 6 Sep 2011 16:51:10 +0000 (16:51 +0000)]
Node merge: some forward compatibility code to avoid crash loading files with
node groups in older version, and to keep unconnected/default socket values.

8 years agoFix for node group add menu, groups from old files wouldn't show up there.
Lukas Toenne [Tue, 6 Sep 2011 16:48:28 +0000 (16:48 +0000)]
Fix for node group add menu, groups from old files wouldn't show up there.

Reason was that node trees are now associated to specific node types (NODE_GROUP in particular) by the ntree->nodetype id.

8 years agoFix for multiple parallel group node executions.
Lukas Toenne [Tue, 6 Sep 2011 16:32:51 +0000 (16:32 +0000)]
Fix for multiple parallel group node executions.

This would previously break because begin/end functions for each tree type still have some checks of the ntree->execdata pointer in them, despite the intended use of execdata instances instead of trees themselves for execution data storage. This is an artifact of the old execution system that required these checks to be made in the functions to avoid multiple execution of top-level trees. Now these functions take an additional argument, so group nodes can prevent them from setting and checking the nodetree->execdata pointers.

8 years agoTidying up
Geoffrey Bantle [Tue, 6 Sep 2011 16:20:01 +0000 (16:20 +0000)]
Tidying up
----------------------------------------------
Comments and an unused define removed from last
commit.

8 years agoTurned back on restricted deselect
Geoffrey Bantle [Tue, 6 Sep 2011 16:17:27 +0000 (16:17 +0000)]
Turned back on restricted deselect
----------------------------------------------
Fixed restricted deselect for edge select. Not
sure if face deselect is working properly, will
follow up with any reports on the tracker.

8 years agoAmbient Occlusion:
Thomas Dinges [Tue, 6 Sep 2011 15:44:44 +0000 (15:44 +0000)]
Ambient Occlusion:
* Increase max. samples from 32 to 128.

8 years agoFix #28524: Push/Pull Assert when using Operator Panel to Alter Distance value
Sergey Sharybin [Tue, 6 Sep 2011 14:59:55 +0000 (14:59 +0000)]
Fix #28524: Push/Pull Assert when using Operator Panel to Alter Distance value

Some transform operators (like push/pull, shrink/fatten, to sphere and so)
were creating "value" as single scalar value. This used to confuse
RNA_float_get_array used in initTransform.

Use RNA_float_get_array for array values and RNA_float_get for scalar value
in transform initi function.

8 years agoFix for poly line grease pencil and surface drawing.
Sergey Sharybin [Tue, 6 Sep 2011 14:02:28 +0000 (14:02 +0000)]
Fix for poly line grease pencil and surface drawing.

8 years agoFix BLI_smallhash for 0 and negative keys. Fixes some problems with edge snapping...
Howard Trickey [Tue, 6 Sep 2011 13:48:20 +0000 (13:48 +0000)]
Fix BLI_smallhash for 0 and negative keys.  Fixes some problems with edge snapping in knife tool.

8 years agoremove -Wundef for code we don't maintain & generated code.
Campbell Barton [Tue, 6 Sep 2011 13:00:46 +0000 (13:00 +0000)]
remove -Wundef for code we don't maintain & generated code.

8 years agoFix for wrong offset of the input socket column in group node tree display.
Lukas Toenne [Tue, 6 Sep 2011 11:42:20 +0000 (11:42 +0000)]
Fix for wrong offset of the input socket column in group node tree display.

8 years agoBackward compatibility fix for SOCK_DYNAMICS flag on group sockets.
Lukas Toenne [Tue, 6 Sep 2011 11:38:44 +0000 (11:38 +0000)]
Backward compatibility fix for SOCK_DYNAMICS flag on group sockets.

This is currently only needed for displaying the up/down buttons of group sockets. All regular group sockets should have this flag to indicate they are added by the user. More complex "group-type" trees may use non-dynamic sockets in the future for sockets that are not supposed to be manipulated.

8 years agofix link issues with MinGW - a substitute declaration(correctByteOrder) for itoln...
Antony Riakiotakis [Tue, 6 Sep 2011 11:17:29 +0000 (11:17 +0000)]
fix link issues with MinGW - a substitute declaration(correctByteOrder) for itoln that was not present in MinGW was being used. Duplicated the declaration from <winsock2.h>(tried including but gave some errors) and added the appropriate link library, wsock32, according to MinGW documentation.

8 years agotexture evaluation function (like we had in 2.4x api), requested by Lee.
Campbell Barton [Tue, 6 Sep 2011 10:49:55 +0000 (10:49 +0000)]
texture evaluation function (like we had in 2.4x api), requested by Lee.

eg:
 red, green, blue, intensity = texture.evaluate(vec)

8 years agoNew grease pencil mode: poly line drawing
Sergey Sharybin [Tue, 6 Sep 2011 08:30:17 +0000 (08:30 +0000)]
New grease pencil mode: poly line drawing

- It's like sketch mode for lines, but you're specifying line knots
  by clicking on position you want to add next knot.
- View can be navigated between knots creation.
- Holding LMB down and sliding mouse will lead to new segment preview
  so it can be created more accurate.

Additional change: fixed GP->Bezier conversion. Last point used to
                   be ignored in this operator.

8 years agoFix for #28517, group nodes losing all links from older files.
Lukas Toenne [Tue, 6 Sep 2011 08:28:06 +0000 (08:28 +0000)]
Fix for #28517, group nodes losing all links from older files.

The reason was that group nodes tried to reconstruct sockets from the template lists, which are empty. Now the verification function checks if there are any sockets in the template lists, which are always empty for group nodes.

8 years agoGrease pencil: non-blocking sketch sessions
Sergey Sharybin [Tue, 6 Sep 2011 07:59:18 +0000 (07:59 +0000)]
Grease pencil: non-blocking sketch sessions

- Implement own undo stack for grease pencil, so now there'll be no keymaps conflicts.
- Supported redo's during sketch session.
- Get rid of flag stored in Globals -- use undo stack to check if grease pencil session is active.

8 years agofix for error in strinc.c's BLI_strescape
Campbell Barton [Tue, 6 Sep 2011 07:08:20 +0000 (07:08 +0000)]
fix for error in strinc.c's BLI_strescape

8 years agofix for make vertex parent (reported todo)
Campbell Barton [Tue, 6 Sep 2011 05:04:26 +0000 (05:04 +0000)]
fix for make vertex parent (reported todo)

8 years agofix crashing when setting the vertex parent.
Campbell Barton [Tue, 6 Sep 2011 04:50:01 +0000 (04:50 +0000)]
fix crashing when setting the vertex parent.

8 years agofix for flip normals 'inside' option not working.
Campbell Barton [Tue, 6 Sep 2011 04:06:05 +0000 (04:06 +0000)]
fix for flip normals 'inside' option not working.

8 years agopatch [#28518] BMesh: fix 28491 (implement edge tag shortest path)
Campbell Barton [Tue, 6 Sep 2011 03:32:58 +0000 (03:32 +0000)]
patch [#28518] BMesh: fix 28491 (implement edge tag shortest path)
from Andrew Wiggin (ender79)

8 years agopatch [#28488] BMesh: fix for extrude individual faces
Campbell Barton [Tue, 6 Sep 2011 03:21:55 +0000 (03:21 +0000)]
patch [#28488] BMesh: fix for extrude individual faces
by Andrew Wiggin (ender79)

8 years agosvn merge -r39890:39951 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Tue, 6 Sep 2011 03:16:12 +0000 (03:16 +0000)]
svn merge -r39890:39951 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agosvn merge -r39890:39889 source/blender/editors/object/object_relations.c source...
Campbell Barton [Tue, 6 Sep 2011 01:23:43 +0000 (01:23 +0000)]
svn merge -r39890:39889 source/blender/editors/object/object_relations.c  source/blender/editors/object/object_hook.c

This change has been reverted in trunk so reverse merging the merge.

8 years agomore minor doc fixes
Campbell Barton [Tue, 6 Sep 2011 00:41:28 +0000 (00:41 +0000)]
more minor doc fixes

8 years agofix for doc building after pepper merge, also WIP tips/tricks.
Campbell Barton [Tue, 6 Sep 2011 00:12:34 +0000 (00:12 +0000)]
fix for doc building after pepper merge, also WIP tips/tricks.

8 years agoreplace define '#if FFTW3==1' --> '#ifdef WITH_FFTW3'
Campbell Barton [Mon, 5 Sep 2011 23:46:08 +0000 (23:46 +0000)]
replace define '#if FFTW3==1' --> '#ifdef WITH_FFTW3'

8 years agofix some complier warnings and add -Wundef to CMake's default GCC warnings.
Campbell Barton [Mon, 5 Sep 2011 23:40:52 +0000 (23:40 +0000)]
fix some complier warnings and add -Wundef to CMake's default GCC warnings.

8 years agoTypofix
Nathan Letwory [Mon, 5 Sep 2011 22:15:07 +0000 (22:15 +0000)]
Typofix

8 years agoSVN maintenance.
Guillermo S. Romero [Mon, 5 Sep 2011 22:04:30 +0000 (22:04 +0000)]
SVN maintenance.

8 years agoFix for blender player linker bug, missing a stub function used in RNA.
Lukas Toenne [Mon, 5 Sep 2011 22:04:23 +0000 (22:04 +0000)]
Fix for blender player linker bug, missing a stub function used in RNA.

8 years agoPut dead zone printout behind debug.
Nathan Letwory [Mon, 5 Sep 2011 21:52:06 +0000 (21:52 +0000)]
Put dead zone printout behind debug.

8 years agoMerged the particles-2010 branch with node improvements into trunk.
Lukas Toenne [Mon, 5 Sep 2011 21:01:50 +0000 (21:01 +0000)]
Merged the particles-2010 branch with node improvements into trunk.

This branch adds mostly organizational improvements to the node system by renaming the node folders and files. A couple of internal features have been added too.
Detailed information can be found on the wiki page:

http://wiki.blender.org/index.php/User:Phonybone/Particles2010

8 years agoAdd parser error handler.
Nathan Letwory [Mon, 5 Sep 2011 20:41:58 +0000 (20:41 +0000)]
Add parser error handler.

OpenCOLLADA is a validating parser, so is pretty strict about document form. The added error handler will print out any errors the parser finds. A pop-up will be shown too, advising the user to check the console for the error log.

8 years agoCode cleanup: remove context from RNA update functions, only one left.
Brecht Van Lommel [Mon, 5 Sep 2011 19:34:27 +0000 (19:34 +0000)]
Code cleanup: remove context from RNA update functions, only one left.

8 years agoCode cleanup: warning fixes.
Brecht Van Lommel [Mon, 5 Sep 2011 19:27:21 +0000 (19:27 +0000)]
Code cleanup: warning fixes.

8 years agoFix #28404: certain keyboard shortcuts not shown in menus, e.g. move operators
Brecht Van Lommel [Mon, 5 Sep 2011 17:57:04 +0000 (17:57 +0000)]
Fix #28404: certain keyboard shortcuts not shown in menus, e.g. move operators
in graph editor > channel menu. Problem was these did not inherit operator
execution context correctly.

Fix found by Sergey, also needed to fix logic operators which were not working
when invoked instead of executed.

8 years agoFix #28394: clouds texture error with high noise depth and blender original
Brecht Van Lommel [Mon, 5 Sep 2011 16:25:42 +0000 (16:25 +0000)]
Fix #28394: clouds texture error with high noise depth and blender original
noise, patch from Campbell,

8 years agoFix #28389: UILayout.menu function didn't emboss menu button correct in the
Brecht Van Lommel [Mon, 5 Sep 2011 15:55:53 +0000 (15:55 +0000)]
Fix #28389: UILayout.menu function didn't emboss menu button correct in the
3d view tools region.

8 years agoLeft debug print accidently enabled.
Nathan Letwory [Mon, 5 Sep 2011 15:03:31 +0000 (15:03 +0000)]
Left debug print accidently enabled.

8 years agoFix #28504: lib linking errors were not shown when opening a file from
Brecht Van Lommel [Mon, 5 Sep 2011 13:19:19 +0000 (13:19 +0000)]
Fix #28504: lib linking errors were not shown when opening a file from
the splash screen.

8 years agoPartial revert commit 39878 "Fix #28280: Insert Hook wrong index"
Sergey Sharybin [Mon, 5 Sep 2011 08:20:11 +0000 (08:20 +0000)]
Partial revert commit 39878 "Fix #28280: Insert Hook wrong index"

Such load/make edit structures introduced regression into iterators
via object's geometry (vertices, edges, control points and so) when
adding hooks in the body of this iterator.

Fix for wrong index should be non-destructable for geometry.

This will fix #28506: Unusual behavior in curves.

8 years ago[#28498] BMesh: fix 28481
Campbell Barton [Mon, 5 Sep 2011 06:53:30 +0000 (06:53 +0000)]
[#28498] BMesh: fix 28481
by Andrew Wiggin (ender79)

This fixes a loop bug in bmesh.

8 years agoAdding noise module by default in driver_namespace
Daniel Salazar [Mon, 5 Sep 2011 05:42:49 +0000 (05:42 +0000)]
Adding noise module by default in driver_namespace

http://www.pasteall.org/blend/8677

8 years agoRemove NULL-checks, as they might cause infinite loops while reading a DAE containing...
Nathan Letwory [Sun, 4 Sep 2011 22:14:28 +0000 (22:14 +0000)]
Remove NULL-checks, as they might cause infinite loops while reading a DAE containing unsupported data, i.e. <lines> geometry.

8 years agoPatch 28495 from Andrew Wiggin (ender79) to fix bug 28494 - make edge and ring walker...
Howard Trickey [Sun, 4 Sep 2011 18:36:27 +0000 (18:36 +0000)]
Patch 28495 from Andrew Wiggin (ender79) to fix bug 28494 - make edge and ring walkers more like trunk behavior for rmb select with non-manifold edges.

8 years agoFix #28503: Selecting a Grease Pencil from the Properties panel does not update 3D...
Sergey Sharybin [Sun, 4 Sep 2011 15:53:12 +0000 (15:53 +0000)]
Fix #28503: Selecting a Grease Pencil from the Properties panel does not update 3D View

Added missing notifiers.

8 years agoPatch 28492 from Andrew Wiggin (ender79) to fix loop deselect problem (bug 28492)
Howard Trickey [Sun, 4 Sep 2011 14:59:20 +0000 (14:59 +0000)]
Patch 28492 from Andrew Wiggin (ender79) to fix loop deselect problem (bug 28492)

This disables, at least for now, some code that was marked as 'not 100% reliable' that was breaking trunk behavior.

8 years ago[#27884] Collada import: materials mismatch when 2 instance_geometry reference the...
Nathan Letwory [Sun, 4 Sep 2011 14:31:23 +0000 (14:31 +0000)]
[#27884] Collada import: materials mismatch when 2 instance_geometry reference the same material
Reported by David Roy

Multi-materials used on different meshes would get ignored (resulting in white faces in textured view).

8 years agoFix #28500: Reshape in multires modifier makes blender crash
Sergey Sharybin [Sun, 4 Sep 2011 11:38:53 +0000 (11:38 +0000)]
Fix #28500: Reshape in multires modifier makes blender crash

Multires doesn't store displacement for base mesh and reshaping when
multires subdivision level is set to zero is crappy.

Add report that reshape can't work with base level and cancel reshape operator.

8 years agoFix #28423: Screw-modifier crash in cunjunction with subsurf modifier
Sergey Sharybin [Sun, 4 Sep 2011 11:13:41 +0000 (11:13 +0000)]
Fix #28423: Screw-modifier crash in cunjunction with subsurf modifier

Problems was caused by angle=2*pi and steps=2 in screw modifier.
Such configuration produced duplicated geometry to close object
and it was confusing for subsurf cache.

Restrict steps=2 for screw modifier now, so now 3<=steps<=512.

8 years agoPrevent potential crasher, commonEffects could be empty.
Nathan Letwory [Sun, 4 Sep 2011 02:12:03 +0000 (02:12 +0000)]
Prevent potential crasher, commonEffects could be empty.

8 years agoBGE animations: fixing initialization order issues for BL_ActionActuator and BL_Armat...
Mitchell Stokes [Sun, 4 Sep 2011 01:42:47 +0000 (01:42 +0000)]
BGE animations: fixing initialization order issues for BL_ActionActuator and BL_ArmatureObject. Thanks to z0r for pointing them out and providing a fix.

8 years agoBGE animations: Fixing a potential crash when using camera IPOs. The IPOs were being...
Mitchell Stokes [Sun, 4 Sep 2011 01:27:16 +0000 (01:27 +0000)]
BGE animations: Fixing a potential crash when using camera IPOs. The IPOs were being created off of blendercamera->adt->action when they should have been using the supplied action. Thanks to z0r for pointing out the problem and a potential fix.

8 years agoFix [#28322] COLLADA imports messed up UVs
Nathan Letwory [Sun, 4 Sep 2011 01:13:44 +0000 (01:13 +0000)]
Fix [#28322] COLLADA imports messed up UVs
Reported by Chad Gleason

Imported index order could put mface->v4==0. We already know amount of verts, so use that instead.

8 years agoSome whitespace changes
Nathan Letwory [Sun, 4 Sep 2011 00:15:59 +0000 (00:15 +0000)]
Some whitespace changes

8 years agoBGE animations: Adding a separate list to KX_Scene for animated objects. This makes...
Mitchell Stokes [Sat, 3 Sep 2011 20:48:47 +0000 (20:48 +0000)]
BGE animations: Adding a separate list to KX_Scene for animated objects. This makes scenes with a lot of non-animated objects faster. In my test scene with 8000 static, non-animated cubes my time spent on animations went from 1.5~1.7ms to 0.001ms.

8 years agoBGE animations: Fixing a crash that would happen if the property for a property mode...
Mitchell Stokes [Sat, 3 Sep 2011 19:33:07 +0000 (19:33 +0000)]
BGE animations: Fixing a crash that would happen if the property for a property mode action actuator was invalid.

8 years agowarning fixes
Campbell Barton [Sat, 3 Sep 2011 15:36:36 +0000 (15:36 +0000)]
warning fixes

8 years agoFixes for smooth shading of primitves.
Howard Trickey [Sat, 3 Sep 2011 13:08:38 +0000 (13:08 +0000)]
Fixes for smooth shading of primitves.

Reverses order of vertices that weld op gives to make ngon so that it doesn't
reverse the normal from what it used to be.
Fixed a bunch of inconsistent normals in primitives: circle (made normal(s)
point up instead of down), uvsphere, icosphere, cylinder, and cone.
Reviewed at http://codereview.appspot.com/4959056/.
Cone and Cylinder still don't shade properly with ngon end caps, but that is now a different issue from normals.

8 years agosvn merge -r39878:39890 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Sat, 3 Sep 2011 12:57:33 +0000 (12:57 +0000)]
svn merge -r39878:39890 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agosvn merge -r39877:39878 https://svn.blender.org/svnroot/bf-blender/trunk/blender...
Campbell Barton [Sat, 3 Sep 2011 12:39:17 +0000 (12:39 +0000)]
svn merge -r39877:39878 https://svn.blender.org/svnroot/bf-blender/trunk/blender, merged manually

8 years agominor edits to build on openbsd
Campbell Barton [Sat, 3 Sep 2011 09:43:20 +0000 (09:43 +0000)]
minor edits to build on openbsd

8 years ago== CustomData ==
Nicholas Bishop [Sat, 3 Sep 2011 08:18:43 +0000 (08:18 +0000)]
== CustomData ==

* Added comments for each entry in the LAYERTYPEINFO array noting the
  number and name of the layer type; was hard to tell before which
  entry was what

8 years agoPyC_ExceptionBuffer is now threadsafe, used for converting exceptions into reports.
Campbell Barton [Sat, 3 Sep 2011 06:46:31 +0000 (06:46 +0000)]
PyC_ExceptionBuffer is now threadsafe, used for converting exceptions into reports.

8 years agofix [#28462] Tiled textures and 2D filters don't mix
Campbell Barton [Sat, 3 Sep 2011 04:44:18 +0000 (04:44 +0000)]
fix [#28462] Tiled textures and 2D filters don't mix
patch by Juha Mäki-Kanto

8 years agosvn merge -r39831:39877 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Sat, 3 Sep 2011 02:49:21 +0000 (02:49 +0000)]
svn merge -r39831:39877 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agowhitespace edits
Campbell Barton [Sat, 3 Sep 2011 02:15:49 +0000 (02:15 +0000)]
whitespace edits

8 years agoFix for grid lines drawing outside of histogram widget.
Sergey Sharybin [Fri, 2 Sep 2011 19:25:32 +0000 (19:25 +0000)]
Fix for grid lines drawing outside of histogram widget.

8 years agoAdd missed notifier when toggling object's force field.
Sergey Sharybin [Fri, 2 Sep 2011 18:05:07 +0000 (18:05 +0000)]
Add missed notifier when toggling object's force field.

8 years agoFix crash caused by recently added assert about if string was set properly.
Sergey Sharybin [Fri, 2 Sep 2011 17:58:09 +0000 (17:58 +0000)]
Fix crash caused by recently added assert about if string was set properly.

Memory Estimate is actually 31 characters length, str[31] is a null-terminator.

Return length of 31 for memory estimate property. Returning proper length
would lead to slowdown because of 2x iteration through vertices.

8 years agoFix #28280: Insert Hook wrong index
Sergey Sharybin [Fri, 2 Sep 2011 15:19:30 +0000 (15:19 +0000)]
Fix #28280: Insert Hook wrong index

Use quite easy and stupid approach like it used for shape keys:
re-make editmesh (editcurve or editlattice) before creating index array
for hook or storing vertex index in parenting object.

Even if hook was added in "current" edit mode, it should be re-mapped on
loading edit data because topology could be changed after it was created.
Such kind of re-loading edit structures is the easiest way for now to
update keyindexes to relevant state.

Also, fixed bug with not re-mapping indices for vertex-parented objects.
Really old error, not sure why it wasn't noticed yet.

8 years agoFix #28467: Crash while deleting objects in outliner too fast
Sergey Sharybin [Fri, 2 Sep 2011 13:23:44 +0000 (13:23 +0000)]
Fix #28467: Crash while deleting objects in outliner too fast

Cleanup tree when handling object delete from outliner.
Prevents handling the same tree item twice when clicking fast.

8 years agoBugfix [#28435] Key Visual transform and Parenting not working
Joshua Leung [Fri, 2 Sep 2011 12:26:57 +0000 (12:26 +0000)]
Bugfix [#28435] Key Visual transform and Parenting not working

After reviewing this code, it seems that this case can work after all.
However, several things needed to be tweaked:
1) Removed check which stopped parented objects from getting the
visual keying coordinates determined. This actually wasn't doing
anything, given that this case would never occur as...
2) Tweaked the visualkey_can_use() function to also consider parenting
as a cause for visual-keying to be necessary.

8 years agoparanoid check that RNA string functions set the string, would have helped solve...
Campbell Barton [Fri, 2 Sep 2011 10:43:51 +0000 (10:43 +0000)]
paranoid check that RNA string functions set the string, would have helped solve keymap search bug.
disabled in release mode.

8 years agoBmesh: fix array copies (fixes snapping), from patch #28429 by Andrew Wiggin (ender79
Howard Trickey [Fri, 2 Sep 2011 10:43:16 +0000 (10:43 +0000)]
Bmesh: fix array copies (fixes snapping), from patch #28429 by Andrew Wiggin (ender79

8 years agoPartial fix for #28441: Tab width in texteditor ignored if used tabs as spaces
Sergey Sharybin [Fri, 2 Sep 2011 09:39:21 +0000 (09:39 +0000)]
Partial fix for #28441: Tab width in texteditor ignored if used tabs as spaces

Scroll to cursor when displaying text datablock was changed.
This behavior was lost in 2.5x.

8 years agopatch [#28473] Outliner Simple Todo
Campbell Barton [Fri, 2 Sep 2011 08:35:46 +0000 (08:35 +0000)]
patch [#28473] Outliner Simple Todo
from Julien DUROURE (julien)

---

* right click --> rename, as proposed on http://wiki.blender.org/index.php/Dev:2.5/Source/Development/Todo/Simple_Todos

* implementation of Toggle visibility/rendarability/selectability on right click on Groups ( was in menu, but not implemented )

8 years agofix [#28460] SEGFAULT when trying to make empty display as image
Campbell Barton [Fri, 2 Sep 2011 08:20:30 +0000 (08:20 +0000)]
fix [#28460] SEGFAULT when trying to make empty display as image

8 years agotweak to WM_operatortype_find to perform better when called with empty strings (as...
Campbell Barton [Fri, 2 Sep 2011 08:01:01 +0000 (08:01 +0000)]
tweak to WM_operatortype_find to perform better when called with empty strings (as the keymap editor does a lot)

8 years agofix for keymap search, was using uninitialized memory when the keymaps operator could...
Campbell Barton [Fri, 2 Sep 2011 07:51:19 +0000 (07:51 +0000)]
fix for keymap search, was using uninitialized memory when the keymaps operator couldn't be found.

8 years agopatch [#28463] BMesh: fixes for removedoubles and friends
Campbell Barton [Fri, 2 Sep 2011 06:48:14 +0000 (06:48 +0000)]
patch [#28463] BMesh: fixes for removedoubles and friends
from Andrew Wiggin (ender79)