11 years agoRecreating my GSoC branch.
Joerg Mueller [Sat, 19 Jun 2010 10:32:41 +0000 (10:32 +0000)]
Recreating my GSoC branch.

11 years agoDeleting my GSoC branch to recreate it.
Joerg Mueller [Sat, 19 Jun 2010 10:31:47 +0000 (10:31 +0000)]
Deleting my GSoC branch to recreate it.

11 years agoFix #22621 Alt-A toggles panel expand collapse
Diego Borghetti [Fri, 18 Jun 2010 20:19:24 +0000 (20:19 +0000)]
Fix #22621 Alt-A toggles panel expand collapse
Patch by John Carpenter

The expand/collapse command don't filter the Alt
modifier and make problem with the animation
shortuct (atl+a).

11 years agoFix #22625
Diego Borghetti [Fri, 18 Jun 2010 15:23:39 +0000 (15:23 +0000)]
Fix #22625

My fix for #22317 make that every time you delete an object,
blender go to perspective view, fixed now.

11 years agoChanges to scene updating with set scenes.
Campbell Barton [Fri, 18 Jun 2010 14:14:13 +0000 (14:14 +0000)]
Changes to scene updating with set scenes.
The most useful effect of this is that set scenes can take the simplify settings from the current scene (render team doesnt have to worry about animators simplify settings).

- updating on frame change now passes the parent scene to object update function. (this was alredy happening for updating tagged objects)
- set scenes objects update first so scenes can depend on set objects however this only happened at once level, now set scenes are updated recursively, so deepest level is updated first.
- collision objects used to only look through the current scene, now set objects are included.

