Commit Graph

14 Commits

Author SHA1 Message Date
6975199131 Fix T82405: Check if active object's data is None
Check if the active object's data is `None` before attempting
to call functions on it. It is `None` if the object is an
empty.

Reviewed By: campbellbarton

Differential Revision: https://developer.blender.org/D9456
2020-11-06 11:52:09 +01:00
da2b17e46c Fix T80465: [Add Mesh: Extra Objects] Adding mesh in EditMode removes modifiers 2020-09-06 20:32:00 +03:00
2d8edd6ded Fix T76049: Errors after adding a Gear or Worm (extra objects) 2020-05-03 19:55:52 +03:00
6598f0a25c Cleanup: trailing space 2020-01-29 13:51:36 +11:00
18a8d4900e Addon Mesh Extra Objects: Fixed add object in Edit mode 2020-01-15 00:05:43 +02:00
1072d96b7d Addon Mesh Extra Objects: Added Object Helper. Fixed World orientation. 2020-01-14 00:12:10 +02:00
49c1b40928 addons: add missing text= keyword after label 2019-01-23 15:03:09 -05:00
aeabdc02a8 Update Add-ons class properties to annotations
This should take care of most of the class property conversions to
use the new annotation format (colon instead of equals) for
assignment. There may still be a few edge cases that were missed.
2019-01-17 16:48:54 -05:00
aa8f255c0e Add Mesh Extra Objects: Update, Fix crash with Wall Factory
Bumped version to 0.3.2
Wall Factory:
Fix crash with Wall Factory when openings and slots
are enabled (unorderable types: opening() < opening())
with the repeat option on as the sort function compared
stored classes instead of the numerical values
Fix the module not working properly after (F8) reload
Cleanup - consistent prop definitions
Remove star imports
Small UI reorganization to save vertical space
The code will probably need some further refactor
as the usage of globals is not so clear

add_mesh_triangles:
cleanup, remove unused vars add missing GPL notice,
some UI tweaks, add tooltip

add_mesh_pyramid: indentation cleanup
add_mesh_beam_builder: add an option to snap to cursor
add_mesh_teapot: use defs instead of assigning lambdas (E731)
2017-06-09 23:06:28 +02:00
f53017167b Cleanup: warnings in descriptions (end with '.') 2017-03-30 12:27:36 +11:00
c86080a455 Add mesh extra objects: Update to version 0.3.1
General Pep8 cleanup
Removed unused variables and imports
Removed a panel from add_empty_as_parent
Standardized the property definitions
across all the scripts
Moved scene props from third_domes_panel_271
to init for proper removal
Added a Enum prop for mesh type in teapot
Fixed a small issue with Geodesic domes self.reports
(problem with value fields message spam)
Fixed props names in Geodesic domes
Consistent tooltips
Reorganized menus:
Mechanical Menu including Pipe joints, Mesh gear
Added separators
2016-12-30 20:33:05 +01:00
c42581c3a4 Quiet RNA warning 2015-09-23 03:15:07 +10:00
1883ee23fb update parent to mesh, update & fix crasher in mesh_round_cube, update init. 2015-06-22 15:28:17 +10:00
40c00d312f add_extra_mesh_objects: new version
Tracker: https://developer.blender.org/T44561

New UI, New Addons, Better organization & removal of 'Lesser Object
Types'

Merged & removed "lesser" & 'larger" add mesh scripts.
Menu updates & re-organization & modernize.
New: Add Vert, Round Cube, Menger Cube, Brilliant Diamond, Parent to
Empty
Removed: Add Mesh: Sqorus, Trapezohedron, Wedge, Polysphere.
Merged add_mesh_symmetrical_empty from contrib
Documentation:
http://wiki.blender.org/index.php/Extensions:2.6/Py/Scripts/Add_Mesh/Add_Mesh_Extra_Objects
2015-05-01 10:52:03 +08:00