blender-staging.git
7 years agofix bevel edge angle (wasnt hooked up to new code), vertex-bevel angle isnt working...
Campbell Barton [Thu, 19 Apr 2012 07:00:29 +0000 (07:00 +0000)]
fix bevel edge angle (wasnt hooked up to new code), vertex-bevel angle isnt working still

7 years agostyle cleanup: bevel code, also remove unneeded flag setting.
Campbell Barton [Thu, 19 Apr 2012 06:10:21 +0000 (06:10 +0000)]
style cleanup: bevel code, also remove unneeded flag setting.

7 years agoFix for disabling noisy opennl output.
Nicholas Bishop [Thu, 19 Apr 2012 02:12:39 +0000 (02:12 +0000)]
Fix for disabling noisy opennl output.

More info from bf-committers:
http://lists.blender.org/pipermail/bf-committers/2012-April/036339.html

7 years agoFix: Mark seams in uv editor didn't work
Antony Riakiotakis [Wed, 18 Apr 2012 22:27:24 +0000 (22:27 +0000)]
Fix: Mark seams in uv editor didn't work

7 years agoFixing bug [#31005] Nurbs UI bug
Thomas Dinges [Wed, 18 Apr 2012 20:43:07 +0000 (20:43 +0000)]
Fixing bug [#31005] Nurbs UI bug
* W button was hidden, due to too small y alignment.

7 years agoRelease Status:
Thomas Dinges [Wed, 18 Apr 2012 20:07:35 +0000 (20:07 +0000)]
Release Status:
* Still BCon4, rc phase now.

7 years agoknife tool: Add state indicator in header for tool options
Antony Riakiotakis [Wed, 18 Apr 2012 19:59:27 +0000 (19:59 +0000)]
knife tool: Add state indicator in header for tool options

7 years agoimprove recent commit to copy loop data on extrude
Campbell Barton [Wed, 18 Apr 2012 19:05:28 +0000 (19:05 +0000)]
improve recent commit to copy loop data on extrude
- in some cases the is only a face on the new edge, so check for this as a source to copy from too.
- one of the asserts wasnt correct, if there are no adjacent faces found just return.

7 years agobmesh knife tool: cut through no longer initializes from view setting to limit select...
Campbell Barton [Wed, 18 Apr 2012 18:20:20 +0000 (18:20 +0000)]
bmesh knife tool: cut through no longer initializes from view setting to limit selection to front faces.

instead this is a toggle (Zkey) which is remembered between executions.

7 years agoFix: Transforming NLA strips leaks memory.
Antony Riakiotakis [Wed, 18 Apr 2012 17:50:30 +0000 (17:50 +0000)]
Fix: Transforming NLA strips leaks memory.

7 years agobmesh knife tool:
Campbell Barton [Wed, 18 Apr 2012 16:55:15 +0000 (16:55 +0000)]
bmesh knife tool:
fix for bug where not moving the mouse after pressing K and clicking would start the first point at the bottom left of the view.

7 years agobmesh knife tool:
Campbell Barton [Wed, 18 Apr 2012 16:27:11 +0000 (16:27 +0000)]
bmesh knife tool:
- only cut selected geometry.
- exclude hidden geometry from snapping.

7 years agocorrect ifdef'd scanfill code, incase someone wants to test.
Campbell Barton [Wed, 18 Apr 2012 15:09:13 +0000 (15:09 +0000)]
correct ifdef'd scanfill code, incase someone wants to test.

7 years agocode cleanup: more minor changes to scanfill
Campbell Barton [Wed, 18 Apr 2012 14:36:56 +0000 (14:36 +0000)]
code cleanup: more minor changes to scanfill

7 years agocode cleanup: replace magic numbers in scanfill with defines, also use some vector...
Campbell Barton [Wed, 18 Apr 2012 14:30:57 +0000 (14:30 +0000)]
code cleanup: replace magic numbers in scanfill with defines, also use some vector functions where possible

7 years agofix for eternal loop in scanfill,
Campbell Barton [Wed, 18 Apr 2012 14:06:59 +0000 (14:06 +0000)]
fix for eternal loop in scanfill,

The cause for this is bmesh faces which have zero area have their normals set to a fake value (Z-Up), this would break scanfill, possible fixes are to calculate the faces normal each time or tag as invalid but its easiest to avoid the eternal loop with an extra test.

7 years agofix [#30994] Extruding faces gives bad UV's
Campbell Barton [Wed, 18 Apr 2012 09:56:19 +0000 (09:56 +0000)]
fix [#30994] Extruding faces gives bad UV's

this had strange logic, there was no need to loop over all face loops.

7 years agostyle cleanup: mesh validate.
Campbell Barton [Wed, 18 Apr 2012 09:16:30 +0000 (09:16 +0000)]
style cleanup: mesh validate.

also add code cleanup script which runs uncrustify and then undoes trailing whitespace edits (reducing diff noise)

7 years agofix [#30995] Wavefront obj. file export/import issue with splited edge
Campbell Barton [Wed, 18 Apr 2012 09:04:07 +0000 (09:04 +0000)]
fix [#30995] Wavefront obj. file export/import issue with splited edge

7 years agoFix redo not working correct after keyboard input for shear, shrink/flatten,
Brecht Van Lommel [Wed, 18 Apr 2012 08:26:58 +0000 (08:26 +0000)]
Fix redo not working correct after keyboard input for shear, shrink/flatten,
push/pull, edge slide tools. Patch by Nicholas Rishel.

7 years agoadd missing NULL check for BM_vert_collapse_faces(), could crash in rare cases.
Campbell Barton [Wed, 18 Apr 2012 08:11:08 +0000 (08:11 +0000)]
add missing NULL check for BM_vert_collapse_faces(), could crash in rare cases.

7 years agofix [#30921] Bevel modifier's is not work correctly with bevel weights
Campbell Barton [Wed, 18 Apr 2012 07:29:12 +0000 (07:29 +0000)]
fix [#30921] Bevel modifier's is not work correctly with bevel weights

replace dissolve function with one from 2.62 (updated for the new bmesh api).

7 years agobmesh: fix own bug in BM_vert_collapse_faces() with option 'kill_degenerate_faces...
Campbell Barton [Wed, 18 Apr 2012 07:27:15 +0000 (07:27 +0000)]
bmesh: fix own bug in BM_vert_collapse_faces() with option 'kill_degenerate_faces', was removing data as it iterated, would crash in some cases.

7 years agomore replacement for BM_edge_face_count() use.
Campbell Barton [Wed, 18 Apr 2012 06:57:28 +0000 (06:57 +0000)]
more replacement for BM_edge_face_count() use.

7 years agocode cleanup: replace use of BM_edge_face_count with BM_edge_is_manifold and BM_edge_...
Campbell Barton [Wed, 18 Apr 2012 06:44:48 +0000 (06:44 +0000)]
code cleanup: replace use of BM_edge_face_count with BM_edge_is_manifold and BM_edge_is_boundary

7 years agofix error in last commit. Misunderstood BM_vert_is_manifold(), added some comments.
Campbell Barton [Wed, 18 Apr 2012 06:36:47 +0000 (06:36 +0000)]
fix error in last commit. Misunderstood BM_vert_is_manifold(), added some comments.

7 years agofix for own error in recent scanfill updates, scanfill can hang if run on a polygon...
Campbell Barton [Wed, 18 Apr 2012 05:52:18 +0000 (05:52 +0000)]
fix for own error in recent scanfill updates, scanfill can hang if run on a polygon with no area.

7 years agocode cleanup: minor edits to bmesh_jfke(), move simple checks first.
Campbell Barton [Wed, 18 Apr 2012 04:44:50 +0000 (04:44 +0000)]
code cleanup: minor edits to bmesh_jfke(), move simple checks first.

7 years agobmesh api: minor simplify & cleanup
Campbell Barton [Wed, 18 Apr 2012 04:32:55 +0000 (04:32 +0000)]
bmesh api: minor simplify & cleanup
- add BM_face_edge_share_loop(f, e) -- edge version of existing BM_face_vert_share_loop(f, v)
- simplify BM_edge_ordered_verts_ex(), check could be reduced.
- use BM_ELEM_INTERNAL_TAG for bmesh_jfke(), not BM_ELEM_TAG to avoid clobbering tagged data tools might use.

7 years agosave thumbnail from the 3D view if no camera is present.
Campbell Barton [Tue, 17 Apr 2012 20:51:11 +0000 (20:51 +0000)]
save thumbnail from the 3D view if no camera is present.

7 years agocode cleanup: use const args for writing files.
Campbell Barton [Tue, 17 Apr 2012 19:51:40 +0000 (19:51 +0000)]
code cleanup: use const args for writing files.

7 years agofix error in single vertex ripping where the edit-selection could be left on unselect...
Campbell Barton [Tue, 17 Apr 2012 18:36:29 +0000 (18:36 +0000)]
fix error in single vertex ripping where the edit-selection could be left on unselected verts or not set on the newly ripped vertex.

also some corrections to comments.

7 years agofix [#30970] Rip Tool: selecting the side of edges works incorrectly
Campbell Barton [Tue, 17 Apr 2012 18:14:31 +0000 (18:14 +0000)]
fix [#30970] Rip Tool: selecting the side of edges works incorrectly

7 years agoAttempted fix for #30985: knife draw messing up display after confirming. I couldn't
Brecht Van Lommel [Tue, 17 Apr 2012 17:25:10 +0000 (17:25 +0000)]
Attempted fix for #30985: knife draw messing up display after confirming. I couldn't
redo the problem, but the depth test toggle here should be conditional as in other
3d view drawing code.

7 years agoFix blenderplayer build, added stub.
Brecht Van Lommel [Tue, 17 Apr 2012 16:51:10 +0000 (16:51 +0000)]
Fix blenderplayer build, added stub.

7 years agoFix #30570: UI issue editing modal keymaps below operators using them.
Brecht Van Lommel [Tue, 17 Apr 2012 16:21:13 +0000 (16:21 +0000)]
Fix #30570: UI issue editing modal keymaps below operators using them.

7 years agobmesh api: adjust bmesh_vert_separate() not to set the loops index values (need them...
Campbell Barton [Tue, 17 Apr 2012 15:44:19 +0000 (15:44 +0000)]
bmesh api: adjust bmesh_vert_separate() not to set the loops index values (need them to be left untouched for other tools).

7 years agoFix #30977: error loading modal keymaps from keyconfiguration presets.
Brecht Van Lommel [Tue, 17 Apr 2012 15:40:04 +0000 (15:40 +0000)]
Fix #30977: error loading modal keymaps from keyconfiguration presets.

7 years agoFix #30980: edge slide Correct UVs option not working.
Brecht Van Lommel [Tue, 17 Apr 2012 14:24:04 +0000 (14:24 +0000)]
Fix #30980: edge slide Correct UVs option not working.

Was a bmesh todo, main issue was with shape keys, now disabled any changes to
the shape key data layer, and disabled the option altogether when editing
non-basis shape keys.

7 years agoFix part of #30982: dupliface object with modifiers did not show duplis correct
Brecht Van Lommel [Tue, 17 Apr 2012 13:07:13 +0000 (13:07 +0000)]
Fix part of #30982: dupliface object with modifiers did not show duplis correct
while in edit mode.

7 years agoFix crash with texture draw in edit mode after commit 45672.
Brecht Van Lommel [Tue, 17 Apr 2012 11:02:32 +0000 (11:02 +0000)]
Fix crash with texture draw in edit mode after commit 45672.

Don't create empty tesselated faces layers in edit derivedmesh, these are
being created on the fly so this will conflicted, and use loop data for
opengl attributes for edit derivedmesh drawing.

7 years agomove rip out into its own file
Campbell Barton [Tue, 17 Apr 2012 10:25:23 +0000 (10:25 +0000)]
move rip out into its own file

7 years agoremove the poll function from import/export templates
Campbell Barton [Tue, 17 Apr 2012 05:49:07 +0000 (05:49 +0000)]
remove the poll function from import/export templates

7 years agoadd import operator python template.
Campbell Barton [Tue, 17 Apr 2012 05:47:32 +0000 (05:47 +0000)]
add import operator python template.

7 years agocode cleanup: remove/comment some unused code.
Campbell Barton [Tue, 17 Apr 2012 05:09:37 +0000 (05:09 +0000)]
code cleanup: remove/comment some unused code.

7 years agominor speedup for scanfill, dont calculate the normal if its already known - use...
Campbell Barton [Mon, 16 Apr 2012 18:24:49 +0000 (18:24 +0000)]
minor speedup for scanfill, dont calculate the normal if its already known - use for editmode ngon filling.

7 years agoinline function for "Newell's Method" used for normal calc.
Campbell Barton [Mon, 16 Apr 2012 16:49:37 +0000 (16:49 +0000)]
inline function for "Newell's Method" used for normal calc.

7 years agoimprove scanfill for uneven ngons, previously scanfill would use the most angular...
Campbell Barton [Mon, 16 Apr 2012 16:24:55 +0000 (16:24 +0000)]
improve scanfill for uneven ngons, previously scanfill would use the most angular corner, but this made non planer ngons rip frequently (often reported problem).

now calculate the normal as with ngons.

7 years agofix for fail thumbs being used when the failed thumbnail image is older then the...
Campbell Barton [Mon, 16 Apr 2012 15:13:21 +0000 (15:13 +0000)]
fix for fail thumbs being used when the failed thumbnail image is older then the image/movie/blend.

7 years agofix error when a failed thumb overrides a newer good thumbnail.
Campbell Barton [Mon, 16 Apr 2012 14:34:48 +0000 (14:34 +0000)]
fix error when a failed thumb overrides a newer good thumbnail.
on saving blend file remove failed thumb.

7 years agoPartial revert of rev45691: allow lightmap undo and add comment why redo was disabled
Sergey Sharybin [Mon, 16 Apr 2012 14:27:22 +0000 (14:27 +0000)]
Partial revert of rev45691: allow lightmap undo and add comment why redo was disabled

7 years agoFix #30720: Creating Navmesh crashes blender
Sergey Sharybin [Mon, 16 Apr 2012 13:53:30 +0000 (13:53 +0000)]
Fix #30720: Creating Navmesh crashes blender

In fact there were several issues fixed (all of them regressions since bmesh merge):

- Creating navmesh crashed because creating new faces for mesh was trying to set
  default values for all customdata layers in this face. This requires memory
  pool created for this datablock.
  Usually this pool is creating on creating datablock if there're some elements
  to be stored in this block. In cases of regular primitive creating it wasn't
  an issue because they doesn't create customdata layers, they only creates
  geometry.
  Navigation mesh creates geometry and customdata layers (CD_RECAST layer)
  which used to confuse a bit custom data functions. Solved by ensuring there's
  memory pool created for polygons datablock after adding new custom data layer.
  Most probably it's better to be resolved on CD level (like smarter track on
  changed amount of stored data and so) but prefer not to make such global changes
  so close to the release.
- Toggling edit mode lead to loosing recast datalayer. Solved by adding recast
  layer to bmesh mask so it'll be copied to/from edit mesh.
- Some part of code assumed raycast layer is in face datablock, some that it's in
  polygon datablock. Made it to be in polygons datablock.
  Kind of temporary solution to make navmesh working, probably it'll fail if one
  will want to edit navmesh by hand after it was generated.
  Proper way would be to ensure the whole navmesh things are using ngons.

7 years agoDynamic output sockets for the image input node. This is needed to enable the node...
Lukas Toenne [Mon, 16 Apr 2012 13:49:33 +0000 (13:49 +0000)]
Dynamic output sockets for the image input node. This is needed to enable the node to read arbitrary multilayer exr files. Output sockets of this node are now generated dynamically when the image is updated. The image buffer has to be loaded to detect multilayer files on update.

7 years agofix [#30972] Editmesh split by materials not working.
Campbell Barton [Mon, 16 Apr 2012 13:49:04 +0000 (13:49 +0000)]
fix [#30972] Editmesh split by materials not working.

7 years agoAvoid invalid delete call when loading multilayer EXR files with that don't fit the...
Lukas Toenne [Mon, 16 Apr 2012 11:57:22 +0000 (11:57 +0000)]
Avoid invalid delete call when loading multilayer EXR files with that don't fit the Blender pass naming scheme. If the imb_exr_begin_read_mem function fails reading the EXR (e.g. because of too many channels per pass) it deletes the file internally, leading to segfault on second delete.

7 years agoFix #30968: Lightmap Pack - no new image limit
Sergey Sharybin [Mon, 16 Apr 2012 11:54:28 +0000 (11:54 +0000)]
Fix #30968: Lightmap Pack - no new image limit

Disable operator register and redo flags because it might modify non-mesh
data when in edit mode. This doesn't work properly with current undo stack
design.

7 years agoPort multires_topology_changed to new bmesh api
Sergey Sharybin [Mon, 16 Apr 2012 11:03:42 +0000 (11:03 +0000)]
Port multires_topology_changed to new bmesh api

This call is still needed when loading editmesh because some operations
are not creating CD layer for new loops (like crating new face) and
to prevent loosing all sculpted data when running disps correct
displacement maps should be allocated on loading edit mesh.

7 years agoReverted r43219 "Improved auto-hiding of unused sockets for collapsed nodes."
Lukas Toenne [Mon, 16 Apr 2012 10:50:57 +0000 (10:50 +0000)]
Reverted r43219 "Improved auto-hiding of unused sockets for collapsed nodes."

This feature did have a number of flaws and caused some controversy, so removal is the better option. Hiding nodes without prior connections would just hide all the sockets, leaving an unusable node. Better way is to use the ctrl+h shortcut to explicitly hide unused sockets when necessary.

7 years agobmesh todo: remove unused code.
Campbell Barton [Mon, 16 Apr 2012 10:29:59 +0000 (10:29 +0000)]
bmesh todo: remove unused code.

7 years agoAnd another fix for r45669 to have dualcon compile on windows...
Thomas Dinges [Mon, 16 Apr 2012 10:22:28 +0000 (10:22 +0000)]
And another fix for r45669 to have dualcon compile on windows...

7 years agobmesh todo: snap to volume with dupli's works again
Campbell Barton [Mon, 16 Apr 2012 10:09:26 +0000 (10:09 +0000)]
bmesh todo: snap to volume with dupli's works again

7 years agocode cleanup: remove bmesh todo, which infact is working fine.
Campbell Barton [Mon, 16 Apr 2012 10:02:52 +0000 (10:02 +0000)]
code cleanup: remove bmesh todo, which infact is working fine.

7 years agopatch to our desktop file from debian, German translation.
Campbell Barton [Mon, 16 Apr 2012 09:56:12 +0000 (09:56 +0000)]
patch to our desktop file from debian, German translation.

7 years agoFix #30958: Right click menu and add shortcut for importers/exporters doesn't work
Sergey Sharybin [Mon, 16 Apr 2012 09:55:54 +0000 (09:55 +0000)]
Fix #30958: Right click menu and add shortcut for importers/exporters doesn't work

This was caused by how keymap is guessing for importer/exporter:

- In some cases if detected wrong keymap like for IMPORT_CURVE_OT_svg
  curve editing context was used because of CURVE_OT substring in
  operator name
- In other cases no keymap was detected because of substrings
  WM_keymap_guess_opname cheched.

Fixed by using Window keymap for any operator with EXPORT_/IMPORT_ substring
which seems to detect importer/exporter operator and only them nicely.

7 years agoFix/tweak for cycles border render, it wasn't generating the exact same samples
Brecht Van Lommel [Mon, 16 Apr 2012 09:52:25 +0000 (09:52 +0000)]
Fix/tweak for cycles border render, it wasn't generating the exact same samples
when rendering a subset instead of the whole, mostly useful for debugging.

7 years agobmesh todos:
Campbell Barton [Mon, 16 Apr 2012 09:34:43 +0000 (09:34 +0000)]
bmesh todos:
- dont do name based object lookup to find the object for a mesh undo state (possibly object is renamed inbetween undos which would crash)
- remove some todo comments for things that are working as they should.

7 years agoFix for isnan compile issue on windows (second try).
Brecht Van Lommel [Mon, 16 Apr 2012 09:13:32 +0000 (09:13 +0000)]
Fix for isnan compile issue on windows (second try).

7 years agobmesh todo: ctrl+l now delimits by hidden faces.
Campbell Barton [Mon, 16 Apr 2012 08:44:11 +0000 (08:44 +0000)]
bmesh todo: ctrl+l now delimits by hidden faces.

7 years agoFix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead.
Brecht Van Lommel [Mon, 16 Apr 2012 08:35:21 +0000 (08:35 +0000)]
Fix #30966: cycles nan mesh vertices got set to (0, 0, 0), now remove them instead.

7 years agoFix windows compile issue with missing isnan.
Brecht Van Lommel [Mon, 16 Apr 2012 08:11:07 +0000 (08:11 +0000)]
Fix windows compile issue with missing isnan.

7 years agobmesh todos:
Campbell Barton [Mon, 16 Apr 2012 08:04:12 +0000 (08:04 +0000)]
bmesh todos:
- curve undo now runs ED_curve_updateAnimPaths() again.
- comment out unneeded index setting.

7 years agomake scanfill threadsafe (wasnt threadsafe before BMesh merge but before the merge...
Campbell Barton [Mon, 16 Apr 2012 06:48:57 +0000 (06:48 +0000)]
make scanfill threadsafe (wasnt threadsafe before BMesh merge but before the merge it didn't need to be) - now rendering uses its better if its threadsafe.

7 years agostyle cleanup: scanfill, spelling and use NULL rather then 0
Campbell Barton [Mon, 16 Apr 2012 05:23:40 +0000 (05:23 +0000)]
style cleanup: scanfill, spelling and use NULL rather then 0

7 years agocode cleanup: avoid confusion with incorrectly named argument to BLI_edgefill(),...
Campbell Barton [Mon, 16 Apr 2012 05:03:04 +0000 (05:03 +0000)]
code cleanup: avoid confusion with incorrectly named argument to BLI_edgefill(), was 'mat_nr', now 'do_quad_tri_speedup'

7 years agobmesh api todo:
Campbell Barton [Mon, 16 Apr 2012 04:17:33 +0000 (04:17 +0000)]
bmesh api todo:
emDM_getTessFaceDataArray now returns UV's and Colors from editmode loops.

7 years agorename wm.blenderplayer_start label from 'Start' to 'Start Game In Player', also...
Campbell Barton [Mon, 16 Apr 2012 02:28:18 +0000 (02:28 +0000)]
rename wm.blenderplayer_start label from 'Start' to 'Start Game In Player', also made it check if the player is found before running.

7 years agofix [#30967] Straighten X/Y in the UV/Image Editor bug
Campbell Barton [Mon, 16 Apr 2012 01:55:25 +0000 (01:55 +0000)]
fix [#30967] Straighten X/Y in the UV/Image Editor bug
patch by Bastien Montagne, checked this works the same as 2.62.

7 years agoFix for remesh modifier crash mentioned in comments of bug [#30966]
Nicholas Bishop [Mon, 16 Apr 2012 01:18:02 +0000 (01:18 +0000)]
Fix for remesh modifier crash mentioned in comments of bug [#30966]

Reading in triangles now skips any NaN coordinates.

7 years agoUI:
Thomas Dinges [Sun, 15 Apr 2012 21:10:14 +0000 (21:10 +0000)]
UI:
* Remove un-descriptive Tooltip from Cloth preset menu.

7 years agoFluid Simulation:
Thomas Dinges [Sun, 15 Apr 2012 21:02:08 +0000 (21:02 +0000)]
Fluid Simulation:
* Replaced the hard coded viscosity presets with Python ones.

* Added version check, so older files load fine.
Loading new files into 2.62 also works fine.

7 years agoFix [#30943] Crash when edge mode enabled and use the bmesh vertex slide(shift-V)
Francisco De La Cruz [Sun, 15 Apr 2012 18:34:13 +0000 (18:34 +0000)]
Fix [#30943] Crash when edge mode enabled and use the bmesh vertex slide(shift-V)

Also fixed snapping sensitivity. Gave BMOp a more consistent name "vertex_slide".

7 years agoFix #30955: cycles render issue with lights that have shadow casting disabled.
Brecht Van Lommel [Sun, 15 Apr 2012 15:35:09 +0000 (15:35 +0000)]
Fix #30955: cycles render issue with lights that have shadow casting disabled.

7 years agoadd 'idprop' module so we can document idprop.types.*, currently doc generator has...
Campbell Barton [Sun, 15 Apr 2012 14:54:15 +0000 (14:54 +0000)]
add 'idprop' module so we can document idprop.types.*, currently doc generator has no access to ID Property types.

7 years agoFix bug [#30953] Changing brush preset irreversibly undoes things
Nicholas Bishop [Sun, 15 Apr 2012 14:54:01 +0000 (14:54 +0000)]
Fix bug [#30953] Changing brush preset irreversibly undoes things

Remove REGISTER/UNDO flags from brush preset operator.

7 years agocode cleanup: minor edits, use function for getting console module.
Campbell Barton [Sun, 15 Apr 2012 14:51:37 +0000 (14:51 +0000)]
code cleanup: minor edits, use function for getting console module.

7 years agofix [#30956] Unwrapping, Lightmap Pack broken
Campbell Barton [Sun, 15 Apr 2012 14:14:15 +0000 (14:14 +0000)]
fix [#30956] Unwrapping, Lightmap Pack broken

7 years agoStyle cleanup (mostly line length, also no final point in tips...).
Bastien Montagne [Sun, 15 Apr 2012 13:41:07 +0000 (13:41 +0000)]
Style cleanup (mostly line length, also no final point in tips...).

7 years agoBGE bug #30555: crash in Replace Mesh when physics shape is triangle mesh and new...
Benoit Bolsee [Sun, 15 Apr 2012 12:49:34 +0000 (12:49 +0000)]
BGE bug #30555: crash in Replace Mesh when physics shape is triangle mesh and new mesh has no collision faces. The fix consists in keeping the previous physics shape, which is not quite correct, but the situation is unusual anyway.

7 years agoBGE bug #30515: Sensor physics mode missing UI for use_actor option. This option...
Benoit Bolsee [Sun, 15 Apr 2012 11:47:08 +0000 (11:47 +0000)]
BGE bug #30515: Sensor physics mode missing UI for use_actor option. This option tells whether the sensor object is only affected by objects that have the Actor option on or any object. The option was missing from the UI.

7 years agoBugfix [#30954] Fluid obstacle checkbox has no effect
Daniel Genrich [Sun, 15 Apr 2012 10:31:38 +0000 (10:31 +0000)]
Bugfix [#30954] Fluid obstacle checkbox has no effect

Needs testing for sideeffects.

If there are negative sideeffects, revert commit and mark as "will not fix"/"not supported"/"needs UI fix".

7 years agoFix #30952: uv unwrapper not working as well as 2.62 on some topologies, let the
Brecht Van Lommel [Sun, 15 Apr 2012 10:31:07 +0000 (10:31 +0000)]
Fix #30952: uv unwrapper not working as well as 2.62 on some topologies, let the
unwrapper itself decide how to split quads since it has specific checks for the
best unwrapping split built in, gives better results.

7 years agomake ngon_perimeter into a public api function and expose to python.
Campbell Barton [Sun, 15 Apr 2012 10:09:27 +0000 (10:09 +0000)]
make ngon_perimeter into a public api function and expose to python.

7 years agoFix #30960: various mesh operators were missing tooltip descriptions.
Brecht Van Lommel [Sun, 15 Apr 2012 10:07:57 +0000 (10:07 +0000)]
Fix #30960: various mesh operators were missing tooltip descriptions.

7 years agoTweak knife/unwrap tesselation code a bit, it uses a random offset, now also
Brecht Van Lommel [Sun, 15 Apr 2012 10:06:36 +0000 (10:06 +0000)]
Tweak knife/unwrap tesselation code a bit, it uses a random offset, now also
seed the random number generator to at least make these operator repeatable.

I don't know why it is using random numbers at all, we should really not be
doing this in my opinion, but I don't understand why it's being done so won't
remove it.

7 years agofix incorrect use of PLATFORM_DEFAULT with cmake
Campbell Barton [Sun, 15 Apr 2012 09:51:30 +0000 (09:51 +0000)]
fix incorrect use of PLATFORM_DEFAULT with cmake

7 years agoFix [#30959] "undocumented operator" tooltip for Collada im- and export
Thomas Dinges [Sun, 15 Apr 2012 09:39:51 +0000 (09:39 +0000)]
Fix [#30959] "undocumented operator" tooltip for Collada im- and export

* Also change UI name for ColorRamp node in rna_nodetree_types.h (Had a different name than in the actual UI)

7 years agoqtcreator/netbeans generators: fix for error getting project info when svn isnt found...
Campbell Barton [Sun, 15 Apr 2012 09:34:57 +0000 (09:34 +0000)]
qtcreator/netbeans generators: fix for error getting project info when svn isnt found (common on windows)

7 years agoFix #30949: live unwrap when marking seams did not work with bmesh.
Brecht Van Lommel [Sun, 15 Apr 2012 09:20:42 +0000 (09:20 +0000)]
Fix #30949: live unwrap when marking seams did not work with bmesh.

7 years agoFix #30948: add scene > copy settings did not copy settings like units, audio, game
Brecht Van Lommel [Sun, 15 Apr 2012 08:48:11 +0000 (08:48 +0000)]
Fix #30948: add scene > copy settings did not copy settings like units, audio, game
data, and tool settings.

What exactly should be copied is a bit up to interpretation, but I think these make
sense, and things like audio or game data used to be part of render settings which
do get copied so at least for those it was a regression.

7 years agocode cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some...
Campbell Barton [Sun, 15 Apr 2012 07:54:07 +0000 (07:54 +0000)]
code cleanup: dont include BLI_winstuff.h on non windows systems, also cleanup some defines/includes for windows.