blender.git
8 years agodoxygen: intern/itasc tagged
Nathan Letwory [Fri, 25 Feb 2011 11:45:16 +0000 (11:45 +0000)]
doxygen: intern/itasc tagged

8 years agodoxygen: intern/iksolver tagged. Leaving out TNT, since we have it in multiple locations.
Nathan Letwory [Fri, 25 Feb 2011 11:43:19 +0000 (11:43 +0000)]
doxygen: intern/iksolver tagged. Leaving out TNT, since we have it in multiple locations.

8 years agodoxygen: intern/guardedalloc tagged
Nathan Letwory [Fri, 25 Feb 2011 11:41:12 +0000 (11:41 +0000)]
doxygen: intern/guardedalloc tagged

8 years agodoxygen: fixup and tag intern/ghost.
Nathan Letwory [Fri, 25 Feb 2011 11:28:33 +0000 (11:28 +0000)]
doxygen: fixup and tag intern/ghost.

8 years agoneeded for building without python
Campbell Barton [Fri, 25 Feb 2011 11:25:11 +0000 (11:25 +0000)]
needed for building without python

8 years agobugfix #26211
M.G. Kishalmi [Fri, 25 Feb 2011 11:00:38 +0000 (11:00 +0000)]
bugfix #26211

render-result doesn't get an ibuf with BKE_image_get_ibuf
added a poll method to grey-out entries if !ibuf for now.

8 years agoSmall fix from sambler.
Nathan Letwory [Fri, 25 Feb 2011 10:58:04 +0000 (10:58 +0000)]
Small fix from sambler.

8 years agodoxygen: intern/elbeem tagged
Nathan Letwory [Fri, 25 Feb 2011 10:51:01 +0000 (10:51 +0000)]
doxygen: intern/elbeem tagged

8 years agodoxygen: intern/decimation tagged
Nathan Letwory [Fri, 25 Feb 2011 10:47:28 +0000 (10:47 +0000)]
doxygen: intern/decimation tagged

8 years agodoxygen: intern/container tagged
Nathan Letwory [Fri, 25 Feb 2011 10:45:31 +0000 (10:45 +0000)]
doxygen: intern/container tagged

8 years agodoxygen: intern/bsp tagged
Nathan Letwory [Fri, 25 Feb 2011 10:44:20 +0000 (10:44 +0000)]
doxygen: intern/bsp tagged

8 years agodoxygen: update Doxyfile and split doxygen.main
Nathan Letwory [Fri, 25 Feb 2011 10:34:04 +0000 (10:34 +0000)]
doxygen: update Doxyfile and split doxygen.main

8 years agodoxygen: intern/boolop tagged
Nathan Letwory [Fri, 25 Feb 2011 10:32:33 +0000 (10:32 +0000)]
doxygen: intern/boolop tagged

8 years agodoxygen: opennl tagged.
Nathan Letwory [Fri, 25 Feb 2011 10:24:29 +0000 (10:24 +0000)]
doxygen: opennl tagged.

renamed BLO_sys_types.h to superlu_sys_types.h

8 years agodoxgyen: audaspace tagged.
Nathan Letwory [Fri, 25 Feb 2011 10:21:56 +0000 (10:21 +0000)]
doxgyen: audaspace tagged.

8 years agodoxygen: small fixes and tag adding
Nathan Letwory [Fri, 25 Feb 2011 10:20:37 +0000 (10:20 +0000)]
doxygen: small fixes and tag adding

8 years agofix #if errors, add defined() in proper places
Nathan Letwory [Fri, 25 Feb 2011 10:01:33 +0000 (10:01 +0000)]
fix #if errors, add defined() in proper places
doxygen: add file tags

