blender.git
8 years agosvn merge -r37335:37500 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Sun, 24 Jul 2011 13:03:48 +0000 (13:03 +0000)]
svn merge -r37335:37500 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agoExtrude Bug Fixes:
Geoffrey Bantle [Mon, 11 Jul 2011 09:27:21 +0000 (09:27 +0000)]
Extrude Bug Fixes:
----------------------------------------------
Two extrude bug fixes provided by howardt in IRC

1: Edges getting extruded in sheets did not have
consistent normals.

2: Sometimes faces created by the extrusion
process were corrupt

8 years agofixing compile errors with VisualStudio 2008.
Andrea Weikert [Sun, 3 Jul 2011 17:07:07 +0000 (17:07 +0000)]
fixing compile errors with VisualStudio 2008.
* macro ABS has no effect with uintptr_t anyway and was throwing warning (promoted to error) -> commented out and marked with TODO
* removed two unused variables trhowing warning also promoted to error when compiling.

8 years agoTurned select vertex path back on and added
Geoffrey Bantle [Mon, 27 Jun 2011 04:54:58 +0000 (04:54 +0000)]
Turned select vertex path back on and added
back in selection history for bmesh->mesh
and mesh->bmesh conversions:
----------------------------------------------
Select Vertex Path had wrong invoke callback
(shouldn't have any?).

Also selection history was not converted when
doing bmesh->mesh or mesh->bmesh conversions.
This meant that tabbing in and out of editmode
would make your selection history dissapear.
Undo pop would also not preserve selection
history so any operators that relied on it
would not work when you adjusted their settings.

8 years agoBrought back select by number of vertices
Geoffrey Bantle [Sun, 26 Jun 2011 20:23:27 +0000 (20:23 +0000)]
Brought back select by number of vertices
and select loose verts/edges:
----------------------------------------------
Split select by number of vertices and select
loose verts/edges into seperate functions.

Previously select by number of vertices was
also accessed through two different UI items,
"Select Quads" and "Select Triangles". Now
it is one function with a integer property
for selecting the size of the face you want
selected.

Also added an option to modify the behavior
of the selection. Can now select whether you
want to select faces that have vertices
equal to, less than or greater than the number
of vertices in operator property.

8 years agoBrought back loop multiselect:
Geoffrey Bantle [Sun, 26 Jun 2011 01:11:03 +0000 (01:11 +0000)]
Brought back loop multiselect:
----------------------------------------------
Loop multiselect operator brought back. It can
be accessed via the select->edge loop and
select->edge ring menu entries or through the
ctrl-e edge specials menu.

8 years agoBringing back statistics draw options:
Geoffrey Bantle [Fri, 24 Jun 2011 00:55:14 +0000 (00:55 +0000)]
Bringing back statistics draw options:
----------------------------------------------
Based on a patch from howardt, this commit brings
back drawing:

-Edge length
-Face edge angles

and

-Face area

for the 3d view.

8 years agoFix for a crash:
Geoffrey Bantle [Thu, 23 Jun 2011 22:33:42 +0000 (22:33 +0000)]
Fix for a crash:
----------------------------------------------
Another fix from howardt in IRC.

8 years agoFix for boolean modifier:
Geoffrey Bantle [Wed, 22 Jun 2011 00:39:14 +0000 (00:39 +0000)]
Fix for boolean modifier:
----------------------------------------------
Patch for making faces stop dissapearing when
using the boolean modifier submitted by
howardt in IRC.

8 years agoFix for decimator:
Geoffrey Bantle [Wed, 22 Jun 2011 00:34:08 +0000 (00:34 +0000)]
Fix for decimator:
----------------------------------------------
Patch for making faces stop dissapearing when
using the decimator submitted by howardt in IRC.

Also fixed crash for when input mesh had less than
three triangles

8 years agoFix for select non manifold:
Geoffrey Bantle [Tue, 21 Jun 2011 01:14:21 +0000 (01:14 +0000)]
Fix for select non manifold:
----------------------------------------------
Select non manifold was not working properly
because BM_Nonmanifold_Edge considered border
edges to be manifold.

8 years agoAdded call to flushing function for primitives:
Geoffrey Bantle [Tue, 21 Jun 2011 00:03:38 +0000 (00:03 +0000)]
Added call to flushing function for primitives:
----------------------------------------------
Editmode selection flushing wasn't getting called
on primitive addition. This caused inconsistent
selection state.

8 years agofix [#27658] Bake action operator error on non armature objects
Campbell Barton [Wed, 15 Jun 2011 06:25:05 +0000 (06:25 +0000)]
fix [#27658] Bake action operator error on non armature objects
add support for baking object transformations too, also add option to clear constraints (off by default).

8 years agocorrection for own commit r37492
Campbell Barton [Wed, 15 Jun 2011 02:17:39 +0000 (02:17 +0000)]
correction for own commit r37492

8 years agode-duplicate multires image filter function. (no functional change)
Campbell Barton [Wed, 15 Jun 2011 02:14:38 +0000 (02:14 +0000)]
de-duplicate multires image filter function. (no functional change)

8 years agofix [#27662] Storing png/tga images ignore Alpha settings
Campbell Barton [Wed, 15 Jun 2011 01:56:49 +0000 (01:56 +0000)]
fix [#27662] Storing png/tga images ignore Alpha settings
- don't clear alpha when baking RGB images
- when baking results in partial alpha. set the depth to 32.

8 years agoChanges to quick explode
Campbell Barton [Wed, 15 Jun 2011 00:16:30 +0000 (00:16 +0000)]
Changes to quick explode
- fix python error when the object had an empty material slot
- initialize start frame from the current frame
- set frame range to 300000 max (which is blenders own maximum)
- mesh order was arbitrary, instead use selected -> active, removed invert option.

also fix for missing include in bpy_extras.view3d_utils

8 years ago=bmesh= fixed vcol renaming
Joseph Eagar [Tue, 14 Jun 2011 23:52:08 +0000 (23:52 +0000)]
=bmesh= fixed vcol renaming

8 years agoRGB curve widget follows user preference DPI now too.
Ton Roosendaal [Tue, 14 Jun 2011 17:48:42 +0000 (17:48 +0000)]
RGB curve widget follows user preference DPI now too.

8 years agoNodes display now follow 'DPI' user pref too
Ton Roosendaal [Tue, 14 Jun 2011 15:55:46 +0000 (15:55 +0000)]
Nodes display now follow 'DPI' user pref too

8 years agofix [#25423] Mirror clipping is ignored with single vertex extrusion when using Face...
Campbell Barton [Tue, 14 Jun 2011 11:18:00 +0000 (11:18 +0000)]
fix [#25423] Mirror clipping is ignored with single vertex extrusion when using Face Snapping.

8 years agoBugfix #27573
Ton Roosendaal [Tue, 14 Jun 2011 09:55:38 +0000 (09:55 +0000)]
Bugfix #27573

Sculpt and Paint undo steps kept hanging in the sculpt/paint modes.
Now undo will switch back to global undo, and redo enter the mode
again. Just like weight/vertex paint.

8 years agofix [#27659] Segfault when adding None to a group
Campbell Barton [Tue, 14 Jun 2011 09:41:29 +0000 (09:41 +0000)]
fix [#27659] Segfault when adding None to a group

8 years agoinclude some useful info in bge docs, by ZiauddinMK on IRC.
Campbell Barton [Tue, 14 Jun 2011 07:46:38 +0000 (07:46 +0000)]
include some useful info in bge docs, by ZiauddinMK on IRC.

8 years agoFixed weird assignment inside condition statement.
Sergey Sharybin [Tue, 14 Jun 2011 07:33:25 +0000 (07:33 +0000)]
Fixed weird assignment inside condition statement.

8 years agorevert own fix for [#27648], looks like this needs to work differently to be fixed.
Campbell Barton [Tue, 14 Jun 2011 05:19:16 +0000 (05:19 +0000)]
revert own fix for [#27648], looks like this needs to work differently to be fixed.

8 years agoown mistake in recent mask commit.
Campbell Barton [Tue, 14 Jun 2011 04:19:00 +0000 (04:19 +0000)]
own mistake in recent mask commit.

8 years agoedit DAG defines to make it easier to add more & modify.
Campbell Barton [Tue, 14 Jun 2011 04:05:58 +0000 (04:05 +0000)]
edit DAG defines to make it easier to add more & modify.

8 years ago=bmesh=
Joseph Eagar [Tue, 14 Jun 2011 03:16:08 +0000 (03:16 +0000)]
=bmesh=

Removed the DerivedMesh face iterators (they sucked).
This should make subsurf faster.  Also sped up multires
a bit (not sure if it's strictly correct, need to look
at it later).

8 years agomask modifier: replace bone hash lookup with a boolean array to quickly check selecti...
Campbell Barton [Tue, 14 Jun 2011 02:26:43 +0000 (02:26 +0000)]
mask modifier: replace bone hash lookup with a boolean array to quickly check selection state.
simple test gives ~28% speedup in building the vertex hash. (no functional change)

8 years agomask modifier was taking into account zero weighted verts.
Campbell Barton [Tue, 14 Jun 2011 01:54:03 +0000 (01:54 +0000)]
mask modifier was taking into account zero weighted verts.

8 years agofix [#27648] Weird shading behind grayed out negate checkbox
Campbell Barton [Tue, 14 Jun 2011 01:04:11 +0000 (01:04 +0000)]
fix [#27648] Weird shading behind grayed out negate checkbox

8 years agocmake: correct uninitialized vars
Campbell Barton [Tue, 14 Jun 2011 00:24:50 +0000 (00:24 +0000)]
cmake: correct uninitialized vars

8 years agoSince scene sequence strips use the 'use_sequencer' setting, make it available in...
Campbell Barton [Mon, 13 Jun 2011 21:35:24 +0000 (21:35 +0000)]
Since scene sequence strips use the 'use_sequencer' setting, make it available in the sequencer panel.

8 years ago2.5 Camera:
Thomas Dinges [Mon, 13 Jun 2011 20:21:48 +0000 (20:21 +0000)]
2.5 Camera:
* Increase "Ortho_scale" maximum from 1k to 4k, Request by francoisgfx.

8 years agoBGE Patch: [#27425] Allow to change the damping of the camera actuator
Dalai Felinto [Mon, 13 Jun 2011 17:08:33 +0000 (17:08 +0000)]
BGE Patch: [#27425] Allow to change the damping of the camera actuator
##########
original name: "Allow to change the strenght of the "go behind" constraint of the camera actuator"

The camera actuator is an actuator that drive the camera to follow an object, with a set of constraint.
Currently, when the object followed rotate on himself (like a person, or an helicopter), the camera is really slow to go behind (at least 10 seconds).

This patch gives the UI to tweak the strenght of the 'go behind'[named damping] constraint.
###########

epydocs (rst) updated too

8 years agoFix [#27463] COLLADA light quadratic attenuation exported wrong?
Nathan Letwory [Mon, 13 Jun 2011 15:07:36 +0000 (15:07 +0000)]
Fix [#27463] COLLADA light quadratic attenuation exported wrong?
Reported by Pelle Johnsen
Fix falloff import. Point light and Spot light always were set to inverse quad, instead of choosing the proper one based on imported values.

The

8 years agoFix #27540: bug with bump mapping + reflection texture coordinates + nodes.
Brecht Van Lommel [Mon, 13 Jun 2011 14:56:47 +0000 (14:56 +0000)]
Fix #27540: bug with bump mapping + reflection texture coordinates + nodes.

8 years agoFix #27570: apply button for modifiers required the modifier to be enabled, we
Brecht Van Lommel [Mon, 13 Jun 2011 14:11:29 +0000 (14:11 +0000)]
Fix #27570: apply button for modifiers required the modifier to be enabled, we
now just enable the modifier before apply.

Patch Bastien Montagne (with some tweaks), thanks!

8 years agoFix #27594: non-active object in weight paint mode doesn't free memory.
Brecht Van Lommel [Mon, 13 Jun 2011 12:03:13 +0000 (12:03 +0000)]
Fix #27594: non-active object in weight paint mode doesn't free memory.
Also removed some commented out 2.4x code that is already replaced.

8 years agoBugfix #27537
Ton Roosendaal [Mon, 13 Jun 2011 12:03:05 +0000 (12:03 +0000)]
Bugfix #27537

Using texture properties, the material nodes now re-render previews too.

8 years agoFix #27635: GLSL filter uniform variable not set for group instance.
Brecht Van Lommel [Mon, 13 Jun 2011 11:36:25 +0000 (11:36 +0000)]
Fix #27635: GLSL filter uniform variable not set for group instance.

The problem was that SCA_2DFilterActuator was defining and using a
variable called "m_gameObj", when it should be using "m_gameobj" as
defined by SCA_ILogicBrick. The way it was, reparenting did only half
the work required to duplicate the actuator.

Patch by Alex Fraser, thanks!

8 years agoTurn off Quicktime support by default. Will be phased out soon.
Nathan Letwory [Mon, 13 Jun 2011 09:33:27 +0000 (09:33 +0000)]
Turn off Quicktime support by default. Will be phased out soon.

8 years agominor updates to the cmake checker
Campbell Barton [Mon, 13 Jun 2011 03:09:14 +0000 (03:09 +0000)]
minor updates to the cmake checker

8 years agoElbeem / Fluidsim:
Daniel Genrich [Mon, 13 Jun 2011 00:02:23 +0000 (00:02 +0000)]
Elbeem / Fluidsim:
a) Also fixed an "upcomming" bug in regard of gravx,y,z now converted into an array.
b) Little typo fix

8 years agoElbeem / Fluidsim update:
Daniel Genrich [Sun, 12 Jun 2011 23:51:30 +0000 (23:51 +0000)]
Elbeem / Fluidsim update:
a) Enable the possibility to remove the "air bubble" around submerged collision object. This feature is enabled as standard for new files. The code was found in elbeem by nudelZ, coded and provided by Nils Thürey (thanks!)
b) Old baked files gets deleted if a new bake gets started (were overwritten before and resulted in weird old bake + new bake mixture) (idea by nudelZ)

8 years agoFix/Workaround for [#27643] drawing glitch:
Thomas Dinges [Sun, 12 Jun 2011 20:27:28 +0000 (20:27 +0000)]
Fix/Workaround for [#27643] drawing glitch:
* Removed the Icon of the menu, when an icon is used, it draws a triangle icon, assuming it is a sub menu.

8 years agoBugfix #27519
Ton Roosendaal [Sun, 12 Jun 2011 13:35:17 +0000 (13:35 +0000)]
Bugfix #27519

Full Sample AA (FSA) was failing in cases. Bug report was an empty
scene (with compo nodes) linking in another .blend scene (with render).

That case gave warning "FSA not supported with rendering". That now is
allowed.

Then I noticed FSA was giving corrupt sample buffers or crashes in cases,
especially on first buffer, this appeared to be a missing compo tag on
first sample buffer.

Lastly, to make FSA render a tiny bit less frustrating: added render window
statistic to show which of the FSA steps is being done.

8 years agoQuick Explode operator:
Janne Karhu [Sun, 12 Jun 2011 11:14:28 +0000 (11:14 +0000)]
Quick Explode operator:
* Sets up a particle system and an explode modifier.
* In "blend" mode requires two selected objects and creates "crossed keyed" particle systems between the objects for a simple blend effect where the first object explodes and then recombines as the second object.
* Also renamed the other quick effect operators as "Quick ..." to bring some consistency to the operators (also nice that now you can just write "quick" to the operator search and get all these operators).

8 years agoBug fix: keyed physics didn't work properly if the first key wasn't the keyed particl...
Janne Karhu [Sun, 12 Jun 2011 11:09:39 +0000 (11:09 +0000)]
Bug fix: keyed physics didn't work properly if the first key wasn't the keyed particle system itself
* Also some nicer rotation handling for the explode modifier

8 years ago2.5 Image Buttons:
Thomas Dinges [Sun, 12 Jun 2011 11:03:21 +0000 (11:03 +0000)]
2.5 Image Buttons:
* Code cleanup, removed some unnecessary code.

8 years ago2.5 Image Buttons:
Thomas Dinges [Sun, 12 Jun 2011 10:24:47 +0000 (10:24 +0000)]
2.5 Image Buttons:
* Fixed an alignment issue, left column had unnecessary row declaration.

8 years agoLogic: clear "Script" when setting Script Controller mode to "Module"
Dalai Felinto [Sun, 12 Jun 2011 08:34:53 +0000 (08:34 +0000)]
Logic: clear "Script" when setting Script Controller mode to "Module"
The text datablock was linked to the controller. So even if the script was set to 'module' and saved, once linked/appended the object the script would come together.
If someone wants to implement this "clear" only once the file is saved, please go ahead. But I believe it's ok to  loose the script if you change it for module (and with the new datablock lookup it's straightforward/quick to reassign a textblock)

-- bug not reported anywhere, from my own list

8 years agoremove some warning for unused struct members
Campbell Barton [Sat, 11 Jun 2011 17:05:20 +0000 (17:05 +0000)]
remove some warning for unused struct members

8 years agoimproved autocompleation when there is a common prefix
Campbell Barton [Sat, 11 Jun 2011 17:03:26 +0000 (17:03 +0000)]
improved autocompleation when there is a common prefix

8 years agowarning fix for gcc
Campbell Barton [Sat, 11 Jun 2011 15:37:16 +0000 (15:37 +0000)]
warning fix for gcc

8 years agoFix for edge mesh BVH: The edge distance callback for leaf nodes was calculating...
Lukas Toenne [Sat, 11 Jun 2011 14:08:46 +0000 (14:08 +0000)]
Fix for edge mesh BVH: The edge distance callback for leaf nodes was calculating actual sqrt'ed distance, while needing squared distance to be compatible with bounding box checks. This also solves previous concerns about performance when using sqrt in the comparison callback.

8 years agoBugfix #27105
Ton Roosendaal [Sat, 11 Jun 2011 13:12:57 +0000 (13:12 +0000)]
Bugfix #27105

Node editor: collapsed node didn't allow to size it using the
right hand side grab thingemabobs.

8 years agoBugfix #27138
Ton Roosendaal [Sat, 11 Jun 2011 12:10:01 +0000 (12:10 +0000)]
Bugfix #27138

Theme color fix for button type "Value slider".
On text editing mode, the selected part of the text was invisible.

8 years agofix for recent commit, this stops makesdna from working right:
Campbell Barton [Sat, 11 Jun 2011 10:09:56 +0000 (10:09 +0000)]
fix for recent commit, this stops makesdna from working right:
/* ... // ...  */

8 years agoremove backbuf from internal struct's (unused in 2.5x)
Campbell Barton [Sat, 11 Jun 2011 08:55:29 +0000 (08:55 +0000)]
remove backbuf from internal struct's (unused in 2.5x)

8 years agofix for using system includes, the include macro wasn't un-setting the previous inclu...
Campbell Barton [Sat, 11 Jun 2011 06:00:28 +0000 (06:00 +0000)]
fix for using system includes, the include macro wasn't un-setting the previous include list so system includes could be mixed up with non system includes.

Also workaround for CMake 2.8.4 & GNU-Make which doesn't set CMAKE_INCLUDE_SYSTEM_FLAG_C

8 years ago* Code cleanup
Thomas Dinges [Fri, 10 Jun 2011 21:06:59 +0000 (21:06 +0000)]
* Code cleanup

8 years agosuspiciously consistent typo
Jason Wilkins [Fri, 10 Jun 2011 20:59:48 +0000 (20:59 +0000)]
suspiciously consistent typo

8 years ago2.5 Modifier UI Script:
Thomas Dinges [Fri, 10 Jun 2011 20:41:22 +0000 (20:41 +0000)]
2.5 Modifier UI Script:
* Tiny improvement, no need to have split declaration outside of if branch.

8 years agofix [#27627] Strange behavior with solid open gl lights
Campbell Barton [Fri, 10 Jun 2011 16:59:15 +0000 (16:59 +0000)]
fix [#27627] Strange behavior with solid open gl lights
disable turning off all lights in the user preferences.

8 years agoBugfix #27136
Ton Roosendaal [Fri, 10 Jun 2011 14:03:51 +0000 (14:03 +0000)]
Bugfix #27136

Ending localview - which is similar to layer change - should send
update similar to change layers too. Needed for example when loading
a file saved in local view or when changing time in localview.

8 years agofix [#27607] Scene's render.filepath gets cropped to 159 characters
Campbell Barton [Fri, 10 Jun 2011 10:13:50 +0000 (10:13 +0000)]
fix [#27607] Scene's render.filepath gets cropped to 159 characters
use 240 char limit, remove backbuffer path which wasn't used.

8 years agoadded a check to console auto-compleation for pythons struct_seq type, so bpy.app...
Campbell Barton [Fri, 10 Jun 2011 09:44:27 +0000 (09:44 +0000)]
added a check to console auto-compleation for pythons struct_seq type, so bpy.app and sys.float_info autocompleate their attributes rather then bring treated as a typle.

8 years agofix [#27495] Incorrect result of image name autocompletion
Campbell Barton [Fri, 10 Jun 2011 07:22:35 +0000 (07:22 +0000)]
fix [#27495] Incorrect result of image name autocompletion

8 years agoadd includes for windows.
Campbell Barton [Thu, 9 Jun 2011 18:28:58 +0000 (18:28 +0000)]
add includes for windows.

8 years agoupdate for tests, error out when duplicate modules are found, all ctest tests pass...
Campbell Barton [Thu, 9 Jun 2011 16:20:00 +0000 (16:20 +0000)]
update for tests, error out when duplicate modules are found, all ctest tests pass again.

8 years agoBugfix #27081
Ton Roosendaal [Thu, 9 Jun 2011 16:12:10 +0000 (16:12 +0000)]
Bugfix #27081

Displacement mapping didn't do linear interpolation between pixels,
causing render artefacts. Now it uses for image render without AA
a default interploation filter of 1 pixel size.

Fix provided by Miika Hamalainen. Thanks!

8 years agoFix for GLSL material node inside groups. These were using the GPULink point from...
Lukas Toenne [Thu, 9 Jun 2011 16:05:34 +0000 (16:05 +0000)]
Fix for GLSL material node inside groups. These were using the GPULink point from the input stack argument, but this only exists for directly linked nodes. If a node is linked directly to a group socket, which is not linked externally, the stack argument is actually the external group input.

8 years agoBugfix #27078
Ton Roosendaal [Thu, 9 Jun 2011 15:54:44 +0000 (15:54 +0000)]
Bugfix #27078

Added notifier to make material preview update when selecting a face
in editmode with a different material than displayed.

8 years agoBugfix #26886
Ton Roosendaal [Thu, 9 Jun 2011 15:26:05 +0000 (15:26 +0000)]
Bugfix #26886

Operator redo: F6 menu didn't work for macros yet (like Duplicate-grab).

8 years agosvn merge -r37078:37335 https://svn.blender.org/svnroot/bf-blender/trunk/blender
Campbell Barton [Thu, 9 Jun 2011 15:20:29 +0000 (15:20 +0000)]
svn merge -r37078:37335 https://svn.blender.org/svnroot/bf-blender/trunk/blender

8 years agoreplace log() calls with constants
Campbell Barton [Thu, 9 Jun 2011 14:27:51 +0000 (14:27 +0000)]
replace log() calls with constants

8 years agofix for own mistake & fix some comments.
Campbell Barton [Thu, 9 Jun 2011 13:46:34 +0000 (13:46 +0000)]
fix for own mistake & fix some comments.

8 years agofix for memory leak re-binding meshes.
Campbell Barton [Thu, 9 Jun 2011 11:19:34 +0000 (11:19 +0000)]
fix for memory leak re-binding meshes.

8 years agoFix [#27378] ASC-CDL Color Balance Node does not allow for full range of values
Matt Ebb [Thu, 9 Jun 2011 11:09:46 +0000 (11:09 +0000)]
Fix [#27378] ASC-CDL Color Balance Node does not allow for full range of values

Report title is incorrect, it does allow for the full range, but actually allows too much, so clamping slope and power min at 0.

8 years agoRNA properties - expose values as radians rather then degrees
Campbell Barton [Thu, 9 Jun 2011 08:58:27 +0000 (08:58 +0000)]
RNA properties - expose values as radians rather then degrees
- sequencer wipe angle
- mesh autosmooth
- bevel modifier angle
- edge split angle

8 years agouse a better method for finding the precision to use for float buttons, about 4x...
Campbell Barton [Thu, 9 Jun 2011 07:40:30 +0000 (07:40 +0000)]
use a better method for finding the precision to use for float buttons, about 4x faster to calculate and will show for eg, 0.0108 rather than 0.01, but 0.0100001 still displays as 0.01.

8 years agofix [#27616] Appending an object from a file brings all existing group links to scene
Campbell Barton [Thu, 9 Jun 2011 04:28:53 +0000 (04:28 +0000)]
fix [#27616] Appending an object from a file brings all existing group links to scene
When appending from a blend file which had an object already linked, _but_ was not in any scenes.
- the linked object would be instanced.

8 years ago[#27615] Box select of mesh object disabled or translated due to curve object
Campbell Barton [Thu, 9 Jun 2011 03:56:32 +0000 (03:56 +0000)]
[#27615] Box select of mesh object disabled or translated due to curve object

ED_view3d_init_mats_rv3d was calling glMultMatrixf() which was mostly harmless but could also lead to confusing bugs (2 reported previously).
Looked into this and every call to ED_view3d_init_mats_rv3d except for object drawing, doesn't need this so made a second version of ED_view3d_init_mats_rv3d - ED_view3d_init_mats_rv3d_gl which does the matrix multiplication, remove confusing checks in selection code.

8 years agoadd foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile.
Campbell Barton [Thu, 9 Jun 2011 02:47:22 +0000 (02:47 +0000)]
add foreachIDLink function for cloth, remove cloth specific newlibadr calls in readfile.

8 years agoBugfix #27601
Ton Roosendaal [Wed, 8 Jun 2011 16:08:57 +0000 (16:08 +0000)]
Bugfix #27601

Revision for previous fix; fast gaussian now survives on images
with a dimension smaller than 3 pixels!

Thanks Bastien Montagne for patch.

8 years agofix for own error r35918, generalizing looping over modifier ID links
Campbell Barton [Wed, 8 Jun 2011 16:00:52 +0000 (16:00 +0000)]
fix for own error r35918, generalizing looping over modifier ID links
broke loading smoke group references because they already had calls to
newlibadr_us() elsewhere, removing those assignments fixes loading.

8 years agoBugfix #27601
Ton Roosendaal [Wed, 8 Jun 2011 15:17:38 +0000 (15:17 +0000)]
Bugfix #27601

Scaling in compostior down to 1 pixel size crashed gaussian blur.

8 years agoApply [#27477] COLLADA export support for textures mapped to COLSPEC
Nathan Letwory [Wed, 8 Jun 2011 13:00:25 +0000 (13:00 +0000)]
Apply [#27477] COLLADA export support for textures mapped to COLSPEC
Patch provided by Pelle Johnsen

8 years agoShuffle some build code around to ensure debug builds on Windows actually run too.
Nathan Letwory [Wed, 8 Jun 2011 11:53:07 +0000 (11:53 +0000)]
Shuffle some build code around to ensure debug builds on Windows actually run too.

* creator/SConscript is now empty, code is moved to an emitter function in Blender.py
* make sure COLLADA debug libs are used when BF_DEBUG=True

8 years agoBugfix [#27586] P for setting playback range is clamped to > 0
Joshua Leung [Wed, 8 Jun 2011 10:57:24 +0000 (10:57 +0000)]
Bugfix [#27586] P for setting playback range is clamped to > 0

Thanks for the patch Bastien Montagne. Was just legacy code from 2.4x

8 years agofix of fix :| [real fix for #36787 -- it was wrongly fixed on #36964]
Dalai Felinto [Wed, 8 Jun 2011 09:01:41 +0000 (09:01 +0000)]
fix of fix :| [real fix for #36787 -- it was wrongly fixed on #36964]
I guess I tested the fix outside the camera view (which always worked). duhhh
Working now.

8 years agocmake: remove python include in the wm module, set opengl as a system include.
Campbell Barton [Wed, 8 Jun 2011 05:39:58 +0000 (05:39 +0000)]
cmake: remove python include in the wm module, set opengl as a system include.

8 years agodon't write file history in backgound mode (running ctest would overwrite all my...
Campbell Barton [Wed, 8 Jun 2011 01:53:12 +0000 (01:53 +0000)]
don't write file history in backgound mode (running ctest would overwrite all my recent-files.txt), and add an error about mingw/quicktime being unsupported.

8 years agodraw sequences with invalid effect frame ranges pink to highlight they are invalid...
Campbell Barton [Tue, 7 Jun 2011 18:34:33 +0000 (18:34 +0000)]
draw sequences with invalid effect frame ranges pink to highlight they are invalid and wont render.

8 years agofix for vertex group copy to selected
Campbell Barton [Tue, 7 Jun 2011 18:04:03 +0000 (18:04 +0000)]
fix for vertex group copy to selected
- was using un-initialized stack memory if the source / target object had no vertex group.
- if the target object had no vertex groups it would fails silently (not a bug but not very good functionality)
- added an error message if any copying fails.

8 years agofix for sequencer transform with effects strips where the effects could be moved...
Campbell Barton [Tue, 7 Jun 2011 16:47:25 +0000 (16:47 +0000)]
fix for sequencer transform with effects strips where the effects could be moved to invalid times to avoid overlap but would immediately refresh back to overlapping locations after.

8 years agodisable the readonly state while rna property callbacks run.
Campbell Barton [Tue, 7 Jun 2011 16:08:49 +0000 (16:08 +0000)]
disable the readonly state while rna property callbacks run.

8 years agoFix: correct spacing for file select items, using font size + dpi.
Ton Roosendaal [Tue, 7 Jun 2011 15:33:01 +0000 (15:33 +0000)]
Fix: correct spacing for file select items, using font size + dpi.