11 years agoFix for [#22410] Texture force field doesn't depend on empty location (patch by Matt...
Janne Karhu [Fri, 18 Jun 2010 11:36:51 +0000 (11:36 +0000)]
Fix for [#22410] Texture force field doesn't depend on empty location (patch by Matt Ebb)

11 years agoFix for [#22479] Hair is left our when moving emitter unless Hair Dynamics is set on
Janne Karhu [Fri, 18 Jun 2010 11:34:45 +0000 (11:34 +0000)]
Fix for [#22479] Hair is left our when moving emitter unless Hair Dynamics is set on

11 years agoFixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC...
Mitchell Stokes [Fri, 18 Jun 2010 08:22:05 +0000 (08:22 +0000)]
Fixing some warnings for glew in space_view3d when building with CMake. GLEW_STATIC needed to be defined; it was already defined for SCons.

11 years agoRaise the default report popup severity to errors only (not warnings).
Matt Ebb [Fri, 18 Jun 2010 05:18:46 +0000 (05:18 +0000)]
Raise the default report popup severity to errors only (not warnings).
All reports still get displayed in header.

11 years agoNotifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers
Matt Ebb [Fri, 18 Jun 2010 04:39:32 +0000 (04:39 +0000)]
Notifier cleanup - replaced ND_*_EDIT and ND_*_SELECT data notifiers
with the generic action equivalents (NA_EDITED and new NA_SELECTED)

11 years agoAdded sintax coloring for None
Daniel Salazar [Thu, 17 Jun 2010 20:56:36 +0000 (20:56 +0000)]
Added sintax coloring for None

11 years agofix for fcurve doubles not being removed when moving more then one selected points...
Campbell Barton [Thu, 17 Jun 2010 19:33:27 +0000 (19:33 +0000)]
fix for fcurve doubles not being removed when moving more then one selected points in the graph editor.
The bug could be redone with 3 points, 2 selected dragged onto the unselected.

looping backwards fixes this.

11 years agorather then naming new actions "Action", use the id name with an action prefix.
Campbell Barton [Thu, 17 Jun 2010 15:28:40 +0000 (15:28 +0000)]
rather then naming new actions "Action", use the id name with an action prefix.
avoids having 100's of Action.XXX in a file.

11 years agosequencer numpad keys for zoom levels
Campbell Barton [Thu, 17 Jun 2010 14:22:54 +0000 (14:22 +0000)]
sequencer numpad keys for zoom levels

11 years agofix for crash with opengl sequencer strips that dont have a camera
Campbell Barton [Thu, 17 Jun 2010 14:22:13 +0000 (14:22 +0000)]
fix for crash with opengl sequencer strips that dont have a camera

11 years agoLogics ops: add s/c/a can now be called with an object parameter (e.g. bpy.ops.logic...
Dalai Felinto [Thu, 17 Jun 2010 08:42:15 +0000 (08:42 +0000)]
Logics ops: add s/c/a can now be called with an object parameter (e.g. bpy.ops.logic.controller_add_exec(name="name", object="non_active_object")
If no parameter is passed it uses the active object.

To do: make logic_window set "active object" in context before calling add s/c/a operator
So far I tried this before uiItemMenuEnumO(row, "LOGIC_OT_controller_add", "type", "Add Controller", 0); :

+RNA_pointer_create((ID *)ob, &RNA_Object, ob, &ob_ptr);
+uiLayoutSetContextPointer(row, "object", &ob_ptr);

Not working though :) (not committed either). to be investigated.

11 years agologic ops: accepting no object as argument into "remove s/c/a" operators (uses the...
Dalai Felinto [Thu, 17 Jun 2010 07:33:57 +0000 (07:33 +0000)]
logic ops: accepting no object as argument into "remove s/c/a" operators (uses the active object in those cases)

11 years agoFix [#22610] Alpha problem with textureswhen Brightness > 1 or Contrast < 1
Matt Ebb [Thu, 17 Jun 2010 07:20:12 +0000 (07:20 +0000)]
Fix [#22610] Alpha problem with textureswhen Brightness > 1 or Contrast < 1

* Enabled premultiplication for packed images
* Added pack/unpack operator to image template
* Moved brightness/contrast corrections to after de-premultiplication in image texture sampling

11 years agoLogic ops: uncommenting + fix remove ops to use full RNA code :)
Dalai Felinto [Thu, 17 Jun 2010 06:34:11 +0000 (06:34 +0000)]
Logic ops: uncommenting  + fix remove ops to use full RNA code :)
The problem here was that it as passing Object *ob, while it should be Object **ob. Otherwise you can't change where the pointer is pointing to.

11 years agofixing warning from previous commit (rna_controller)
Dalai Felinto [Thu, 17 Jun 2010 04:31:02 +0000 (04:31 +0000)]
fixing warning from previous commit (rna_controller)

11 years agoRevert changes back to original state, before 29506.
Guillermo S. Romero [Thu, 17 Jun 2010 03:29:16 +0000 (03:29 +0000)]
Revert changes back to original state, before 29506.

11 years ago== SoC Bullet - Bullet Upgrade to 2.76 ==
Joshua Leung [Thu, 17 Jun 2010 02:42:43 +0000 (02:42 +0000)]
== SoC Bullet - Bullet Upgrade to 2.76 ==

Updated Blender's Bullet to 2.76 in this branch only.

This update was done by:
1) deleting the contents of the existing extern/bullet2/src directory (leaving the .svn folder in place),
2) copy/pasting the contents of the bullet/src directory (from unzipped Bullet archive) into this newly cleared folder.

Hopefully there aren't any patches that are still needed from the Bullet we had in source.


Note: I didn't use Moguri's patch, since that was giving me compile errors with headers not being able to be found.

[[Split portion of a mixed commit.]]

11 years ago== addons ==
Luca Bonavita [Thu, 17 Jun 2010 02:38:49 +0000 (02:38 +0000)]
== addons ==

- release/scripts/ui/
  added the change to add a 'warning' field to bl_addon_info
  warning icons are used to show 'broken' scripts or warnings
  asked permission to campbell and matt in blendercoders to apply this

- source/blender/python/doc/
  small fix in the url

11 years agoBGE: When dynamically loading scenes (bge.logic.LibLoad()) in GLSL mode, the lights...
Mitchell Stokes [Wed, 16 Jun 2010 19:07:20 +0000 (19:07 +0000)]
BGE: When dynamically loading scenes (bge.logic.LibLoad()) in GLSL mode, the lights in the loaded scene would not affect the current scene and vice versa. To fix this, I've updated to merge code to update the scenes that the shaders are using to the scene being merged into.

11 years agoFix Bug #22324
Diego Borghetti [Wed, 16 Jun 2010 16:42:40 +0000 (16:42 +0000)]
Fix Bug #22324

Blender crashes when wiring an image input to an image output in the
compositor (not the same image)

The string to keep the full path was usign FILE_MAXDIR, when
has to be both, FILE_MAXDIR + FILE_MAXFILE (240, like FILE_MAX).

11 years agorequest from William, twice as close camera zoom limit
Campbell Barton [Wed, 16 Jun 2010 12:55:49 +0000 (12:55 +0000)]
request from William, twice as close camera zoom limit

11 years agoA bad assignment was causing the VideoTexture to set off a breakpoint when being...
Mitchell Stokes [Wed, 16 Jun 2010 08:36:18 +0000 (08:36 +0000)]
A bad assignment was causing the VideoTexture to set off a breakpoint when being initialized in debug mode. (Benoit gave the go ahead for this fix)

11 years agoLogic UI: partial implementation of state per controller
Dalai Felinto [Wed, 16 Jun 2010 08:29:40 +0000 (08:29 +0000)]
Logic UI: partial implementation of state per controller
Adding two rna properties: state and state_number

For scripting "state_number" (integer) makes more sense while "state" (boolean/array) may be needed for the UI.
So far the UI is only showing the state number (using Label). Still have to decide how is the better way to "change the state".

If we don't need "state" (as boolean) for the UI, we can have only the integer one and rename it to "state".

+ some cosmetic changes (renamed ob "states" to "visible states")

ps.: 2 goals == 2 commits... let's see if I can keep that ratio until the middle of July ...

11 years agoPartial fix for [#22574] Logic Panel missing buttons (when selecting multiple objects)
Dalai Felinto [Wed, 16 Jun 2010 06:20:56 +0000 (06:20 +0000)]
Partial fix for [#22574] Logic Panel missing buttons (when selecting multiple objects)
This commit allows you to see the Logic Bricks for multiple objects at once. It still will only add s/c/a for the active object.

currently "LOGIC_OT_controller_add" uses the active object. That's good for the operator to work in scripts, however for the UI we need something different.
Ideally I would like to pass the object as an (optional) parameter to the operator. Not sure if it's possible.

The solution in 2.49 looks too "2.50 incompatible". In there ob->scaflag is set to be retrieve later by "do_logic_buts". Smart but too hacky imho.

11 years agosoft body
Jens Ole Wund [Wed, 16 Jun 2010 00:42:18 +0000 (00:42 +0000)]
soft body
text label correction

11 years agoCompositor 'free unused' option wasn't working at all, it was referring to the same...
Matt Ebb [Tue, 15 Jun 2010 21:51:15 +0000 (21:51 +0000)]
Compositor 'free unused' option wasn't working at all, it was referring to the same property
as renderer 'free texture images' flag. Ouch.

11 years agoscale option was only working for panoramic cameras
Campbell Barton [Tue, 15 Jun 2010 21:46:02 +0000 (21:46 +0000)]
scale option was only working for panoramic cameras

11 years agobugfix [#22581]
Andre Susano Pinto [Tue, 15 Jun 2010 20:00:01 +0000 (20:00 +0000)]
bugfix [#22581]
- on instances last hit optimization was jumping to the last hit face
 inside an instance without doing space transformation.

Fixed by making last hit optimization jump to the root node of the instance
instead of the last hit face.

11 years agoifdef disable X11 mouse grab, it locks up the system for artists too often (whenever...
Campbell Barton [Tue, 15 Jun 2010 17:40:31 +0000 (17:40 +0000)]
ifdef disable X11 mouse grab, it locks up the system for artists too often (whenever blender locks up).

11 years agoNew Scene now has the popup from 2.4x which gives the option to copy.
Campbell Barton [Tue, 15 Jun 2010 17:14:21 +0000 (17:14 +0000)]
New Scene now has the popup from 2.4x which gives the option to copy.
Added some test code for rna_info to create a big list of property+type+descriptions, useful for api name review.

11 years agoGot the okay from Nathan to commit this: It's a small patch for Win32 Ghost that...
Mitchell Stokes [Tue, 15 Jun 2010 17:12:21 +0000 (17:12 +0000)]
Got the okay from Nathan to commit this: It's a small patch for Win32 Ghost that prevents a Blender window from setting the cursor position when it's not the active window.

11 years ago- module for reading blend start/end frames and scene name (useful for finding the...
Campbell Barton [Tue, 15 Jun 2010 12:06:30 +0000 (12:06 +0000)]
- module for reading blend start/end frames and scene name (useful for finding the total frame count without loading a blend file)
- added render api as unstable to the docs.

11 years agoFix for crash on bpy.ops.curve.vertex_add/bpy.ops.curve.extrude
Sergey Sharybin [Tue, 15 Jun 2010 09:55:54 +0000 (09:55 +0000)]
Fix for crash on bpy.ops.curve.vertex_add/bpy.ops.curve.extrude

Removed view3d_operator_needs_opengl from addvert_Nurb, which is unneeded here

11 years agosoft body
Jens Ole Wund [Tue, 15 Jun 2010 09:47:37 +0000 (09:47 +0000)]
soft body
disable edge collision for bezier handles
because of massive pointlessness

11 years ago== python api docs ==
Luca Bonavita [Tue, 15 Jun 2010 02:06:01 +0000 (02:06 +0000)]
== python api docs ==

* source/blender/python/doc/

  changed the "undocumented" message so that it still links to
  but uses flags in the url to help documenting.

  click on "contribute", the new section has title "" and a howto message is shown

* source/blender/python/intern/bpy.c:

  fixed a typo

11 years ago'Fix' [#22591] Sun Lamp Sky / Atmosphere settings not rendering properly
Matt Ebb [Tue, 15 Jun 2010 01:28:17 +0000 (01:28 +0000)]
'Fix' [#22591] Sun Lamp Sky / Atmosphere settings not rendering properly

Turbidity values below 2.0 give weird results, made 2.0 the default soft minimum.

11 years agosofbody beziers may work nicer
Jens Ole Wund [Mon, 14 Jun 2010 23:56:12 +0000 (23:56 +0000)]
sofbody beziers may work nicer

11 years agoseparate loose parts was hanging on hidden verts
Campbell Barton [Mon, 14 Jun 2010 16:58:31 +0000 (16:58 +0000)]
separate loose parts was hanging on hidden verts

11 years agoadding curve and mesh objects through python would create the object without assignin...
Campbell Barton [Mon, 14 Jun 2010 15:39:50 +0000 (15:39 +0000)]
adding curve and mesh objects through python would create the object without assigning it to any layers.
now initialize from the scene (when the value is unset), and throw an error when the value is set to all false.

11 years agoworkaround for crash when notifiers cause a scene update at the same time rendering...
Campbell Barton [Mon, 14 Jun 2010 15:02:16 +0000 (15:02 +0000)]
workaround for crash when notifiers cause a scene update at the same time rendering starts.
happens when changing frame and pressing render quickly on a slow scene.

for now ignore animation updates while rendering.

11 years agochange to recent commit, insert_keyframe(datapath -> data_path ...)
Campbell Barton [Mon, 14 Jun 2010 12:36:28 +0000 (12:36 +0000)]
change to recent commit, insert_keyframe(datapath -> data_path ...)
made region width and height unsigned

11 years ago- option for redraw timer to playback the animation
Campbell Barton [Mon, 14 Jun 2010 10:33:26 +0000 (10:33 +0000)]
- option for redraw timer to playback the animation
- py utility property group.users_dupli_group

11 years agoUpdate interaction preset for property renaming
Matt Ebb [Mon, 14 Jun 2010 08:47:58 +0000 (08:47 +0000)]
Update interaction preset for property renaming

11 years agorestored old 'uv orco' for curves, renamed to 'map along length'
Matt Ebb [Mon, 14 Jun 2010 07:43:45 +0000 (07:43 +0000)]
restored old 'uv orco' for curves, renamed to 'map along length'

11 years agoUse per-object icons in animation editor channel regions
Matt Ebb [Mon, 14 Jun 2010 07:27:07 +0000 (07:27 +0000)]
Use per-object icons in animation editor channel regions
makes it a bit easier to distinguish what you're looking for

11 years agoDon't draw nodes that are out of the view
Matt Ebb [Mon, 14 Jun 2010 07:02:11 +0000 (07:02 +0000)]
Don't draw nodes that are out of the view
speeds up node editor fairly considerably on a complex comp

11 years agonaming changes
Campbell Barton [Mon, 14 Jun 2010 03:52:10 +0000 (03:52 +0000)]
naming changes
 path -> filepath (for rna and operators, as agreed on with elubie)
 path -> data_path (for windowmanager context functions, this was alredy used in many places)

11 years agobugfix [#22427] settings bpy.context.active_object gives wrong message.
Campbell Barton [Mon, 14 Jun 2010 02:05:37 +0000 (02:05 +0000)]
bugfix [#22427] settings bpy.context.active_object gives wrong message.

11 years agobugfix [#21748] KX_Object scaling property not "writing" vector access .:. e.g. obj...
Campbell Barton [Mon, 14 Jun 2010 01:41:43 +0000 (01:41 +0000)]
bugfix [#21748] KX_Object scaling property not "writing" vector access .:. e.g. obj.scaling[2] = 2.0
- made worldspace readonly
- mathutils 'set' callbacks can now set their own error

11 years agoremove remaining unused yafray settings.
Campbell Barton [Mon, 14 Jun 2010 01:03:48 +0000 (01:03 +0000)]
remove remaining unused yafray settings.

11 years agoremove unused yafray lamp settings
Campbell Barton [Mon, 14 Jun 2010 00:24:42 +0000 (00:24 +0000)]
remove unused yafray lamp settings

11 years agobugfix [#22573] image pack isn't working right
Campbell Barton [Mon, 14 Jun 2010 00:10:11 +0000 (00:10 +0000)]
bugfix [#22573] image pack isn't working right
own fault with recent commit to stop packing of generated images, now this works as expected.

11 years agosolidify rim material option, use the next material slot for rim faces.
Campbell Barton [Sun, 13 Jun 2010 13:56:13 +0000 (13:56 +0000)]
solidify rim material option, use the next material slot for rim faces.
a bit arbitrary but with most cases where solidify is used in durian we get UV texture stretching since there is no way to access the newly created size faces this gives us a way to switch out the material on the rim.

11 years agoMade Add Surface Operator more atomic, now each primitive has own operator, but calli...
Michael Fox [Sun, 13 Jun 2010 05:48:21 +0000 (05:48 +0000)]
Made Add Surface Operator more atomic, now each primitive has own operator, but calling the same function with different flags.
So they can me used in macros, and addons can use the menu  now, hope to see some very nice surface plugins

11 years agoFixed bug ##22580, 'All Edges' display doesn't work unless enter & exit edit mode...
Nicholas Bishop [Sun, 13 Jun 2010 02:54:55 +0000 (02:54 +0000)]
Fixed bug ##22580, 'All Edges' display doesn't work unless enter & exit edit mode for mesh

* Pass the appropriate mesh flag into dm->drawEdges
* Added the object and draw update notifiers to the RNA property

11 years agouse utility functions for vertex groups, no functional changes
Campbell Barton [Sun, 13 Jun 2010 00:11:42 +0000 (00:11 +0000)]
use utility functions for vertex groups, no functional changes

11 years agoChange couple of strings.
Guillermo S. Romero [Sat, 12 Jun 2010 23:09:01 +0000 (23:09 +0000)]
Change couple of strings.
Clearly mention SVN version being built and more direct POVRay error.

11 years agomodify my last commit to fix [#22486] add_actuator crashes when name is bigger than...
Campbell Barton [Sat, 12 Jun 2010 17:30:21 +0000 (17:30 +0000)]
modify my last commit to fix [#22486] add_actuator crashes when name is bigger than 32 chars

Throwing an exception if the strings too long means scripts need to be aware of string lengths and changing a string length in RNA can too easily break scripts.
Instead honor the string length in RNA_property_string_set()

11 years agobugfix [#22486] add_actuator crashes when name is bigger than 32 chars
Campbell Barton [Sat, 12 Jun 2010 15:49:01 +0000 (15:49 +0000)]
bugfix [#22486] add_actuator crashes when name is bigger than 32 chars
have pyrna raise an error on strings that are too long.

11 years ago[#22307] Camera Fly Mode Rolls Camera on local Z-axis
Campbell Barton [Fri, 11 Jun 2010 23:25:38 +0000 (23:25 +0000)]
[#22307] Camera Fly Mode Rolls Camera on local Z-axis
z-roll was enabled by default, also made rotate less sensitive.

11 years agoadding TODO comment
Jens Ole Wund [Fri, 11 Jun 2010 23:05:43 +0000 (23:05 +0000)]
adding TODO comment

11 years ago== python api docs ==
Luca Bonavita [Fri, 11 Jun 2010 22:41:13 +0000 (22:41 +0000)]
== python api docs ==

* source/gameengine/PyDoc/bge.types.rst:
  KX_PolygonMaterial was missing the parent class indication (PyObjectPlus)

* source/blender/python/doc/
  * unified all the "undocumented" descriptions, like
    so that it will be easy for Alex to CCS 'em and also now people will have a link to contribute descriptions,
  * moved the note about bpy_struct not being available in the api
    in a proper note directive, so that it's more evident
    (I didn't see it at first)

11 years agopatch [#22570] Text editor syntax coloring update
Campbell Barton [Fri, 11 Jun 2010 15:35:11 +0000 (15:35 +0000)]
patch [#22570] Text editor syntax coloring update
from Jacob F (raccoon)

This does two things to the text editor:
1) Adds coloring (same color as numbers) for True and False.
2) Fixes [#22551] Syntax coloring offset does not update when using real tabs and changing tab width

11 years ago[#22554] Register option on Texts doesn't work anymore
Campbell Barton [Fri, 11 Jun 2010 14:10:02 +0000 (14:10 +0000)]
[#22554] Register option on Texts doesn't work anymore
there were no hints that '.py' extension is needed, added tooltip.

11 years ago[#22496] OpenSuse 11.2 The problem with built-Povray
Campbell Barton [Fri, 11 Jun 2010 13:45:58 +0000 (13:45 +0000)]
[#22496] OpenSuse 11.2 The problem with built-Povray
give a better error message when povray isnt found.

11 years agoDeny applying location/rotation to 2D curve - such transformation could
Sergey Sharybin [Fri, 11 Jun 2010 13:00:24 +0000 (13:00 +0000)]
Deny applying location/rotation to 2D curve - such transformation could
make points have non-zero local z-coordinates, which is confusing for 2D.

11 years agorna api
Campbell Barton [Fri, 11 Jun 2010 10:46:47 +0000 (10:46 +0000)]
rna api
- ParticleHairKey.location can now be set (object space location).
- Library.parent was set to ID type.

11 years agogame world buttons had old property name for mist toggle
Campbell Barton [Fri, 11 Jun 2010 09:09:57 +0000 (09:09 +0000)]
game world buttons had old property name for mist toggle

11 years agoFixed bug #21348, Hide selection in Edit Mode not working with some modifiers (VBOs)
Nicholas Bishop [Fri, 11 Jun 2010 07:57:43 +0000 (07:57 +0000)]
Fixed bug #21348, Hide selection in Edit Mode not working with some modifiers (VBOs)

Was actually a couple bugs:
* VBO bug was that hidden faces weren't being skipped correctly. Fixed that and rewrote this bit of VBO drawing code more clearly (less duplication, less unecessary state, and comments even)
* Second bug was that CCGDerivedMesh wasn't outputing ORIGINDEX data for faces. (it's not doing it for edges or verts either, but I don't know that we need it to.) At any rate, we do need this data for faces so that additional DerivedMeshes on top of subsurf know what faces in the editmesh are hidden.

11 years agocreate COMPAT_ENGINE in game panels to allow external game engines - patch from Xavie...
Dalai Felinto [Thu, 10 Jun 2010 23:53:13 +0000 (23:53 +0000)]
create COMPAT_ENGINE in game panels to allow external game engines - patch from Xavier Thomas(xat)

11 years agobugfix [#22569] Bezier splines.points segfault
Campbell Barton [Thu, 10 Jun 2010 22:11:41 +0000 (22:11 +0000)]
bugfix [#22569] Bezier splines.points segfault

11 years agoclear python console namespace when used with a new window manager, otherwise old...
Campbell Barton [Thu, 10 Jun 2010 21:31:39 +0000 (21:31 +0000)]
clear python console namespace when used with a new window manager, otherwise old python objects are kept around between opening different blend files (leaking memory).
ideally loading a new file would clear the namespace but practically its unliekly to be a problem.

11 years agoCopy name from original modifier rather than generate new unique in copy_object
Sergey Sharybin [Thu, 10 Jun 2010 21:23:09 +0000 (21:23 +0000)]
Copy name from original modifier rather than generate new unique in copy_object

11 years agoFix bug #22563 Two modifers with same name on one object
Diego Borghetti [Thu, 10 Jun 2010 21:12:22 +0000 (21:12 +0000)]
Fix bug #22563 Two modifers with same name on one object

The copy_object function don't call modifier_unique_name so
every modifier (in this case, the array) get the same name.

11 years agoFixed bug #22558, Show Cone & Square look strange
Nicholas Bishop [Thu, 10 Jun 2010 19:35:37 +0000 (19:35 +0000)]
Fixed bug #22558, Show Cone & Square look strange

* Fixed a couple things: for triangle fans, you have to put an extra vert to make them closed, and also flipped the draw order so that the normals went the same as for circle cones.

11 years agobugfix [#22561] Make Dupliface Memory Leak
Campbell Barton [Thu, 10 Jun 2010 18:56:52 +0000 (18:56 +0000)]
bugfix [#22561] Make Dupliface Memory Leak

11 years agosetting the sequencer strip filepath for sound strips would rename the strip path...
Campbell Barton [Thu, 10 Jun 2010 15:41:01 +0000 (15:41 +0000)]
setting the sequencer strip filepath for sound strips would rename the strip path but not the sounds,
resulting in sounds that didnt play in the sequencer unless you removed and replaced them with a strip that pointed to the new path.

The way these 2 datablocks work together is a bit odd, I think this is OK for now but should be better defined.

11 years agoMinor modification to how objects are selected for animation baking,
Campbell Barton [Thu, 10 Jun 2010 14:42:24 +0000 (14:42 +0000)]
Minor modification to how objects are selected for animation baking,
Rather then only baking parent objects. Only bake objects which are have no parents in the original scene.
This allows for parenting and unparenting within the game engine without gaps in the animation curves.

11 years agolamp drawing clip start request by venomgfx, with wide lamps its hard to tell where...
Campbell Barton [Thu, 10 Jun 2010 07:57:25 +0000 (07:57 +0000)]
lamp drawing clip start request by venomgfx, with wide lamps its hard to tell where clip start is at the edge of a lamp.

11 years agomore cleanup to bpy.context.copy(), exclude rna values and its self.
Campbell Barton [Wed, 9 Jun 2010 19:44:06 +0000 (19:44 +0000)]
more cleanup to bpy.context.copy(), exclude rna values and its self.

11 years agopy/rna api:
Campbell Barton [Wed, 9 Jun 2010 19:31:10 +0000 (19:31 +0000)]
py/rna api:
- bpy.context wasnt being created from the python bpy.types.Context type defined in (bpy.context.copy() failed for eg.)
- bpy.context.copy() was returning C defined methods like FloatProperty(), which are not useful in this case, removed.

11 years agoenable adding objects in background mode by not using the context to get the object...
Campbell Barton [Wed, 9 Jun 2010 19:20:05 +0000 (19:20 +0000)]
enable adding objects in background mode by not using the context to get the object added.

11 years agopep8, whitespace edits
Campbell Barton [Wed, 9 Jun 2010 19:12:03 +0000 (19:12 +0000)]
pep8, whitespace edits

11 years agofix for crash setting the objects layers
Campbell Barton [Wed, 9 Jun 2010 15:56:50 +0000 (15:56 +0000)]
fix for crash setting the objects layers

11 years agoFix #22317 View reamins in camera's view after camera is deleted (again)
Diego Borghetti [Wed, 9 Jun 2010 15:35:10 +0000 (15:35 +0000)]
Fix #22317 View reamins in camera's view after camera is deleted (again)

The problem was not in the editors, the code in blenkernel have a XXX
in the perspective value. Now unlink_object also update the ARegion.

11 years agorecent addition: Shift+H in node editor was switching the preview of node types that...
Campbell Barton [Wed, 9 Jun 2010 14:17:22 +0000 (14:17 +0000)]
recent addition: Shift+H in node editor was switching the preview of node types that didnt support it.

11 years ago- added a flag argument to WM_operator_properties_filesel() currently only used for...
Campbell Barton [Wed, 9 Jun 2010 14:04:34 +0000 (14:04 +0000)]
- added a flag argument to WM_operator_properties_filesel() currently only used for relative path option.
- added relative option to saving external multires data
- renamed multires external functiosn to have save / pack as suffix.
- added TODO's for file select operators that should support relative paths but dont.

- also disable openmp on linux cross compile, mingw currently isnt linking -lgomp

11 years agopython utility property library.users_id: returns a tuple of all ID datablocks which...
Campbell Barton [Wed, 9 Jun 2010 09:48:41 +0000 (09:48 +0000)]
python utility property library.users_id: returns a tuple of all ID datablocks which use this library.

11 years agoattempt to fix problem with quicktime on MSVC
Campbell Barton [Wed, 9 Jun 2010 08:33:22 +0000 (08:33 +0000)]
attempt to fix problem with quicktime on MSVC

11 years agorename rna function obj.make_display_list(scene) --> obj.update(scene)
Campbell Barton [Wed, 9 Jun 2010 08:24:31 +0000 (08:24 +0000)]
rename rna function obj.make_display_list(scene) --> obj.update(scene)
also added 3 optional bool arguments, 'object', 'data' & 'time', matching the object recalc flags.

11 years agoLogic Editor: bugfix for "Unable to Add Controllers sometimes" (reported in IRC by...
Dalai Felinto [Wed, 9 Jun 2010 08:00:45 +0000 (08:00 +0000)]
Logic Editor: bugfix for "Unable to Add Controllers sometimes" (reported in IRC by Daniel Salazar (ZanQdo)
What was happening; if
the old code (2.49) was changing the status from 0 to 1 inside the interface code. e.g. if (!ob->status) ob->status = 1;
Initializing it properly (in blenkernel) and making sure the new status is ever 0 (in rna_object.c) should fix it.

And yes, the log is bigger than the patch !

11 years agoFix [#22188] Minor UI bug with panels in the properties window.
Matt Ebb [Wed, 9 Jun 2010 07:55:49 +0000 (07:55 +0000)]
Fix [#22188] Minor UI bug with panels in the properties window.

This prevents header-less panels (such as object name in object properties) from being re-sorted
when dragging other panels.

Also minor tweak, make the 'a' key shortcut to open and close panels only work with there are no
other modifier keys (like alt).

11 years agoreverting own recent change to switch off RULE_MESSAGES since you cant see which...
Campbell Barton [Wed, 9 Jun 2010 06:21:07 +0000 (06:21 +0000)]
reverting own recent change to switch off RULE_MESSAGES since you cant see which files are rebuilding.

11 years agoFix [#22111] Quad View panes have wrong view when switching between Global/Local...
Matt Ebb [Wed, 9 Jun 2010 04:54:10 +0000 (04:54 +0000)]
Fix [#22111] Quad View panes have wrong view when switching between Global/Local View

Joe already committed this to render branch in r28545, but it's not in trunk.
The code that was committed doesn't seem to work properly, either, needs braces.

11 years agoFix [#22538] Crash when Selecting Particle Properties Tab (File-dependant)
Matt Ebb [Wed, 9 Jun 2010 02:42:20 +0000 (02:42 +0000)]
Fix [#22538] Crash when Selecting Particle Properties Tab (File-dependant)

psys->parent pointer wasn't getting handled in lib_link_particlesystems()