8 years agoFix for [#26205] Crash when duplicating window
Janne Karhu [Fri, 25 Feb 2011 08:40:57 +0000 (08:40 +0000)]
Fix for [#26205] Crash when duplicating window
* Timeline duplication code freed the original time caches too.

8 years agoFix buildinfo, as pointed by IRIE Shinsuke.
Guillermo S. Romero [Fri, 25 Feb 2011 06:03:01 +0000 (06:03 +0000)]
Fix buildinfo, as pointed by IRIE Shinsuke.
Added a note about doubtful "copy if different".

8 years agointernal operator/wm/macro function: dont crash if operators are not found (warning...
Campbell Barton [Fri, 25 Feb 2011 04:15:45 +0000 (04:15 +0000)]
internal operator/wm/macro function: dont crash if operators are not found (warning will be printed).

8 years agoMake buildinfo not fail with git-svn as suggested by Nicholas Bishop.
Guillermo S. Romero [Fri, 25 Feb 2011 04:02:58 +0000 (04:02 +0000)]
Make buildinfo not fail with git-svn as suggested by Nicholas Bishop.
Improve formating and comments a bit.

8 years agoremove warning left in by mistake and comment unused function.
Campbell Barton [Fri, 25 Feb 2011 02:27:54 +0000 (02:27 +0000)]
remove warning left in by mistake and comment unused function.

8 years agoSVN maintenance.
Guillermo S. Romero [Fri, 25 Feb 2011 00:02:08 +0000 (00:02 +0000)]
SVN maintenance.

8 years agofix for cmake not having the correct svn revision in buildinfo, now generate a header...
Campbell Barton [Thu, 24 Feb 2011 17:57:35 +0000 (17:57 +0000)]
fix for cmake not having the correct svn revision in buildinfo, now generate a header every build with the time, date, svn revision.

8 years agoface-paint mode operators were not ported from 2.4x yet hide/reveal/sel-swap
Campbell Barton [Thu, 24 Feb 2011 16:04:36 +0000 (16:04 +0000)]
face-paint mode operators were not ported from 2.4x yet hide/reveal/sel-swap
also added hide-unselected option to armature mode.

8 years agoFixed memory leak in group nodes. Only buffers from exposed sockets should remain...
Lukas Toenne [Thu, 24 Feb 2011 15:48:09 +0000 (15:48 +0000)]
Fixed memory leak in group nodes. Only buffers from exposed sockets should remain after group execution.

8 years agoremove unused functions, aligning to selection can be done with Shift+Numpad, uses...
Campbell Barton [Thu, 24 Feb 2011 15:31:38 +0000 (15:31 +0000)]
remove unused functions, aligning to selection can be done with Shift+Numpad, uses manipulator code.

8 years agopatch [#26187] Cleaning #include <malloc.h>
Campbell Barton [Thu, 24 Feb 2011 14:05:41 +0000 (14:05 +0000)]
patch [#26187] Cleaning #include <malloc.h>
from Shane Ambler (sambler)

    didnt include change to superlu, prefer to leave external libs out of cleanups.

8 years agopatch [#26178] build_debian.sh: Use BLENDER_VERSION_CHAR
Campbell Barton [Thu, 24 Feb 2011 14:03:29 +0000 (14:03 +0000)]
patch [#26178] build_debian.sh: Use BLENDER_VERSION_CHAR
from Shinsuke Irie (irie)
    also apply to pacman.

8 years agoFix for [#26197] High resolution smoke cache not available due to pointcache update...
Janne Karhu [Thu, 24 Feb 2011 13:37:53 +0000 (13:37 +0000)]
Fix for [#26197] High resolution smoke cache not available due to pointcache update. Please reset the simulation.
* Backwards compatibility code wasn't forwards compatible :)

8 years agofound moving verts in pythons 2.5 api is approx 10x slower because the multi-dimensio...
Campbell Barton [Thu, 24 Feb 2011 08:47:58 +0000 (08:47 +0000)]
found moving verts in pythons 2.5 api is approx 10x slower because the multi-dimensional array assignment reads the array 3 times (typecheck, length-check & for-real).

the length check was running sequence checks on every number which would fail, small speedup by avoiding this.

should eventually get this working faster by reading once into an allocated array.

8 years agoremove 2 unnecessary checks for array type before assignment.
Campbell Barton [Thu, 24 Feb 2011 07:25:47 +0000 (07:25 +0000)]
remove 2 unnecessary checks for array type before assignment.

8 years agorevert part of own commit r35117 which modified mathutils initialization functions...
Campbell Barton [Thu, 24 Feb 2011 05:46:57 +0000 (05:46 +0000)]
revert part of own commit r35117 which modified mathutils initialization functions, found this could be done in a better way which doesnt have to deal with partly initialize instances being freed.

8 years agoremove unused vars.
Campbell Barton [Thu, 24 Feb 2011 05:41:03 +0000 (05:41 +0000)]
remove unused vars.

8 years agosupport pythons cyclic garbage collector for mathutils types.
Campbell Barton [Thu, 24 Feb 2011 04:58:51 +0000 (04:58 +0000)]
support pythons cyclic garbage collector for mathutils types.

8 years agodoxygen: some more license block fixes.
Nathan Letwory [Wed, 23 Feb 2011 23:22:25 +0000 (23:22 +0000)]
doxygen: some more license block fixes.

8 years agoadjustments to recent commit:
M.G. Kishalmi [Wed, 23 Feb 2011 19:40:24 +0000 (19:40 +0000)]
adjustments to recent commit:

* inv_ -> inverted_
* flagged image dirty after invert.
* restored properties accidently cut out of unpack operator.

brecht.beers[lmg]++
 thanks for paying attention! :)

8 years agoFix for [#26133] Explode modifier doesn't care about UVs (Option "split edges")
Janne Karhu [Wed, 23 Feb 2011 19:29:59 +0000 (19:29 +0000)]
Fix for [#26133] Explode modifier doesn't care about UVs (Option "split edges")
* This is basically a total rewrite of the edge split algorithm. The old one didn't handle tris at all and quads were cut wrong in some cases too with the addition of not handling uv coordinates at all.
* This new algorithm uses a flag system to categorize different splits and the identical but rotated cases in a similar way to how marching cubes indexes different cases.
* It cuts quads and tris and creates proper uv's for the new faces too.
* I also renamed the option to "edge cut" to differentiate if from the edge split modifier and added an option to override a uv-channel in the exploded mesh with particle age as x-coordinate so that the shrapnel can be faded out nicely etc.

8 years agoClean up headers a bit more.
Guillermo S. Romero [Wed, 23 Feb 2011 18:03:40 +0000 (18:03 +0000)]
Clean up headers a bit more.

8 years agoBugfix #26188
Ton Roosendaal [Wed, 23 Feb 2011 15:52:05 +0000 (15:52 +0000)]
Bugfix #26188

Having 2 or more windows open, a render in another window made the
other (active) window fail badly on F11 key (show render).

Now things should go smoothly. If a render is being shown in
inactive windows, they get popped to the front nicely.

8 years agoThe material "Dynamic" node (disabled anyway) had incomplete base type initialization...
Lukas Toenne [Wed, 23 Feb 2011 13:50:41 +0000 (13:50 +0000)]
The material "Dynamic" node (disabled anyway) had incomplete base type initialization, which made it appear as an empty item in the input node category.

8 years agopy/rna api:
Campbell Barton [Wed, 23 Feb 2011 13:43:45 +0000 (13:43 +0000)]
py/rna api:
 ifdef'd out weakref for blender/py api, worth testing to see if it adds much overhead.

8 years agoadded image-editor operators:
M.G. Kishalmi [Wed, 23 Feb 2011 12:02:43 +0000 (12:02 +0000)]
added image-editor operators:

Invert Image Colors (RGB)
--
Invert Red Channel
Invert Green Channel
Invert Blue Channel
Invert Alpha Channel

mostly because of the recent changes in normalmap channels,
so users can adopt old bakes quickly.
though they might aswell prove useful in other situations.

8 years agosince the introduction of 'newbump' blender
M.G. Kishalmi [Wed, 23 Feb 2011 11:58:36 +0000 (11:58 +0000)]
since the introduction of 'newbump' blender
was exporting normal maps with red and green channel inverted
relative to the geometry it actually exports.

This change makes blender export normal maps
which are very similar to most tools out there.

patch by Morten S. Mikkelsen

8 years agodoxygen: prevent GPL license block from being parsed as doxygen comment.
Nathan Letwory [Wed, 23 Feb 2011 10:52:22 +0000 (10:52 +0000)]
doxygen: prevent GPL license block from being parsed as doxygen comment.

8 years agoPossible fix for [#26190] Changing particle amount crashes
Janne Karhu [Wed, 23 Feb 2011 10:42:27 +0000 (10:42 +0000)]
Possible fix for [#26190] Changing particle amount crashes
* In some cases fluid particles could be born at the exact same locations. Now these cases are just ignored and such particles don't effect each other.

8 years agoremove unused functions,
Campbell Barton [Wed, 23 Feb 2011 09:12:55 +0000 (09:12 +0000)]
remove unused functions,
note: BPY_class_validate() could come in handy later if we need to check classes for properties/functions but for now there is no point in keeping it in.

8 years agoadd back view 1:1 operator from 2.4x (Shift+PadEnter)
Campbell Barton [Wed, 23 Feb 2011 06:48:47 +0000 (06:48 +0000)]
add back view 1:1 operator from 2.4x (Shift+PadEnter)

8 years agoadd back 2.4x mesh vertex sort/randomize operators, were called xsort and hash in...
Campbell Barton [Wed, 23 Feb 2011 05:17:29 +0000 (05:17 +0000)]
add back 2.4x mesh vertex sort/randomize operators, were called xsort and hash in 2.4x.
available from vertex menu.

8 years agoadd 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.
Campbell Barton [Wed, 23 Feb 2011 04:58:08 +0000 (04:58 +0000)]
add 2.4x posemode & weightpaint feature as an operator - Flip Active, Shift+F.

8 years agofix [#26164] bpy.ops.transform.translate ignores AutoIK mode
Campbell Barton [Wed, 23 Feb 2011 04:03:58 +0000 (04:03 +0000)]
fix [#26164] bpy.ops.transform.translate ignores AutoIK mode

auto-ik updates are done by notifiers at the moment which are ignored when running bpy.ops.transform.translate(), so add an special_aftertrans_update() check for this case.

8 years ago- fix python error for poselib UI when none is active.
Campbell Barton [Wed, 23 Feb 2011 03:08:14 +0000 (03:08 +0000)]
- fix python error for poselib UI when none is active.
- add info to create_dupli_objects rna function docstring.
- transform snap had bad define, disabling BVH accelerated snap (own fault).

8 years agopython console namespace fix, merging namespace dicts was no good, since it pulled...
Campbell Barton [Wed, 23 Feb 2011 01:20:40 +0000 (01:20 +0000)]
python console namespace fix, merging namespace dicts was no good, since it pulled in private vars. use normal import command.

8 years agodoxygen: make sure license blocks don't interfere.
Nathan Letwory [Tue, 22 Feb 2011 23:40:06 +0000 (23:40 +0000)]
doxygen: make sure license blocks don't interfere.

8 years agoAdding "frame" to print in background rendering for
Daniel Salazar [Tue, 22 Feb 2011 23:32:29 +0000 (23:32 +0000)]
Adding "frame" to print in background rendering for
"Calculating previous (frame) vectors"
now it fits better with
"Calculating next frame vectors"

@jesterking: yes you are

@jesterking: yes you are!!

8 years ago"I must be an idiot"
Nathan Letwory [Tue, 22 Feb 2011 23:14:27 +0000 (23:14 +0000)]
"I must be an idiot"

8 years agodoxygen fix, otherwise file doesn't show up in module section.
Nathan Letwory [Tue, 22 Feb 2011 23:10:51 +0000 (23:10 +0000)]
doxygen fix, otherwise file doesn't show up in module section.

8 years agoerror in own recent moving addons functions into its own module. addon_utils.reset_al...
Campbell Barton [Tue, 22 Feb 2011 22:24:50 +0000 (22:24 +0000)]
error in own recent moving addons functions into its own module. addon_utils.reset_all failed.

8 years agodoxygen: add Audaspace C API entry
Nathan Letwory [Tue, 22 Feb 2011 21:58:43 +0000 (21:58 +0000)]
doxygen: add Audaspace C API entry

8 years agoEmpty groups are now displayed with some basic spacing in edit mode. Long socket...
Lukas Toenne [Tue, 22 Feb 2011 21:22:27 +0000 (21:22 +0000)]
Empty groups are now displayed with some basic spacing in edit mode. Long socket lists don't outgrow the group box any more; the box height is adjusted to fit the length of the socket list instead.

8 years agoConvenience fix: Exposing internal sockets now copies the default input value to...
Lukas Toenne [Tue, 22 Feb 2011 20:49:34 +0000 (20:49 +0000)]
Convenience fix: Exposing internal sockets now copies the default input value to the group sockets. The "expose" function on group inputs/outputs has an optional parameter "add_link", which can be used to prevent the automatic linking.

8 years agoSVN maintenance.
Guillermo S. Romero [Tue, 22 Feb 2011 20:47:17 +0000 (20:47 +0000)]
SVN maintenance.

8 years agoAdded RNA functions to group tree inputs/outputs for exposing internal sockets or...
Lukas Toenne [Tue, 22 Feb 2011 20:24:06 +0000 (20:24 +0000)]
Added RNA functions to group tree inputs/outputs for exposing internal sockets or adding custom sockets by name and type (fixes #26171). Changed a few function names for groups for consistency.

8 years agodoxygen: bge scenegraph and videotexture
Nathan Letwory [Tue, 22 Feb 2011 19:30:37 +0000 (19:30 +0000)]
doxygen: bge scenegraph and videotexture

8 years agoMaterial UI, patch by Ervin Weber (lusque). Thanks!
Thomas Dinges [Tue, 22 Feb 2011 19:22:27 +0000 (19:22 +0000)]
Material UI, patch by Ervin Weber (lusque). Thanks!
Now we have the old UI again, as suggested by several developers on the Mailing List.
At least for simple materials. For Node Materials we keep the new Pipeline panel.

This should make both sides happy. :)

8 years agoBugfix #25967
Ton Roosendaal [Tue, 22 Feb 2011 17:19:02 +0000 (17:19 +0000)]
Bugfix #25967

Node Materials: option "Front/Back" in geometry node failed for
"full osa" case in ZTransp.

8 years agoFix for [#26160] Blender Crashes when undoing
Joerg Mueller [Tue, 22 Feb 2011 16:32:05 +0000 (16:32 +0000)]
Fix for [#26160] Blender Crashes when undoing

Was trying to free audio data from sequencer strips that don't even have audio. Corrected the error in several ways so this will definitely not happen again :-)

8 years agodoxygen: add bullet to extern libs, some small changes in page names, and fixes aroun...
Nathan Letwory [Tue, 22 Feb 2011 16:12:12 +0000 (16:12 +0000)]
doxygen: add bullet to extern libs, some small changes in page names, and fixes around license blocks

8 years agodisable some conflicting options WITH_PYTHON_MODULE
Campbell Barton [Tue, 22 Feb 2011 14:27:46 +0000 (14:27 +0000)]
disable some conflicting options WITH_PYTHON_MODULE

8 years agoblender as module - workaround for not knowing __file__ when the module is initialized.
Campbell Barton [Tue, 22 Feb 2011 14:19:09 +0000 (14:19 +0000)]
blender as module - workaround for not knowing __file__ when the module is initialized.

8 years agodoxygen: BGE Network, Physics, Rasterizer
Nathan Letwory [Tue, 22 Feb 2011 12:42:55 +0000 (12:42 +0000)]
doxygen: BGE Network, Physics, Rasterizer

8 years agomissing deps for pacman
Campbell Barton [Tue, 22 Feb 2011 12:36:36 +0000 (12:36 +0000)]
missing deps for pacman

8 years agoType in snapshort ;)
Ton Roosendaal [Tue, 22 Feb 2011 12:25:31 +0000 (12:25 +0000)]
Type in snapshort ;)

8 years agofix for uninitialized stack variable in displaying the modifier template.
Campbell Barton [Tue, 22 Feb 2011 12:19:27 +0000 (12:19 +0000)]
fix for uninitialized stack variable in displaying the modifier template.

8 years agoToo many ifdefs made me miss the fact variables were declared inside
Ton Roosendaal [Tue, 22 Feb 2011 12:17:45 +0000 (12:17 +0000)]
Too many ifdefs made me miss the fact variables were declared inside
function...

8 years agoNo idea why this goes wrong, but I can't get preprocessor output with
Ton Roosendaal [Tue, 22 Feb 2011 12:01:57 +0000 (12:01 +0000)]
No idea why this goes wrong, but I can't get preprocessor output with
cmake here.

Somehow in OSX a function call doesn't return but enters a next function.
Will find around if someone else can make an OSX preprocessed version
of this C file. With this commit things go fine, and it's a sane check
anyway.

8 years agoremove unused code.
Nathan Letwory [Tue, 22 Feb 2011 11:43:50 +0000 (11:43 +0000)]
remove unused code.

8 years agofeature back from 2.4x where a python error moves the cursor to the error line, added...
Campbell Barton [Tue, 22 Feb 2011 11:32:29 +0000 (11:32 +0000)]
feature back from 2.4x where a python error moves the cursor to the error line, added moving to exact column for syntax errors too.

8 years agoFixed crash when sculpting on deformed mesh with smooth brush:
Sergey Sharybin [Tue, 22 Feb 2011 10:56:49 +0000 (10:56 +0000)]
Fixed crash when sculpting on deformed mesh with smooth brush:
vertex iter should be declared inside omp block or it'll be
thread-unsafe otherwise.

8 years agodoxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer...
Nathan Letwory [Tue, 22 Feb 2011 10:33:14 +0000 (10:33 +0000)]
doxygen: entries for blenderroutines, converter, expressions, gamelogic, gameplayer, ketsji

8 years agoFix for [#26163] New Texture selectors don't update Texture preview
Janne Karhu [Tue, 22 Feb 2011 10:27:32 +0000 (10:27 +0000)]
Fix for [#26163] New Texture selectors don't update Texture preview
* Send texture notifier instead of generic property space notifier when texture context is changed.

8 years agoBug fix: Fluidsim paths were not handled properly
Janne Karhu [Tue, 22 Feb 2011 09:34:43 +0000 (09:34 +0000)]
Bug fix: Fluidsim paths were not handled properly
* Tsk! Using sizeof(string) to determine string length works if the string is a char array, but not if it's a pointer to a char array!
* Now the fluid code uses the actual size of the string directly.

8 years agomissed updating this when modifying addons module.
Campbell Barton [Tue, 22 Feb 2011 09:14:29 +0000 (09:14 +0000)]
missed updating this when modifying addons module.

8 years agolast commit used py3.2 function, inline for py3.1
Campbell Barton [Tue, 22 Feb 2011 08:29:25 +0000 (08:29 +0000)]
last commit used py3.2 function, inline for py3.1

8 years agoSmall fix: reset the NTREE_DO_VERSIONS flag, so new node trees don't get updated...
Lukas Toenne [Tue, 22 Feb 2011 08:22:06 +0000 (08:22 +0000)]
Small fix: reset the NTREE_DO_VERSIONS flag, so new node trees don't get updated in future.

8 years agoFixed missing initialization of node stack entries.
Lukas Toenne [Tue, 22 Feb 2011 07:58:49 +0000 (07:58 +0000)]
Fixed missing initialization of node stack entries.

8 years agopyapi, use direct access to the frame rather then python attributes.
Campbell Barton [Tue, 22 Feb 2011 07:57:18 +0000 (07:57 +0000)]
pyapi, use direct access to the frame rather then python attributes.

8 years agoFixed sloppyness bug, used wrong pointer names when calling lib_nodetree_do_versions_...
Lukas Toenne [Tue, 22 Feb 2011 06:45:47 +0000 (06:45 +0000)]
Fixed sloppyness bug, used wrong pointer names when calling lib_nodetree_do_versions_group.

8 years agocmake was using dna source list with the variable out of scope, possibly causing...
Campbell Barton [Tue, 22 Feb 2011 06:23:07 +0000 (06:23 +0000)]
cmake was using dna source list with the variable out of scope, possibly causing dependency problems.

8 years agopatch from sambler on irc, writes version info for OSX.
Campbell Barton [Tue, 22 Feb 2011 06:05:08 +0000 (06:05 +0000)]
patch from sambler on irc, writes version info for OSX.

8 years agopart of a patch from Dan Eicher with some edits.
Campbell Barton [Tue, 22 Feb 2011 05:49:21 +0000 (05:49 +0000)]
part of a patch from Dan Eicher with some edits.
- clean svn string: 35042:35051M -> 35051
- debian and pacman build with threads by default.

8 years agomake doc generation close files (py3.2 complains about this),
Campbell Barton [Tue, 22 Feb 2011 05:23:20 +0000 (05:23 +0000)]
make doc generation close files (py3.2 complains about this),
minor formatting changes for C docstrings.

8 years agobugfix [#26126] Transparency panel label issue
Campbell Barton [Tue, 22 Feb 2011 05:16:04 +0000 (05:16 +0000)]
bugfix [#26126] Transparency panel label issue

8 years agocorrect example
Campbell Barton [Tue, 22 Feb 2011 04:42:21 +0000 (04:42 +0000)]
correct example

8 years agofix [#26172] Lattice vertice selection by border selection ( shortcut B ) doesn't...
Campbell Barton [Tue, 22 Feb 2011 03:19:58 +0000 (03:19 +0000)]
fix [#26172] Lattice vertice selection by border selection ( shortcut B ) doesn't update vertice number ( in info header )
missing notifier.

8 years agobugfix/workaround [#25629] Add torus with autmatic edit mode duplicates mesh after...
Campbell Barton [Tue, 22 Feb 2011 02:47:59 +0000 (02:47 +0000)]
bugfix/workaround [#25629] Add torus with autmatic edit mode duplicates mesh after >Aling to View.

adding meshes in C does:
 Add Empty Mesh -> Enter Editmode -> Create Mesh

while python does:
 Add Generated Mesh -> Enter Editmode

problem with this is there is no empty undo state for undo-redo to use so it always gave a duplicate mesh on redo-ing.
workaround by adding an empty mesh, do an undo push, and join the generated mesh into the empty one.

this would be fixed if undo stack spanned modes.

8 years agooperator ED_OT_undo_push, needed for editmode undo/redo glitch fix, (coming next).
Campbell Barton [Tue, 22 Feb 2011 02:42:19 +0000 (02:42 +0000)]
operator ED_OT_undo_push, needed for editmode undo/redo glitch fix, (coming next).

8 years agoBugfix #25803 (LibLoad'ed scene objects don't have timer property updated)
Mitchell Stokes [Mon, 21 Feb 2011 23:44:11 +0000 (23:44 +0000)]
Bugfix #25803 (LibLoad'ed scene objects don't have timer property updated)

The KX_Scenes' SCA_TimeEventManagers were not being merged. These handle the timer prop

8 years agoFix for bug #25804 (LibLoad'ed scene objects material CRASH when doing mat.getShader())
Mitchell Stokes [Mon, 21 Feb 2011 23:41:47 +0000 (23:41 +0000)]
Fix for bug #25804 (LibLoad'ed scene objects material CRASH when doing mat.getShader())

X_Material's mScene member variable wasn't properly set on merge if it didn't have an mBlenderShader defined. This patch always makes sure it gets set on merge.

8 years agoEditbone length was still using "normalize()" instead of "normalized()"
Nathan Vegdahl [Mon, 21 Feb 2011 20:26:37 +0000 (20:26 +0000)]
Editbone length was still using "normalize()" instead of "normalized()"
for setting length, which was thus failing and erroring out.