11 years ago- added back zlib include (needed for win32).
Campbell Barton [Tue, 7 Sep 2010 01:13:10 +0000 (01:13 +0000)]
- added back zlib include (needed for win32).
- use list append in more places.
- remove non existing include dir.

11 years agobugfix [#23464] Crash on Tab
Campbell Barton [Tue, 7 Sep 2010 00:32:45 +0000 (00:32 +0000)]
bugfix [#23464] Crash on Tab
OBJ importing edges would produce corrupt meshes because face edges were not created.

11 years agobugfix [#23631] Faces and edges missing in edit mode
Campbell Barton [Tue, 7 Sep 2010 00:20:31 +0000 (00:20 +0000)]
bugfix [#23631] Faces and edges missing in edit mode
there was no way to clear fgons.

11 years agoin response to bug [#23701] Edit Mode: unable to bind vertex/edge/face select modes...
Campbell Barton [Mon, 6 Sep 2010 22:43:09 +0000 (22:43 +0000)]
in response to bug [#23701] Edit Mode: unable to bind vertex/edge/face select modes to keys
while not a bug, being able to cycle over vertex/edge/face modes is useful. added an operator to cycle an array, could be used for cycling the active layer or mesh edit mode.

11 years agobugfix [#23702] Parent to hidden object crashes
Campbell Barton [Mon, 6 Sep 2010 22:10:51 +0000 (22:10 +0000)]
bugfix [#23702] Parent to hidden object crashes

11 years agobugfix [#23704] Background image does not support special german letters
Campbell Barton [Mon, 6 Sep 2010 22:00:15 +0000 (22:00 +0000)]
bugfix [#23704] Background image does not support special german letters

11 years agobugfix [#23656] Problems retrieving properties from inside runtime-created PointerPro...
Campbell Barton [Mon, 6 Sep 2010 15:54:08 +0000 (15:54 +0000)]
bugfix [#23656] Problems retrieving properties from inside runtime-created PointerProperties

cant test if this fix solves the problem matt is having but it at least fixes an error caused by classes created in exec(),
when the properties pointers were copied the hash key still referred to the python object which could be freed. in most cases this wouldnt happen (would be kept in bytecode) but with exec() the property string is freed immediately.

11 years agobugfix [#23663] relative path dind work on linux
Campbell Barton [Mon, 6 Sep 2010 13:28:57 +0000 (13:28 +0000)]
bugfix [#23663] relative path dind work on linux

11 years agobugfix [#23674] Fix for texture path corruptions (bug 23337)
Campbell Barton [Mon, 6 Sep 2010 12:54:54 +0000 (12:54 +0000)]
bugfix [#23674] Fix for texture path corruptions (bug 23337)
from Mathew Burrack (mburrack)
...also applied a fix so this flag wont be written but including this patch for older startup.blend's.

--- from the tracker
I've created a patch for the texture path corruption bug, 23337. Basically, G_FILE_RELATIVE_REMAP was improperly getting
saved out to the startup.blend file, causing issues when the autosave timer went off. The proper fix is to mask out
that flag so it doesn't get written out to .blend files itself, but since that doesn't fix any pre-existing startup.blend
files, I just mask it out when startup.blend is read in instead.

I've tested it locally and so far, it seems to fix all the issues I've had with texture image paths getting corrupted.
I haven't figured out how to properly test the remap-on-save option in the save as dialog, though, so I don't know if
I accidentally broke that or not (although I don't see how I could have).

11 years agobugfix [#23593] using material_slot.material=material_slot.material.copy() causes...
Campbell Barton [Mon, 6 Sep 2010 11:29:23 +0000 (11:29 +0000)]
bugfix [#23593] using material_slot.material=material_slot.material.copy() causes inescapable loop and blender to hang

11 years agoFix for [#23028] Driver gets remapped when importing 2.49 file
Janne Karhu [Mon, 6 Sep 2010 10:35:32 +0000 (10:35 +0000)]
Fix for [#23028] Driver gets remapped when importing 2.49 file
* Rotation drivers weren't converted properly from ipos to fcurves.

11 years agobugfix [#23697] New Empty Scene lacks World Settings
Campbell Barton [Mon, 6 Sep 2010 10:25:38 +0000 (10:25 +0000)]
bugfix [#23697] New Empty Scene lacks World Settings

11 years ago- use list append in more places (preferred method since its faster)
Campbell Barton [Mon, 6 Sep 2010 10:15:41 +0000 (10:15 +0000)]
- use list append in more places (preferred method since its faster)
- remove some unused include paths
- remove unused linux path define

11 years agoFix for [#22960] UV/Image editor - Back to Previous button
Janne Karhu [Mon, 6 Sep 2010 09:46:34 +0000 (09:46 +0000)]
Fix for [#22960] UV/Image editor - Back to Previous button

11 years agobugfix [#23641] enable/disable switch of "Limit" Constraints are inverting
Campbell Barton [Mon, 6 Sep 2010 07:26:21 +0000 (07:26 +0000)]
bugfix [#23641] enable/disable switch of "Limit" Constraints are inverting

11 years agobugfix [#23695] SigSegV when deleting camera from multiple scenes via outline pop...
Campbell Barton [Mon, 6 Sep 2010 06:48:19 +0000 (06:48 +0000)]
bugfix [#23695] SigSegV when deleting camera from multiple scenes via outline pop-up menu

11 years agodisplay_properties was being re-defined for each keymap item.
Campbell Barton [Mon, 6 Sep 2010 06:04:05 +0000 (06:04 +0000)]
display_properties was being re-defined for each keymap item.

11 years agorevert keymap name commit, matt says everything should be '2D View', '3D View......
Campbell Barton [Mon, 6 Sep 2010 05:40:52 +0000 (05:40 +0000)]
revert keymap name commit, matt says everything should be '2D View', '3D View...' etc, so for now just go back to what we had.

reverse merge:
 svn merge -r31774:31773 .

11 years agocommitted by accident
Campbell Barton [Mon, 6 Sep 2010 05:35:09 +0000 (05:35 +0000)]
committed by accident

11 years agobugfix [#23552] keymaps big problem
Campbell Barton [Mon, 6 Sep 2010 05:27:54 +0000 (05:27 +0000)]
bugfix [#23552] keymaps big problem

11 years agorename '3D View' keymap, since its know as 'View 3D' for other areas of the keymap...
Campbell Barton [Mon, 6 Sep 2010 05:20:05 +0000 (05:20 +0000)]
rename '3D View' keymap, since its know as 'View 3D' for other areas of the keymap editor.

11 years agoReport by Dan Eicher (dna). [#23694] ColorRampElement.position typo
Daniel Salazar [Mon, 6 Sep 2010 00:33:08 +0000 (00:33 +0000)]
Report by Dan Eicher (dna). [#23694] ColorRampElement.position typo

11 years agoThis fixes: [#23260] VSE Marking with shortcuts doesn't work
Peter Schlaile [Sun, 5 Sep 2010 15:18:45 +0000 (15:18 +0000)]
This fixes: [#23260] VSE Marking with shortcuts doesn't work

11 years agopatch [#23671] [desktop file] add translations and remove deprecated key.
Campbell Barton [Sun, 5 Sep 2010 15:15:27 +0000 (15:15 +0000)]
patch [#23671] [desktop file] add translations and remove deprecated key.
from Cosme Domínguez Díaz (cosme)

11 years agoFix #23680: Explode with Split Edges over SubSurf - crash
Sergey Sharybin [Sun, 5 Sep 2010 12:17:35 +0000 (12:17 +0000)]
Fix #23680: Explode with Split Edges over SubSurf - crash

Edge splitting function used CDDM_get_faces to get faces array, which isn't correct
for this case: dm's type is ccgDM. Use dm->getFaceArray instead.

11 years agoWindows Icons:
Thomas Dinges [Sun, 5 Sep 2010 07:08:21 +0000 (07:08 +0000)]
Windows Icons:
* Removed old not used icons.
* Player is using the same icon file as the blender.exe now.

11 years agoBugfix for [#23571] Blender Desktop Icon does not change size under Vista and Windows 7
Thomas Dinges [Sun, 5 Sep 2010 06:31:31 +0000 (06:31 +0000)]
Bugfix for [#23571] Blender Desktop Icon does not change size under Vista and Windows 7
* Committing new logo, same design as old one, just larger size, by Alexander Kuznetsov
. Thank you!

Note: Could only test on Vista. But it should also work on XP machines.
Note 2 (to jesterKing, elubie: Vista uses the winblender.ico also for the blend files, it doesn't use the winblenderfile.ico. But I guess Windows XP use that still?
If not we could remove that, also blenderplayer, is same as blendericon.

11 years agoThis fixes: [#23672] If frame offset is too high the strip jumps forward
Peter Schlaile [Sat, 4 Sep 2010 20:55:31 +0000 (20:55 +0000)]
This fixes: [#23672] If frame offset is too high the strip jumps forward
when you try to move it.

11 years agoMerge -c 31610 (<instance_node> support) from COLLADA branch into trunk.
Arystanbek Dyussenov [Sat, 4 Sep 2010 19:27:04 +0000 (19:27 +0000)]
Merge -c 31610 (<instance_node> support) from COLLADA branch into trunk.

11 years agoBugfix for [#23676] Obj Import fails again.
Thomas Dinges [Sat, 4 Sep 2010 11:11:37 +0000 (11:11 +0000)]
Bugfix for [#23676] Obj Import fails again.

11 years agoSilence warning about BLI_sprintfN
Nathan Letwory [Sat, 4 Sep 2010 09:27:21 +0000 (09:27 +0000)]
Silence warning about BLI_sprintfN

11 years ago2.5 Constraints:
Thomas Dinges [Fri, 3 Sep 2010 16:45:33 +0000 (16:45 +0000)]
2.5 Constraints:
*Enable/Disable Checkbox was inverted.

11 years agoerror with allocating memory for a new material array (own fault in recent commit)
Campbell Barton [Fri, 3 Sep 2010 16:23:31 +0000 (16:23 +0000)]
error with allocating memory for a new material array (own fault in recent commit)

11 years agorna api
Campbell Barton [Fri, 3 Sep 2010 14:53:54 +0000 (14:53 +0000)]
rna api
- move: material.add_texture(tex, coords, mapto) --> material.texture_slots.add()
- added material.texture_slots.create(index), material.texture_slots.clear(index)
- texture slot functions also work for lamp and world now.

Other minor changes
- allow rna functions to set FUNC_NO_SELF and FUNC_USE_SELF_ID at once.
- [#23317] Changed some operators' RNA to accept lengths, a modification I made to this patch made it not work as intended, removed this edit so unit buttons appier in the UI for certain operators.
- Sphinx doc gen, 2 columns rather then 3, didnt quite fit in some cases.

11 years agosphinx doc gen
Campbell Barton [Fri, 3 Sep 2010 09:21:40 +0000 (09:21 +0000)]
sphinx doc gen
- use 3 column lists for inherited props, funcs and for references to save on vertical space.
- use the blender version string for the upload path and PDF name.

11 years agoFix for [#21101] Switch off collision at collision object is not recognised by fallin...
Janne Karhu [Fri, 3 Sep 2010 07:50:22 +0000 (07:50 +0000)]
Fix for [#21101] Switch off collision at collision object is not recognised by falling softbody Object
* When removing a modifier that effects the depsgraph the DAG_scene_sort has to be done after the update call so that dynamic systems can clear the collision surface properly.

11 years agoFix for [#22387] Collider stickiness seems to have broke
Janne Karhu [Fri, 3 Sep 2010 07:47:10 +0000 (07:47 +0000)]
Fix for [#22387] Collider stickiness seems to have broke
* Note that this fix might slightly change the simulation results of some files that use the stickiness value, but lowering the value should fix these issues.

11 years agouse set as a suffix (matches operators)
Campbell Barton [Fri, 3 Sep 2010 07:25:37 +0000 (07:25 +0000)]
use set as a suffix (matches operators)
 - set_frame() --> frame_set()
 - set_context_pointer() --> context_pointer_set()

material adding works for curves and metaballs, new function to remove materials. didnt well fit how this is used elsewhere
 - order matters
 - it can be linked more than once.
 - remove(material), isnt that useful since you need to manage indicies.

... use list style functions instead. materials.append(mat) / materials.pop(index)

11 years agoFix for [#19950] Object Particles and texture controlled density
Janne Karhu [Fri, 3 Sep 2010 06:18:23 +0000 (06:18 +0000)]
Fix for [#19950] Object Particles and texture controlled density
* The hair strands that were cut based on the texture weren't properly checked for in the duplication code.

11 years agoFix for [#23642] Particle system "Lifetime" setting does not animate
Janne Karhu [Fri, 3 Sep 2010 06:12:40 +0000 (06:12 +0000)]
Fix for [#23642] Particle system "Lifetime" setting does not animate

11 years agoFix for [#22147] Particle system, fight boids bug (dead particle)
Janne Karhu [Fri, 3 Sep 2010 05:54:09 +0000 (05:54 +0000)]
Fix for [#22147] Particle system, fight boids bug (dead particle)

11 years ago"Fix" for [#23640] particle system partially indifferent to vertex groups
Janne Karhu [Fri, 3 Sep 2010 05:48:19 +0000 (05:48 +0000)]
"Fix" for [#23640] particle system partially indifferent to vertex groups
* Some particle vertex groups haven't yet been reimplemented so commented these out in ui.

11 years agoChanged the error messages "Can't pack/unpack movie or image sequence." to more descr...
Janne Karhu [Fri, 3 Sep 2010 05:25:12 +0000 (05:25 +0000)]
Changed the error messages "Can't pack/unpack movie or image sequence." to more descriptive ones "Packing/Unpacking movies or image sequences not supported." as suggested by Brecht.

11 years agoFix [#23569] Convex hull bounds crash Blender
Nathan Letwory [Fri, 3 Sep 2010 05:18:36 +0000 (05:18 +0000)]
Fix [#23569] Convex hull bounds crash Blender
Reported by dobz116

This appears to happen only on 64bit Windows. An issue for this part of code was
reported at and fixed at . The code change also fixes
the crash we experience: merged changes.

11 years agoSVN maintenance.
Guillermo S. Romero [Fri, 3 Sep 2010 03:30:20 +0000 (03:30 +0000)]
SVN maintenance.

11 years agoscript for dumping rna api, to be used to generate api changes for release logs.
Campbell Barton [Fri, 3 Sep 2010 02:26:42 +0000 (02:26 +0000)]
script for dumping rna api, to be used to generate api changes for release logs.
added to review function calls too.

# * functions *
KeyConfig.keymaps.find(string name, enum space_type='EMPTY', enum region_type='WINDOW')  -->  KeyMap
KeyConfig.keymaps.find_modal(string name)  -->  KeyMap name, enum space_type='EMPTY', enum region_type='WINDOW', boolean modal=False)  -->  KeyMap name)  -->  KeyConfig
KeyConfigurations.remove(KeyConfig keyconfig)

# * properties *
WorldMistSettings.intensity   <--  float
WorldMistSettings.start   <--  float
WorldMistSettings.use_mist   <--  boolean
WorldStarsSettings.average_separation   <--  float
WorldStarsSettings.color_random   <--  float
WorldStarsSettings.distance_min   <--  float
WorldStarsSettings.size   <--  float
WorldStarsSettings.use_stars   <--  boolean

11 years agoFix [#23638] Missing directory creation
Nathan Letwory [Thu, 2 Sep 2010 22:04:33 +0000 (22:04 +0000)]
Fix [#23638] Missing directory creation
Reported and patched by Mariusz Maximus

I overlooked this one while fixing up for win64 compiling, because I had already manually created this directory.

11 years agoFix [#23578] Blender crashes when Audio Scrubbing is on
Nathan Letwory [Thu, 2 Sep 2010 21:56:08 +0000 (21:56 +0000)]
Fix [#23578] Blender crashes when Audio Scrubbing is on
Reported by Guy Smith.

MSVC-compiled code would fall over iterator decrease on empty list. Shortest snippet to redo:
See also for list.end() behaviour on MSVC. Thanks to Jörg Müller for assistance.

11 years agopatch from venomgfx, show number of textures assigned to lamps and world in the conte...
Campbell Barton [Thu, 2 Sep 2010 18:13:06 +0000 (18:13 +0000)]
patch from venomgfx, show number of textures assigned to lamps and world in the context panel

11 years agobugfix [#23635] property limits don't work when added via scripting\
Campbell Barton [Thu, 2 Sep 2010 14:43:22 +0000 (14:43 +0000)]
bugfix [#23635] property limits don't work when added via scripting\
also fix for bug where soft limits could be greater then hard limits with bpy.props.* functions.

11 years agorevert own commit which changed weight range, the set weight operator is for the...
Campbell Barton [Thu, 2 Sep 2010 10:56:50 +0000 (10:56 +0000)]
revert own commit which changed weight range, the set weight operator is for the goal weight, not the nurbs weight.

11 years agoFix for [#23298] Kill particle breaks when baking simulation
Janne Karhu [Thu, 2 Sep 2010 10:26:19 +0000 (10:26 +0000)]
Fix for [#23298] Kill particle breaks when baking simulation
* Cached particle die times are now read from cached data

11 years agoPossible fix for [#23334] Particle Mode - Weight editing crashes if large number...
Janne Karhu [Thu, 2 Sep 2010 09:11:40 +0000 (09:11 +0000)]
Possible fix for [#23334] Particle Mode - Weight editing crashes if large number of particles OR you have added in Particle Mode

11 years ago"Fix" for [#23621] lattice modifier on particle hair when applied doesn't apply it...
Janne Karhu [Thu, 2 Sep 2010 08:06:53 +0000 (08:06 +0000)]
"Fix" for [#23621] lattice modifier on particle hair when applied doesn't apply it to the hair
* Although not strictly a bug it is the expected behavior and won't mess anything else up.
* Note: the lattice is applied to the actual hair keys instead of the calculated strands so the applied result will differ a bit from the original.

11 years agoFix for [#22329] Particles won't render when display mode is different
Janne Karhu [Thu, 2 Sep 2010 07:24:38 +0000 (07:24 +0000)]
Fix for [#22329] Particles won't render when display mode is different

11 years ago- inconsistent rna names - use 'vertex_group_' as prefix, only ui scripts used this
Campbell Barton [Thu, 2 Sep 2010 07:00:34 +0000 (07:00 +0000)]
- inconsistent rna names - use 'vertex_group_' as prefix, only ui scripts used this
- change curve offset to be 0.0 for its rest/default value (not 1.0)

11 years agoFix for [#23136] Particle display percentage "forgotten" after render
Janne Karhu [Thu, 2 Sep 2010 06:58:54 +0000 (06:58 +0000)]
Fix for [#23136] Particle display percentage "forgotten" after render
* The actual problem was that the total amount of particles was rendered at all, since only the displayed percentage was calculated correctly.
* New behavior is that before baking (baking is always done for full % of particles) the display % is used for rendering too for dynamic particles.
* Also added a warning below the display % slider to inform about the situation.

11 years ago- new subclass for ID-Property based collections - this way add/remove/move functions...
Campbell Barton [Thu, 2 Sep 2010 06:35:00 +0000 (06:35 +0000)]
- new subclass for ID-Property based collections - this way add/remove/move functions will only be shown for types that support it.
- moved array attributes into array properties - saves 8 bytes per allocated non-array property.

11 years ago[#23462] Hair display affects rendered quantity
Janne Karhu [Thu, 2 Sep 2010 05:51:02 +0000 (05:51 +0000)]
[#23462] Hair display affects rendered quantity

11 years agoFix for [#23274] curve guide force particles to born at the wolrd's origine
Janne Karhu [Thu, 2 Sep 2010 05:37:54 +0000 (05:37 +0000)]
Fix for [#23274] curve guide force particles to born at the wolrd's origine
* Particle emitter location wasn't taken into account properly

11 years agorna context rename
Campbell Barton [Thu, 2 Sep 2010 04:53:05 +0000 (04:53 +0000)]
rna context rename
* context.main & bpy.types.Main --> context.blend_data & bpy.types.BlendData
* context.manager --> context.window_manager

11 years agoFix [#23613] Align active camera to view vs toggle camera acts odd
Nathan Letwory [Thu, 2 Sep 2010 00:24:33 +0000 (00:24 +0000)]
Fix [#23613] Align active camera to view vs toggle camera acts odd
Reported by Reiner Prokein

After aligning active camera toggling between last view and camera worked wrong in such a way that the view previous to the one to which was aligned was rotated to. In some cases rotation to last view seemed incomplete and ortho was used. Thanks to M.G. Kishalmi (lmg) for showing through a Skype screen share.

This is now fixed by copying the current view info before active camera is aligned.

11 years agoRenaming of Cylindric objects after a good proposal by Conz:
Thomas Dinges [Wed, 1 Sep 2010 21:11:33 +0000 (21:11 +0000)]
Renaming of Cylindric objects after a good proposal by Conz:

Mesh Tube > Mesh Cylinder
NURBS Tube > NURBS Cylinder
Metaball Cylinder > Metaball Capsule

I know that naming is something not everyone agrees on, but these terms look geometrically correct.

11 years agoSpell fix, reported by troy_s in IRC.
Thomas Dinges [Wed, 1 Sep 2010 21:06:25 +0000 (21:06 +0000)]
Spell fix, reported by troy_s in IRC.

11 years agoFix "no newline at end of file" warnings in *nix.
Ken Hughes [Wed, 1 Sep 2010 21:02:27 +0000 (21:02 +0000)]
Fix "no newline at end of file" warnings in *nix.

11 years agoAudaspace: Removing an unneeded function.
Joerg Mueller [Wed, 1 Sep 2010 20:33:26 +0000 (20:33 +0000)]
Audaspace: Removing an unneeded function.

11 years agoInternal Code Renaming:
Thomas Dinges [Wed, 1 Sep 2010 20:18:31 +0000 (20:18 +0000)]
Internal Code Renaming:
Donut > Torus

11 years agoSVN maintenance.
Guillermo S. Romero [Wed, 1 Sep 2010 19:39:37 +0000 (19:39 +0000)]
SVN maintenance.

11 years agoSend NC_SCENE|ND_TOOLSETTINGS notifier when select mode was forced to edge select
Sergey Sharybin [Wed, 1 Sep 2010 17:03:31 +0000 (17:03 +0000)]
Send NC_SCENE|ND_TOOLSETTINGS notifier when select mode was forced to edge select
in loop cut operator. Header buttons have "delayed" update without this notifier.

11 years agohave rna function obj.as_pointer() return a memory address rather then a PyCapsule...
Campbell Barton [Wed, 1 Sep 2010 15:25:22 +0000 (15:25 +0000)]
have rna function obj.as_pointer() return a memory address rather then a PyCapsule object.
this can be passed to ctypes.c_void_p(bpy.context.object.as_pointer())

11 years agoFix [#23612] OBJ import with imports double textures
Nathan Letwory [Wed, 1 Sep 2010 14:49:34 +0000 (14:49 +0000)]
Fix [#23612] OBJ import with imports double textures
Reported by Reiner Prokein

A .obj file can have multiple mtllib statements with the same name. Ensure that only one occurance is saved, so we don't get multiple entries from same material.

Also fix tabs -> spaces

11 years agobugfix [#23285] Exporters not available whel using special characters in path name
Campbell Barton [Wed, 1 Sep 2010 14:13:48 +0000 (14:13 +0000)]
bugfix [#23285] Exporters not available whel using special characters in path name
- ID properties now suopport non utf-8 strings for their values but not their keys.
- moved utility functions into py_capi_utils.c from bpy_utils and bpy_rna.
- import/export paths have to be printed with repr() or %r, so non utf-8 chars are escaped.

11 years ago* add missing imports
Nathan Letwory [Wed, 1 Sep 2010 13:55:41 +0000 (13:55 +0000)]
* add missing imports
* fix indentation: tabs -> spaces

11 years agoQuicky - allow dragging an image on a 3d view background
Matt Ebb [Wed, 1 Sep 2010 13:41:53 +0000 (13:41 +0000)]
Quicky - allow dragging an image on a 3d view background
to set it as the background image. Dragging on an object still
sets it to face-mapped texture.

11 years agofinished moving importers and exporters into python packages (as proposed on the...
Campbell Barton [Wed, 1 Sep 2010 12:11:34 +0000 (12:11 +0000)]
finished moving importers and exporters into python packages (as proposed on the mailing list).
- made operator dir's into python packages
- lazy loading of module which do the actual import and export (faster blender load times)
- general maintanance and small fixes.
- bugfix for exporting x3d materials
- leak fix for exporting 3ds

11 years agopoll function for py api operator access
Campbell Barton [Wed, 1 Sep 2010 11:16:11 +0000 (11:16 +0000)]
poll function for py api operator access
 if bpy.ops.object.mode_set.poll():

11 years agoParticle billboards weren't created properly
Janne Karhu [Wed, 1 Sep 2010 10:29:03 +0000 (10:29 +0000)]
Particle billboards weren't created properly

11 years agoFix for [#23596] Particle Harmonics cache problem
Janne Karhu [Wed, 1 Sep 2010 09:47:19 +0000 (09:47 +0000)]
Fix for [#23596] Particle Harmonics cache problem
* Non-dynamic particles weren't reset properly because they don't use pointcache

11 years agoAdded missing ID_NEW() in set_sca_new_poins_ob() as pointed out by Dalai.
Benoit Bolsee [Wed, 1 Sep 2010 08:09:23 +0000 (08:09 +0000)]
Added missing ID_NEW() in set_sca_new_poins_ob() as pointed out by Dalai.

11 years agoremove debug prints
Nathan Letwory [Wed, 1 Sep 2010 06:51:20 +0000 (06:51 +0000)]
remove debug prints

11 years agoPython library copying hack.
Nathan Letwory [Wed, 1 Sep 2010 06:19:38 +0000 (06:19 +0000)]
Python library copying hack.

When creating project files the multi-configuration generator is used. CMAKE_BUILD_TYPE is then not set, so always release libs were copied.
For now copy both release and debug.

11 years ago* Don't use /ZI when 64bit building on Windows. Use /Zi instead.
Nathan Letwory [Wed, 1 Sep 2010 05:39:26 +0000 (05:39 +0000)]
* Don't use /ZI when 64bit building on Windows. Use /Zi instead.
* Copy files to ${BLENDER_VERSION} instead of .blender/
* Don't try to copy iconv.dll when 64bit building on Windows - it is static for 64bit.

11 years agoexcuse the noise, adding type's in format package names.
Campbell Barton [Wed, 1 Sep 2010 03:06:28 +0000 (03:06 +0000)]
excuse the noise, adding type's in format package names.

11 years agomoving import/export scripts into packages (just moving scripts, need to add __init__...
Campbell Barton [Wed, 1 Sep 2010 03:02:30 +0000 (03:02 +0000)]
moving import/export scripts into packages (just moving scripts, need to add still, temp break import/exporters)

11 years agocleanup duplicate GPL haeders, blender made 2.4x __bpydoc__ into __doc__, removed...
Campbell Barton [Wed, 1 Sep 2010 02:48:23 +0000 (02:48 +0000)]
cleanup duplicate GPL haeders, blender made 2.4x __bpydoc__ into __doc__, removed version info, (thats what svn logs are for).
also moved create_derived_objects & free_derived_objects into io_utils, used by x3d and 3ds.

11 years agouse mix-in classes for import export operators, these define the filepath property...
Campbell Barton [Wed, 1 Sep 2010 02:25:49 +0000 (02:25 +0000)]
use mix-in classes for import export operators, these define the filepath property and invoke function at the moment.

11 years agoAdding intern/guardedalloc include dir for bad_level_call_stubs (stubs.c). This updat...
Mitchell Stokes [Tue, 31 Aug 2010 23:55:41 +0000 (23:55 +0000)]
Adding intern/guardedalloc include dir for bad_level_call_stubs (stubs.c). This update is for cmake and scons.

This is needed since RNA_types.h now includes BLO_sys_types.h

11 years agoFix for "RNA_enum_get: ActionActuator.mode not found.". It was broken since recent...
Dalai Felinto [Tue, 31 Aug 2010 22:27:54 +0000 (22:27 +0000)]
Fix for "RNA_enum_get: ActionActuator.mode not found.". It was broken since recent rna renaming
Found while looking at another bug, unfortunately it's unrelated :)

11 years agoRNA Renaming Fixes for particle UI.
Thomas Dinges [Tue, 31 Aug 2010 15:12:24 +0000 (15:12 +0000)]
RNA Renaming Fixes for particle UI.

11 years agosimple NULL check to fix a crash when running in background mode
Campbell Barton [Tue, 31 Aug 2010 14:56:14 +0000 (14:56 +0000)]
simple NULL check to fix a crash when running in background mode

11 years agoFixes for RNA Renaming in Texture Properties (Volume Material)
Thomas Dinges [Tue, 31 Aug 2010 14:54:04 +0000 (14:54 +0000)]
Fixes for RNA Renaming in Texture Properties (Volume Material)

11 years agopatch [#23585] Fix for [#23553] in File Selector; Multiple Calls of Selector
Campbell Barton [Tue, 31 Aug 2010 14:22:00 +0000 (14:22 +0000)]
patch [#23585] Fix for [#23553] in File Selector; Multiple Calls of Selector
from Alexander Kuznetsov (alexk)
bugfix for [#23553] F2 on filebrowser = bug?

from the tracker
--- snip
File Explorer redraws weirdly on second press of F2 if non-default view or file types were selected previously.

This patch prohibits second call of file selector in the same window.

The bug goes much deeper. If file selector is never closed properly (cancel or select), it never gets released. (at
least the handler). If you press F2 or Ctrl-F3 ten times and than "Back to Previous" and repeat all of this
several times Blender will freeze. Also after calling file selector at least two times, on cancellation Blender will
return to full area independently to what state it was before.

include small unrelated change to quiet unpack prints when fonts are not found.

11 years ago2.5 Fluid UI:
Thomas Dinges [Tue, 31 Aug 2010 12:54:17 +0000 (12:54 +0000)]
2.5 Fluid UI:
* Required memory is now shown on the Bake Operator, rather as an extra label.

11 years agorna support for passing dynamic sized arrays to rna functions
Campbell Barton [Tue, 31 Aug 2010 11:31:21 +0000 (11:31 +0000)]
rna support for passing dynamic sized arrays to rna functions
using this for object.vertex_groups.assign([index list ...], group, weight, mode)

11 years agoFix [#23592] WM draw method detection fails for Mesa's software rasterizer.
Nathan Letwory [Tue, 31 Aug 2010 11:30:13 +0000 (11:30 +0000)]
Fix [#23592] WM draw method detection fails for Mesa's software rasterizer.
Reported and patched by Vinay Pawar.

The drawing method will be set to Overlap on detection of Mesa software rasterizer.

11 years ago== userprefs: addons ==
Luca Bonavita [Tue, 31 Aug 2010 02:41:33 +0000 (02:41 +0000)]
== userprefs: addons ==

- From now on addons bl_addon_info['name'] doesn't need to specifcy also the category, it is put automatically in the addon box title
  In some script category and the category in the title were not matching, this had to be fixed manually.

- The warning icon is at the right of the addon box title, so that it cant disalign the addon name anymore when we have a warning.

- After discussing with Campbell, I've added the field bl_addon_info['api'] where we should specify the Blender API version number the addon is
compatible with.
  This is certainly useful for clarity, and also I need it in place while preparing the downloadable addons.

- Also, bl_addon_info['version'] is now assumed to be a tuple of integers as it is bl_addon_info['blender'].
  Any important text should be placed in the bl_addon_info['warning'] field, not in the script version anymore.
  I'm going to reflect this change in bf-extensions so that scripts won't suddenly break.

11 years agoUpdating stubs.c.
Mitchell Stokes [Mon, 30 Aug 2010 20:35:24 +0000 (20:35 +0000)]
Updating stubs.c.
  * WM_keyconfig_add -> WM_keyconfig_new
  * WM_keyconfig_add_user -> WM_keyconfig_new_user

11 years agoFix spelling.
Guillermo S. Romero [Mon, 30 Aug 2010 19:51:12 +0000 (19:51 +0000)]
Fix spelling.

11 years agoanother function moved, should be last of the simple cases.
Campbell Barton [Mon, 30 Aug 2010 14:48:12 +0000 (14:48 +0000)]
another function moved, should be last of the simple cases.
 km.item_from_id() --> km.items.from_id()

11 years agomissed this one too
Campbell Barton [Mon, 30 Aug 2010 14:33:46 +0000 (14:33 +0000)]
missed this one too
 scene.add_keying_set() -->
also removed the use_ prefix since argument names, since this is mainly for properties.